wallee
Version:
TypeScript/JavaScript client for wallee
96 lines (95 loc) • 2.92 kB
TypeScript
import { BillingCycleModel } from "./BillingCycleModel";
import { Subscription } from "./Subscription";
import { SubscriptionComponentConfiguration } from "./SubscriptionComponentConfiguration";
import { SubscriptionProductVersion } from "./SubscriptionProductVersion";
import { SubscriptionVersionState } from "./SubscriptionVersionState";
declare class SubscriptionVersion {
/**
* The date and time when the subscription version was activated.
*/
'activatedOn'?: Date;
/**
* The three-letter code (ISO 4217 format) of the currency used to invoice the customer. Must be one of the currencies supported by the product.
*/
'billingCurrency'?: string;
/**
*
*/
'billingCycleModel'?: BillingCycleModel;
/**
* The configurations of the subscription's components.
*/
'componentConfigurations'?: Array<SubscriptionComponentConfiguration>;
/**
* The date and time when the subscription version was created.
*/
'createdOn'?: Date;
/**
* The date and time when the last period is expected to end.
*/
'expectedLastPeriodEnd'?: Date;
/**
* The date and time when the subscription version failed.
*/
'failedOn'?: Date;
/**
* A unique identifier for the object.
*/
'id'?: number;
/**
* The language that is linked to the object.
*/
'language'?: string;
/**
* The ID of the space this object belongs to.
*/
'linkedSpaceId'?: 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.
*/
'plannedPurgeDate'?: Date;
/**
* The date and time when the termination of the subscription version is planned.
*/
'plannedTerminationDate'?: Date;
/**
* The product version that is subscribed to.
*/
'productVersion'?: SubscriptionProductVersion;
/**
* The object's current state.
*/
'state'?: SubscriptionVersionState;
/**
* The subscription that this version belongs to.
*/
'subscription'?: Subscription;
/**
* The date and time when the subscription version was terminated.
*/
'terminatedOn'?: Date;
/**
* The date and time when the termination of the subscription version started.
*/
'terminatingOn'?: Date;
/**
* The date and time when the termination of the subscription version was issued.
*/
'terminationIssuedOn'?: Date;
/**
* The version is used for optimistic locking and incremented whenever the object is updated.
*/
'version'?: number;
static discriminator: string | undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
}
export { SubscriptionVersion };