UNPKG

@adyen/api-library

Version:

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

56 lines (55 loc) 1.62 kB
import { Amount } from "./amount"; import { CapitalBalance } from "./capitalBalance"; import { Counterparty } from "./counterparty"; import { Fee } from "./fee"; import { Repayment } from "./repayment"; export declare class CapitalGrant { "amount"?: Amount | null; "balances": CapitalBalance; "counterparty"?: Counterparty | null; "fee"?: Fee | null; /** * The identifier of the grant account used for the grant. */ "grantAccountId": string; /** * The identifier of the grant offer that has been selected and from which the grant details will be used. */ "grantOfferId": string; /** * The identifier of the grant reference. */ "id": string; "repayment"?: Repayment | null; /** * The current status of the grant. Possible values: **Pending**, **Active**, **Repaid**, **WrittenOff**, **Failed**, **Revoked**. */ "status": CapitalGrant.StatusEnum; 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 CapitalGrant { enum StatusEnum { Pending = "Pending", Active = "Active", Repaid = "Repaid", Failed = "Failed", WrittenOff = "WrittenOff", Revoked = "Revoked" } }