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