stripe-react-native-apple-pay
Version:
React Native wrapper around Stripe Apple Pay
65 lines (53 loc) • 2.56 kB
JavaScript
export let ContactField = /*#__PURE__*/function (ContactField) {
ContactField["EmailAddress"] = "emailAddress";
ContactField["Name"] = "name";
ContactField["PhoneNumber"] = "phoneNumber";
ContactField["PhoneticName"] = "phoneticName";
ContactField["PostalAddress"] = "postalAddress";
return ContactField;
}({});
export let PaymentRequestType = /*#__PURE__*/function (PaymentRequestType) {
PaymentRequestType["Recurring"] = "Recurring";
PaymentRequestType["AutomaticReload"] = "AutomaticReload";
PaymentRequestType["MultiMerchant"] = "MultiMerchant";
return PaymentRequestType;
}({});
/** Use this for a recurring payment, typically a subscription. */
/** Use this for an automatic reload or refill payment, such as a store card top-up. */
/** Use this to indicate payments for multiple merchants. */
export let ApplePayMerchantCapability = /*#__PURE__*/function (ApplePayMerchantCapability) {
ApplePayMerchantCapability["Supports3DS"] = "supports3DS";
ApplePayMerchantCapability["SupportsCredit"] = "supportsCredit";
ApplePayMerchantCapability["SupportsDebit"] = "supportsDebit";
return ApplePayMerchantCapability;
}({});
/** A type that indicates how to ship purchased items. */
export let ApplePayShippingType = /*#__PURE__*/function (ApplePayShippingType) {
ApplePayShippingType["Shipping"] = "shipping";
ApplePayShippingType["Delivery"] = "delivery";
ApplePayShippingType["StorePickup"] = "storePickup";
ApplePayShippingType["ServicePickup"] = "servicePickup";
return ApplePayShippingType;
}({});
/** iOS only. */
/** iOS only. */
export let PaymentType = /*#__PURE__*/function (PaymentType) {
PaymentType["Deferred"] = "Deferred";
PaymentType["Immediate"] = "Immediate";
PaymentType["Recurring"] = "Recurring";
return PaymentType;
}({});
/** iOS only. Use this type for a payment that occurs in the future, such as a pre-order. Only available on iOS 15 and up, otherwise falls back to ImmediateCartSummaryItem. */
/** iOS only. Use this type for payments that will occur immediately. */
/** iOS only. Use this type for payments that occur more than once, such as a subscription. Only available on iOS 15 and up, otherwise falls back to ImmediateCartSummaryItem.*/
/** iOS only. */
export let IntervalUnit = /*#__PURE__*/function (IntervalUnit) {
IntervalUnit["Minute"] = "minute";
IntervalUnit["Hour"] = "hour";
IntervalUnit["Day"] = "day";
IntervalUnit["Month"] = "month";
IntervalUnit["Year"] = "year";
return IntervalUnit;
}({});
/** iOS only. */
//# sourceMappingURL=PlatformPay.js.map