UNPKG

@exodus/react-native-payments

Version:

[![react-native version](https://img.shields.io/badge/react--native-0.41-0ba7d3.svg?style=flat-square)](http://facebook.github.io/react-native/releases/0.40) [![npm](https://img.shields.io/npm/v/react-native-payments.svg?style=flat-square)](https://www.np

32 lines (31 loc) 1.1 kB
import type { PaymentComplete, PaymentAddress, PaymentDetailsIOS } from './types'; export default class PaymentResponse { _requestId: string; _methodName: string; _details: PaymentDetailsIOS; _shippingAddress: PaymentAddress | null; _shippingOption: string | null; _payerName: string | null; _payerPhone: string | null; _payerEmail: string | null; _completeCalled: boolean; constructor(paymentResponse: { requestId: string; methodName: string; details: PaymentDetailsIOS; shippingAddress: PaymentAddress | null; shippingOption: string | null; payerName: string | null; payerPhone: string | null; payerEmail: string | null; }); get requestId(): string; get methodName(): string; get details(): PaymentDetailsIOS; get shippingAddress(): null | PaymentAddress; get shippingOption(): null | string; get payerName(): null | string; get payerPhone(): null | string; get payerEmail(): null | string; complete(paymentStatus: PaymentComplete): Promise<unknown>; }