@rnw-community/react-native-payments
Version:
Accept Payments with Apple Pay and Android Pay using the Payment Request API.
11 lines (9 loc) • 309 B
text/typescript
import type { PaymentCurrencyAmount } from './payment-currency-amount.js';
// https://www.w3.org/TR/payment-request/#paymentshippingoption-dictionary
export interface PaymentShippingOption {
amount: PaymentCurrencyAmount;
detail?: string;
id: string;
label: string;
selected?: boolean;
}