TYPESCRIPT
Copy
Ask AI
async getPaymentMethodResources(): Promise<Resource[]>
Returns
Hide Returns
Hide Returns
Resource[]
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",
}}
/>