@apideck/node
Version:
Apideck Node.js SDK
65 lines (64 loc) • 1.88 kB
TypeScript
/**
* Apideck
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.13.0
* Contact: support@apideck.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface BillPaymentAllocations
*/
export interface BillPaymentAllocations {
/**
* A unique identifier for an object.
* @type {string}
* @memberof BillPaymentAllocations
*/
id?: string | null;
/**
* Type of entity this payment should be attributed to.
* @type {string}
* @memberof BillPaymentAllocations
*/
type?: BillPaymentAllocationsType;
/**
*
* @type {string}
* @memberof BillPaymentAllocations
*/
readonly code?: string;
/**
* Amount of payment that should be attributed to this allocation. If null, the total_amount will be used.
* @type {number}
* @memberof BillPaymentAllocations
*/
amount?: number | null;
/**
* Unique identifier of the allocation
* @type {string}
* @memberof BillPaymentAllocations
*/
allocation_id?: string;
}
/**
* @export
* @enum {string}
*/
export declare enum BillPaymentAllocationsType {
bill = "bill",
expense = "expense",
credit_memo = "credit_memo",
over_payment = "over_payment",
pre_payment = "pre_payment",
journal_entry = "journal_entry",
other = "other"
}
export declare function BillPaymentAllocationsFromJSON(json: any): BillPaymentAllocations;
export declare function BillPaymentAllocationsFromJSONTyped(json: any, ignoreDiscriminator: boolean): BillPaymentAllocations;
export declare function BillPaymentAllocationsToJSON(value?: BillPaymentAllocations | null): any;