wallee
Version:
TypeScript/JavaScript client for wallee
71 lines (70 loc) • 2.06 kB
TypeScript
declare class SubscriptionProductComponentUpdate {
/**
* 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;
/**
* If switching from a component with a lower tier to a component with a higher one, this is considered an upgrade and a fee may be applied.
*/
'componentChangeWeight'?: number;
/**
* The group that the component belongs to.
*/
'componentGroup'?: number;
/**
* Whether this is the default component in its group and preselected.
*/
'defaultComponent'?: boolean;
/**
* The localized description of the component that is displayed to the customer.
*/
'description'?: {
[]: string;
};
/**
* A maximum of the defined quantity can be selected for this component.
*/
'maximalQuantity'?: number;
/**
* A minimum of the defined quantity must be selected for this component.
*/
'minimalQuantity'?: number;
/**
* The localized name of the component that is displayed to the customer.
*/
'name'?: {
[]: string;
};
/**
* The quantity step determines the interval in which the quantity can be increased.
*/
'quantityStep'?: number;
/**
* The reference is used to link components across different product versions.
*/
'reference'?: number;
/**
* When listing components, they can be sorted by this number.
*/
'sortOrder'?: number;
/**
* The tax class to be applied to fees.
*/
'taxClass'?: number;
static discriminator: string | undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
}
export { SubscriptionProductComponentUpdate };