wallee
Version:
TypeScript/JavaScript client for wallee
65 lines (64 loc) • 2.48 kB
TypeScript
import type { PaymentTerminalLocationState } from './PaymentTerminalLocationState';
/**
*
* @export
* @interface PaymentTerminalLocation
*/
export interface PaymentTerminalLocation {
/**
* The ID of the space this object belongs to.
* @type {number}
* @memberof PaymentTerminalLocation
*/
readonly linkedSpaceId?: number;
/**
*
* @type {string}
* @memberof PaymentTerminalLocation
*/
readonly productionMerchantId?: string;
/**
* The name used to identify the payment terminal location.
* @type {string}
* @memberof PaymentTerminalLocation
*/
readonly name?: 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 PaymentTerminalLocation
*/
readonly plannedPurgeDate?: Date;
/**
* A client-generated nonce which uniquely identifies some action to be executed. Subsequent requests with the same external ID do not execute the action again, but return the original result.
* @type {string}
* @memberof PaymentTerminalLocation
*/
readonly externalId?: string;
/**
* A unique identifier for the object.
* @type {number}
* @memberof PaymentTerminalLocation
*/
readonly id?: number;
/**
*
* @type {PaymentTerminalLocationState}
* @memberof PaymentTerminalLocation
*/
state?: PaymentTerminalLocationState;
/**
* The version is used for optimistic locking and incremented whenever the object is updated.
* @type {number}
* @memberof PaymentTerminalLocation
*/
readonly version?: number;
}
/**
* Check if a given object implements the PaymentTerminalLocation interface.
*/
export declare function instanceOfPaymentTerminalLocation(value: object): value is PaymentTerminalLocation;
export declare function PaymentTerminalLocationFromJSON(json: any): PaymentTerminalLocation;
export declare function PaymentTerminalLocationFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentTerminalLocation;
export declare function PaymentTerminalLocationToJSON(json: any): PaymentTerminalLocation;
export declare function PaymentTerminalLocationToJSONTyped(value?: Omit<PaymentTerminalLocation, 'linkedSpaceId' | 'productionMerchantId' | 'name' | 'plannedPurgeDate' | 'externalId' | 'id' | 'version'> | null, ignoreDiscriminator?: boolean): any;