wallee
Version:
TypeScript/JavaScript client for wallee
78 lines (77 loc) • 2.95 kB
TypeScript
import type { ChargeFlow } from './ChargeFlow';
import type { CreationEntityState } from './CreationEntityState';
/**
*
* @export
* @interface ChargeFlowLevelConfiguration
*/
export interface ChargeFlowLevelConfiguration {
/**
* The ID of the space this object belongs to.
* @type {number}
* @memberof ChargeFlowLevelConfiguration
*/
readonly linkedSpaceId?: number;
/**
* The duration specifies how long the level remains active before transitioning to the next one.
* @type {string}
* @memberof ChargeFlowLevelConfiguration
*/
readonly period?: string;
/**
* The name used to identify the charge flow level configuration.
* @type {string}
* @memberof ChargeFlowLevelConfiguration
*/
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 ChargeFlowLevelConfiguration
*/
readonly plannedPurgeDate?: Date;
/**
* A unique identifier for the object.
* @type {number}
* @memberof ChargeFlowLevelConfiguration
*/
readonly id?: number;
/**
*
* @type {CreationEntityState}
* @memberof ChargeFlowLevelConfiguration
*/
state?: CreationEntityState;
/**
* The priority that determines the order in which level configurations are taken into account when processing a charge flow. Low values are considered first.
* @type {number}
* @memberof ChargeFlowLevelConfiguration
*/
readonly priority?: number;
/**
* The type defines the method of delivering the payment link to the customer.
* @type {number}
* @memberof ChargeFlowLevelConfiguration
*/
readonly type?: number;
/**
* The version is used for optimistic locking and incremented whenever the object is updated.
* @type {number}
* @memberof ChargeFlowLevelConfiguration
*/
readonly version?: number;
/**
*
* @type {ChargeFlow}
* @memberof ChargeFlowLevelConfiguration
*/
flow?: ChargeFlow;
}
/**
* Check if a given object implements the ChargeFlowLevelConfiguration interface.
*/
export declare function instanceOfChargeFlowLevelConfiguration(value: object): value is ChargeFlowLevelConfiguration;
export declare function ChargeFlowLevelConfigurationFromJSON(json: any): ChargeFlowLevelConfiguration;
export declare function ChargeFlowLevelConfigurationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChargeFlowLevelConfiguration;
export declare function ChargeFlowLevelConfigurationToJSON(json: any): ChargeFlowLevelConfiguration;
export declare function ChargeFlowLevelConfigurationToJSONTyped(value?: Omit<ChargeFlowLevelConfiguration, 'linkedSpaceId' | 'period' | 'name' | 'plannedPurgeDate' | 'id' | 'priority' | 'type' | 'version'> | null, ignoreDiscriminator?: boolean): any;