UNPKG

@rnw-community/react-native-payments

Version:

Accept Payments with Apple Pay and Android Pay using the Payment Request API.

12 lines (10 loc) 436 B
import type { PaymentDetailsBase } from './payment-details-base.js'; import type { PaymentItem } from './payment-item.js'; import type { PaymentDetailsUpdateError } from '../../type/payment-details-update-error.type.js'; /* * https://www.w3.org/TR/payment-request/#paymentdetailsupdate-dictionary */ export interface PaymentDetailsUpdate extends PaymentDetailsBase { error?: PaymentDetailsUpdateError; total?: PaymentItem; }