wallee
Version:
TypeScript/JavaScript client for wallee
76 lines (75 loc) • 2.76 kB
TypeScript
/**
*
* @export
* @interface DebtCollectionReceipt
*/
export interface DebtCollectionReceipt {
/**
* The ID of the space this object belongs to.
* @type {number}
* @memberof DebtCollectionReceipt
*/
readonly linkedSpaceId?: number;
/**
* The amount that was collected.
* @type {number}
* @memberof DebtCollectionReceipt
*/
readonly amount?: number;
/**
* The ID of the user the receipt was created by.
* @type {number}
* @memberof DebtCollectionReceipt
*/
readonly createdBy?: number;
/**
* The date and time when the object is planned to be permanently removed. If the value is empty, the object will not be removed.
* @type {Date}
* @memberof DebtCollectionReceipt
*/
readonly plannedPurgeDate?: Date;
/**
* A client-generated nonce which uniquely identifies the receipt.Subsequent requests with the same external ID do not lead to the creation of another receipt, but return the original one.
* @type {string}
* @memberof DebtCollectionReceipt
*/
readonly externalId?: string;
/**
* The debt collection case that this document belongs to.
* @type {number}
* @memberof DebtCollectionReceipt
*/
readonly debtCollectionCase?: number;
/**
* A unique identifier for the object.
* @type {number}
* @memberof DebtCollectionReceipt
*/
readonly id?: number;
/**
* The source stating where the receipt is coming from.
* @type {number}
* @memberof DebtCollectionReceipt
*/
readonly source?: number;
/**
* The date and time when the object was created.
* @type {Date}
* @memberof DebtCollectionReceipt
*/
readonly createdOn?: Date;
/**
* The version is used for optimistic locking and incremented whenever the object is updated.
* @type {number}
* @memberof DebtCollectionReceipt
*/
readonly version?: number;
}
/**
* Check if a given object implements the DebtCollectionReceipt interface.
*/
export declare function instanceOfDebtCollectionReceipt(value: object): value is DebtCollectionReceipt;
export declare function DebtCollectionReceiptFromJSON(json: any): DebtCollectionReceipt;
export declare function DebtCollectionReceiptFromJSONTyped(json: any, ignoreDiscriminator: boolean): DebtCollectionReceipt;
export declare function DebtCollectionReceiptToJSON(json: any): DebtCollectionReceipt;
export declare function DebtCollectionReceiptToJSONTyped(value?: Omit<DebtCollectionReceipt, 'linkedSpaceId' | 'amount' | 'createdBy' | 'plannedPurgeDate' | 'externalId' | 'debtCollectionCase' | 'id' | 'source' | 'createdOn' | 'version'> | null, ignoreDiscriminator?: boolean): any;