paymentMethodType.
TYPESCRIPT
async getPaymentMethodResource(paymentMethodType: string): Promise<Resource>
Parameters
Hide Parameters
Hide Parameters
String
required
The payment method type to return a resource for
Returns
Hide Returns
Hide Returns
Show Resource
Show Resource
Show child attributes
Show child attributes
string
required
A unique string identifier for the payment method. Supported payment methods for current client session are returned in
onAvailablePaymentMethodLoad callback.string
required
A user friendly English localized string identifier for the payment method
Show child attributes
Show child attributes
string
required
A unique string identifier for the payment method. Supported payment methods for current client session are returned in
onAvailablePaymentMethodLoad callback.string
required
A user friendly English localized string identifier for the payment method.
string
required
The name of the native view. Pass this to NativeResourceView when rendering.
TYPESCRIPT
<NativeResourceView
onPress={() => {
// Handle tap
}}
nativeViewName={nativeViewResource.nativeViewName}
style={{
marginHorizontal: 20,
marginVertical: 8,
justifyContent: "center",
alignItems: "center",
}}
/>