UNPKG

@adyen/api-library

Version:

The Adyen API Library for NodeJS enables you to work with Adyen APIs.

48 lines (47 loc) 1.32 kB
import { Amount } from "./amount"; import { GrantOfferFee } from "./grantOfferFee"; import { Repayment } from "./repayment"; export declare class CalculatedGrantOffer { /** * The unique identifier of the account holder that the dynamic offer is for. */ "accountHolderId": string; "amount": Amount; /** * The contract type of the offer. Possible values: * **loan** * **cashAdvance** */ "contractType": CalculatedGrantOffer.ContractTypeEnum; /** * The expiration date and time of the offer validity period. */ "expiresAt": Date; "fee": GrantOfferFee; "repayment": Repayment; /** * The starting date and time of the offer validity period. */ "startsAt": Date; 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 CalculatedGrantOffer { enum ContractTypeEnum { CashAdvance = "cashAdvance", Loan = "loan" } }