Call this method to retrieve resources for all the payment methods available on the current client session.
1
async getPaymentMethodResources(): Promise<Resource[]>
typescript
copy
Returns
Resource
paymentMethodType
stringRequiredA unique string identifier for the payment method. Supported payment methods for current client session are returned in onAvailablePaymentMethodLoad
callback.
paymentMethodName
stringRequiredpaymentMethodLogo
objectpaymentMethodType
stringRequiredA unique string identifier for the payment method. Supported payment methods for current client session are returned in onAvailablePaymentMethodLoad
callback.
paymentMethodName
stringRequirednativeViewName
stringRequired123456789101112
<NativeResourceView onPress={() => { // Handle tap }} nativeViewName={nativeViewResource.nativeViewName} style={{ marginHorizontal: 20, marginVertical: 8, justifyContent: 'center', alignItems: 'center' }}/>
typescript
copy