Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | 18x 171x 18x 2x | import { BillingAddress } from '@bigcommerce/checkout-sdk';
export function getBillingAddress(): BillingAddress {
return {
id: '55c96cda6f04c',
firstName: 'Test',
lastName: 'Tester',
email: '[email protected]',
company: 'Bigcommerce',
address1: '12345 Testing Way',
address2: '',
city: 'Some City',
stateOrProvince: 'California',
stateOrProvinceCode: 'CA',
country: 'United States',
countryCode: 'US',
postalCode: '95555',
phone: '555-555-5555',
customFields: [],
};
}
export function getEmptyBillingAddress(): BillingAddress {
return {
id: '55c96cda6f04c',
firstName: '',
lastName: '',
email: '[email protected]',
company: '',
address1: '',
address2: '',
city: '',
stateOrProvince: '',
stateOrProvinceCode: '',
country: '',
countryCode: '',
postalCode: '',
phone: '',
customFields: [],
};
}
|