wallee
Version:
TypeScript/JavaScript client for wallee
84 lines (83 loc) • 2.95 kB
TypeScript
import type { SubscriptionPeriodBillState } from './SubscriptionPeriodBillState';
import type { SubscriptionVersion } from './SubscriptionVersion';
/**
*
* @export
* @interface SubscriptionPeriodBill
*/
export interface SubscriptionPeriodBill {
/**
* The ID of the space this object belongs to.
* @type {number}
* @memberof SubscriptionPeriodBill
*/
readonly linkedSpaceId?: number;
/**
* The date and time when the period started.
* @type {Date}
* @memberof SubscriptionPeriodBill
*/
readonly periodStartDate?: Date;
/**
* 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 SubscriptionPeriodBill
*/
readonly plannedPurgeDate?: Date;
/**
*
* @type {SubscriptionVersion}
* @memberof SubscriptionPeriodBill
*/
subscriptionVersion?: SubscriptionVersion;
/**
* The date and time when the period actually ended.
* @type {Date}
* @memberof SubscriptionPeriodBill
*/
readonly effectivePeriodEndDate?: Date;
/**
* The language that is linked to the object.
* @type {string}
* @memberof SubscriptionPeriodBill
*/
readonly language?: string;
/**
* A unique identifier for the object.
* @type {number}
* @memberof SubscriptionPeriodBill
*/
readonly id?: number;
/**
*
* @type {SubscriptionPeriodBillState}
* @memberof SubscriptionPeriodBill
*/
state?: SubscriptionPeriodBillState;
/**
* The date and time when the period bill was created.
* @type {Date}
* @memberof SubscriptionPeriodBill
*/
readonly createdOn?: Date;
/**
* The date and time when the period is planned to end.
* @type {Date}
* @memberof SubscriptionPeriodBill
*/
readonly plannedPeriodEndDate?: Date;
/**
* The version is used for optimistic locking and incremented whenever the object is updated.
* @type {number}
* @memberof SubscriptionPeriodBill
*/
readonly version?: number;
}
/**
* Check if a given object implements the SubscriptionPeriodBill interface.
*/
export declare function instanceOfSubscriptionPeriodBill(value: object): value is SubscriptionPeriodBill;
export declare function SubscriptionPeriodBillFromJSON(json: any): SubscriptionPeriodBill;
export declare function SubscriptionPeriodBillFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionPeriodBill;
export declare function SubscriptionPeriodBillToJSON(json: any): SubscriptionPeriodBill;
export declare function SubscriptionPeriodBillToJSONTyped(value?: Omit<SubscriptionPeriodBill, 'linkedSpaceId' | 'periodStartDate' | 'plannedPurgeDate' | 'effectivePeriodEndDate' | 'language' | 'id' | 'createdOn' | 'plannedPeriodEndDate' | 'version'> | null, ignoreDiscriminator?: boolean): any;