wallee
Version:
TypeScript/JavaScript client for wallee
85 lines (84 loc) • 3.27 kB
TypeScript
import type { PaymentTerminalAddress } from './PaymentTerminalAddress';
import type { PaymentTerminalLocationVersionState } from './PaymentTerminalLocationVersionState';
import type { PaymentTerminalLocation } from './PaymentTerminalLocation';
/**
*
* @export
* @interface PaymentTerminalLocationVersion
*/
export interface PaymentTerminalLocationVersion {
/**
* The ID of the space this object belongs to.
* @type {number}
* @memberof PaymentTerminalLocationVersion
*/
readonly linkedSpaceId?: number;
/**
*
* @type {PaymentTerminalAddress}
* @memberof PaymentTerminalLocationVersion
*/
address?: PaymentTerminalAddress;
/**
* The ID of the user the payment terminal location version was created by.
* @type {number}
* @memberof PaymentTerminalLocationVersion
*/
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 PaymentTerminalLocationVersion
*/
readonly plannedPurgeDate?: Date;
/**
*
* @type {PaymentTerminalAddress}
* @memberof PaymentTerminalLocationVersion
*/
contactAddress?: PaymentTerminalAddress;
/**
*
* @type {PaymentTerminalLocation}
* @memberof PaymentTerminalLocationVersion
*/
location?: PaymentTerminalLocation;
/**
* Whether payment terminals are immediately updated to this configuration version. If not, it will be applied during the maintenance window.
* @type {boolean}
* @memberof PaymentTerminalLocationVersion
*/
readonly versionAppliedImmediately?: boolean;
/**
* A unique identifier for the object.
* @type {number}
* @memberof PaymentTerminalLocationVersion
*/
readonly id?: number;
/**
*
* @type {PaymentTerminalLocationVersionState}
* @memberof PaymentTerminalLocationVersion
*/
state?: PaymentTerminalLocationVersionState;
/**
* The date and time when the object was created.
* @type {Date}
* @memberof PaymentTerminalLocationVersion
*/
readonly createdOn?: Date;
/**
* The version is used for optimistic locking and incremented whenever the object is updated.
* @type {number}
* @memberof PaymentTerminalLocationVersion
*/
readonly version?: number;
}
/**
* Check if a given object implements the PaymentTerminalLocationVersion interface.
*/
export declare function instanceOfPaymentTerminalLocationVersion(value: object): value is PaymentTerminalLocationVersion;
export declare function PaymentTerminalLocationVersionFromJSON(json: any): PaymentTerminalLocationVersion;
export declare function PaymentTerminalLocationVersionFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentTerminalLocationVersion;
export declare function PaymentTerminalLocationVersionToJSON(json: any): PaymentTerminalLocationVersion;
export declare function PaymentTerminalLocationVersionToJSONTyped(value?: Omit<PaymentTerminalLocationVersion, 'linkedSpaceId' | 'createdBy' | 'plannedPurgeDate' | 'versionAppliedImmediately' | 'id' | 'createdOn' | 'version'> | null, ignoreDiscriminator?: boolean): any;