UNPKG

wallee

Version:
59 lines (58 loc) 2.25 kB
import type { CreationEntityState } from './CreationEntityState'; /** * A dunning condition determines which dunning flow is applied on a dunning case. * @export * @interface DunningCondition */ export interface DunningCondition { /** * The ID of the space this object belongs to. * @type {number} * @memberof DunningCondition */ readonly linkedSpaceId?: number; /** * The condition name is used internally to identify the condition. For example the name is used within search fields and hence it should be distinct and descriptive. * @type {string} * @memberof DunningCondition */ 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 DunningCondition */ readonly plannedPurgeDate?: Date; /** * A unique identifier for the object. * @type {number} * @memberof DunningCondition */ readonly id?: number; /** * * @type {CreationEntityState} * @memberof DunningCondition */ state?: CreationEntityState; /** * The selected dunning condition type defines what settings are available to be configured on the condition in the next step. * @type {number} * @memberof DunningCondition */ readonly type?: number; /** * The version is used for optimistic locking and incremented whenever the object is updated. * @type {number} * @memberof DunningCondition */ readonly version?: number; } /** * Check if a given object implements the DunningCondition interface. */ export declare function instanceOfDunningCondition(value: object): value is DunningCondition; export declare function DunningConditionFromJSON(json: any): DunningCondition; export declare function DunningConditionFromJSONTyped(json: any, ignoreDiscriminator: boolean): DunningCondition; export declare function DunningConditionToJSON(json: any): DunningCondition; export declare function DunningConditionToJSONTyped(value?: Omit<DunningCondition, 'linkedSpaceId' | 'name' | 'plannedPurgeDate' | 'id' | 'type' | 'version'> | null, ignoreDiscriminator?: boolean): any;