blob: 13cbc97b0b97318f0deb1b2fd378d91def505c64 [file] [log] [blame]
(() => {
applePayRequestBase = () => {
return {
merchantCapabilities: ['supports3DS'],
supportedNetworks: ['visa'],
countryCode: 'US',
};
};
applePayPaymentRequest = () => {
const request = applePayRequestBase();
request.total = { label: 'total', amount: '0.00' };
request.currencyCode = 'USD';
return request;
};
applePayMethod = () => {
const request = applePayRequestBase();
request.version = 1;
request.merchantIdentifier = '';
return {
supportedMethods: 'https://apple.com/apple-pay',
data: request,
};
};
applePayDetails = {
total: {
label: 'total',
amount: { currency: 'USD', value: '0.00' },
},
};
})();