wallee
Version:
TypeScript/JavaScript client for wallee
65 lines (64 loc) • 2.24 kB
TypeScript
import type { TransactionGroupState } from './TransactionGroupState';
/**
*
* @export
* @interface TransactionGroup
*/
export interface TransactionGroup {
/**
* The date and time when the initial transaction in the group was created.
* @type {Date}
* @memberof TransactionGroup
*/
readonly beginDate?: Date;
/**
* The ID of the space this object belongs to.
* @type {number}
* @memberof TransactionGroup
*/
readonly linkedSpaceId?: number;
/**
* The date and time when the final transaction in the group was last updated.
* @type {Date}
* @memberof TransactionGroup
*/
readonly endDate?: Date;
/**
* The unique identifier of the customer in the external system.
* @type {string}
* @memberof TransactionGroup
*/
readonly customerId?: string;
/**
* 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 TransactionGroup
*/
readonly plannedPurgeDate?: Date;
/**
* A unique identifier for the object.
* @type {number}
* @memberof TransactionGroup
*/
readonly id?: number;
/**
*
* @type {TransactionGroupState}
* @memberof TransactionGroup
*/
state?: TransactionGroupState;
/**
* The version is used for optimistic locking and incremented whenever the object is updated.
* @type {number}
* @memberof TransactionGroup
*/
readonly version?: number;
}
/**
* Check if a given object implements the TransactionGroup interface.
*/
export declare function instanceOfTransactionGroup(value: object): value is TransactionGroup;
export declare function TransactionGroupFromJSON(json: any): TransactionGroup;
export declare function TransactionGroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionGroup;
export declare function TransactionGroupToJSON(json: any): TransactionGroup;
export declare function TransactionGroupToJSONTyped(value?: Omit<TransactionGroup, 'beginDate' | 'linkedSpaceId' | 'endDate' | 'customerId' | 'plannedPurgeDate' | 'id' | 'version'> | null, ignoreDiscriminator?: boolean): any;