UNPKG

stripe-react-native-apple-pay

Version:

React Native wrapper around Stripe Apple Pay

59 lines (58 loc) 2.93 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PaymentType = exports.PaymentRequestType = exports.IntervalUnit = exports.ContactField = exports.ApplePayShippingType = exports.ApplePayMerchantCapability = void 0; let ContactField = exports.ContactField = /*#__PURE__*/function (ContactField) { ContactField["EmailAddress"] = "emailAddress"; ContactField["Name"] = "name"; ContactField["PhoneNumber"] = "phoneNumber"; ContactField["PhoneticName"] = "phoneticName"; ContactField["PostalAddress"] = "postalAddress"; return ContactField; }({}); let PaymentRequestType = exports.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. */ let ApplePayMerchantCapability = exports.ApplePayMerchantCapability = /*#__PURE__*/function (ApplePayMerchantCapability) { ApplePayMerchantCapability["Supports3DS"] = "supports3DS"; ApplePayMerchantCapability["SupportsCredit"] = "supportsCredit"; ApplePayMerchantCapability["SupportsDebit"] = "supportsDebit"; return ApplePayMerchantCapability; }({}); /** A type that indicates how to ship purchased items. */ let ApplePayShippingType = exports.ApplePayShippingType = /*#__PURE__*/function (ApplePayShippingType) { ApplePayShippingType["Shipping"] = "shipping"; ApplePayShippingType["Delivery"] = "delivery"; ApplePayShippingType["StorePickup"] = "storePickup"; ApplePayShippingType["ServicePickup"] = "servicePickup"; return ApplePayShippingType; }({}); /** iOS only. */ /** iOS only. */ let PaymentType = exports.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. */ let IntervalUnit = exports.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