Call this method to retrieve resources for a given paymentMethodType
.
1
async getPaymentMethodResource(paymentMethodType: string): Promise<Resource>
typescript
copy
Parameters
paymentMethodType
StringRequiredReturns
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