@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
46 lines (45 loc) • 1.92 kB
TypeScript
export declare class Installments {
/**
* Defines the bonus percentage, refund percentage or if the transaction is Buy now Pay later. Used for [card installments in Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico)
*/
"extra"?: number;
/**
* The installment plan, used for [card installments in Japan](https://docs.adyen.com/payment-methods/cards/credit-card-installments#make-a-payment-japan). and [Mexico](https://docs.adyen.com/payment-methods/cards/credit-card-installments/#getting-paid-mexico). By default, this is set to **regular**.
*/
"plan"?: Installments.PlanEnum;
/**
* Defines the number of installments. Usually, the maximum allowed number of installments is capped. For example, it may not be possible to split a payment in more than 24 installments. The acquirer sets this upper limit, so its value may vary. This value can be zero for Installments processed in Mexico.
*/
"value": number;
static readonly discriminator: string | undefined;
static readonly mapping: {
[index: string]: string;
} | undefined;
static readonly attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
format: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
format: string;
}[];
constructor();
}
export declare namespace Installments {
enum PlanEnum {
Bonus = "bonus",
BuynowPaylater = "buynow_paylater",
InteresRefundPrctg = "interes_refund_prctg",
InterestBonus = "interest_bonus",
NointeresRefundPrctg = "nointeres_refund_prctg",
NointerestBonus = "nointerest_bonus",
RefundPrctg = "refund_prctg",
Regular = "regular",
Revolving = "revolving",
WithInterest = "with_interest"
}
}