wallee
Version:
TypeScript/JavaScript client for wallee
67 lines (66 loc) • 2.1 kB
TypeScript
import { SubscriptionProductVersionState } from "./SubscriptionProductVersionState";
import { TaxCalculation } from "./TaxCalculation";
declare class SubscriptionProductVersionPending {
/**
* The ID is the primary key of the entity. The ID identifies the entity uniquely.
*/
'id': number;
/**
* The version number indicates the version of the entity. The version is incremented whenever the entity is changed.
*/
'version': number;
/**
* The recurring period of time, typically monthly or annually, for which a subscriber is charged.
*/
'billingCycle'?: string;
/**
* A comment that describes the product version and why it was created. It is not disclosed to the subscriber.
*/
'comment'?: string;
/**
* The three-letter code (ISO 4217 format) of the product version's default currency.
*/
'defaultCurrency'?: string;
/**
* The three-letter codes (ISO 4217 format) of the currencies that the product version supports.
*/
'enabledCurrencies'?: Array<string>;
/**
* The minimum number of periods the subscription will run before it can be terminated.
*/
'minimalNumberOfPeriods'?: number;
/**
* The localized name of the product that is displayed to the customer.
*/
'name'?: {
[]: string;
};
/**
* The number of periods the subscription will keep running after its termination was requested.
*/
'numberOfNoticePeriods'?: number;
/**
* The product that the version belongs to.
*/
'product'?: number;
/**
* The object's current state.
*/
'state'?: SubscriptionProductVersionState;
/**
* The way taxes are calculated for fees.
*/
'taxCalculation'?: TaxCalculation;
static discriminator: string | undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
}
export { SubscriptionProductVersionPending };