wallee
Version:
TypeScript/JavaScript client for wallee
97 lines (96 loc) • 2.73 kB
TypeScript
import type { DunningFlow } from './DunningFlow';
import type { DunningCaseState } from './DunningCaseState';
import type { TransactionInvoice } from './TransactionInvoice';
/**
*
* @export
* @interface DunningCase
*/
export interface DunningCase {
/**
*
* @type {Date}
* @memberof DunningCase
*/
readonly canceledOn?: Date;
/**
*
* @type {Date}
* @memberof DunningCase
*/
readonly derecognizedOn?: Date;
/**
* 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 DunningCase
*/
readonly plannedPurgeDate?: Date;
/**
* The date and time when the object was created.
* @type {Date}
* @memberof DunningCase
*/
readonly createdOn?: Date;
/**
* The version is used for optimistic locking and incremented whenever the object is updated.
* @type {number}
* @memberof DunningCase
*/
readonly version?: number;
/**
* The ID of the space this object belongs to.
* @type {number}
* @memberof DunningCase
*/
readonly linkedSpaceId?: number;
/**
*
* @type {TransactionInvoice}
* @memberof DunningCase
*/
initialInvoice?: TransactionInvoice;
/**
*
* @type {Date}
* @memberof DunningCase
*/
readonly succeededOn?: Date;
/**
* A unique identifier for the object.
* @type {number}
* @memberof DunningCase
*/
readonly id?: number;
/**
*
* @type {DunningCaseState}
* @memberof DunningCase
*/
state?: DunningCaseState;
/**
* The payment transaction this object is linked to.
* @type {number}
* @memberof DunningCase
*/
readonly linkedTransaction?: number;
/**
*
* @type {Date}
* @memberof DunningCase
*/
readonly failedOn?: Date;
/**
*
* @type {DunningFlow}
* @memberof DunningCase
*/
flow?: DunningFlow;
}
/**
* Check if a given object implements the DunningCase interface.
*/
export declare function instanceOfDunningCase(value: object): value is DunningCase;
export declare function DunningCaseFromJSON(json: any): DunningCase;
export declare function DunningCaseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DunningCase;
export declare function DunningCaseToJSON(json: any): DunningCase;
export declare function DunningCaseToJSONTyped(value?: Omit<DunningCase, 'canceledOn' | 'derecognizedOn' | 'plannedPurgeDate' | 'createdOn' | 'version' | 'linkedSpaceId' | 'succeededOn' | 'id' | 'linkedTransaction' | 'failedOn'> | null, ignoreDiscriminator?: boolean): any;