@plentymarkets/shop-api / paymentProviderGetters
Variable: paymentProviderGetters ​
const
paymentProviderGetters:object
Type declaration ​
getIcon() ​
getIcon: (
paymentMethod
) =>string
Parameters ​
• paymentMethod: PaymentMethod
Returns ​
string
getId() ​
getId: (
paymentMethod
) =>string
Parameters ​
• paymentMethod: PaymentMethod
Returns ​
string
getIdByPaymentKey() ​
getIdByPaymentKey: (
paymentMethods
,key
) =>number
Parameters ​
• paymentMethods: PaymentMethod
[]
• key: string
Returns ​
number
getMethodOfPaymentId() ​
getMethodOfPaymentId: (
cart
) =>string
Parameters ​
• cart: Cart
Returns ​
string
getName() ​
getName: (
paymentMethod
) =>string
Parameters ​
• paymentMethod: PaymentMethod
Returns ​
string
getPaymentKey() ​
getPaymentKey: (
paymentMethod
) =>string
Parameters ​
• paymentMethod: PaymentMethod
Returns ​
string
isPaymentMethodExcluded() ​
isPaymentMethodExcluded: (
shippingMethod
,paymentMethodId
) =>boolean
Parameters ​
• shippingMethod: ShippingMethod
• paymentMethodId: number
Returns ​
boolean
isPaymentMethodUnavailable() ​
isPaymentMethodUnavailable: (
paymentMethods
,paymentMethodId
) =>boolean
Parameters ​
• paymentMethods: PaymentMethod
[]
• paymentMethodId: number
Returns ​
boolean