@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
55 lines (54 loc) • 2.1 kB
TypeScript
/**
* Various amounts related to the payment request from the Sale System.
*/
export declare class AmountsReq {
/**
* Currency of a monetary amount.
*/
"Currency": string;
/**
* Amount requested by the Sale for the payment.
*/
"RequestedAmount": number;
/**
* The cash-back part of the amount requested by the Sale for the payment.
*/
"CashBackAmount"?: number;
/**
* Amount paid for a tip. Allow the printing of the tip on the receipt, and to qualify the tip part of the amount.
*/
"TipAmount"?: number;
/**
* Amount already paid in case of split payment. Depending on the context, a split payment is either a split amount, or a split basket (required by some payment means as fleet cards). The PaidAmount is present when the split payment is a split of the amount. Split of the basket involves two Sale Transactions, and does not have to be recognised by the POI.
*/
"PaidAmount"?: number;
/**
* Minimum amount the Sale System is allowed to deliver for this payment. For the OneTimeReservation, when the maximum amount is unknown, the Sale System indicates the minimum amount it allows.
*/
"MinimumAmountToDeliver"?: number;
/**
* Maximum amount which could be requested for cash-back to the Sale System. Allows the Cashier to limit the amount value of cash-back to deliver to the Customer.
*/
"MaximumCashBackAmount"?: number;
/**
* Minimum amount of a split, which could be requested by a Customer.Allows the Merchant to limit the number of split requested by the Customer.
*/
"MinimumSplitAmount"?: 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();
}