import { getAvailableInstallmentBanks } from '@broadleaf/amazon-payment-services-api';
const banks = getAvailableInstallmentBanks(installments, 'en');
Gets the available banks (issuers) from the available installments.
Parameter | Type | Required? | Description |
---|---|---|---|
|
✅ |
The installments available for the current cart and language |
|
|
|
✅ |
The default language sales are made in, e.g., 'ar' or 'en'. |
Gets the PlanDetails from the available installments.
Parameter | Type | Required? | Description |
---|---|---|---|
|
✅ |
The installments available for the current cart and language |
Array of PlanDetails.
Determines the card type from the BIN.
The matching CardType.