UNPKG

wallee

Version:
62 lines (61 loc) 1.79 kB
import { PersistableCurrencyAmount } from "./PersistableCurrencyAmount"; import { ProductFeeType } from "./ProductFeeType"; import { SubscriptionProductComponent } from "./SubscriptionProductComponent"; declare class ProductSetupFee { /** * The product component that the fee belongs to. */ 'component'?: SubscriptionProductComponent; /** * The localized description of the fee that is displayed to the customer. */ 'description'?: { [key: string]: string; }; /** * A unique identifier for the object. */ 'id'?: number; /** * The ID of the space this object belongs to. */ 'linkedSpaceId'?: number; /** * The localized name of the fee that is displayed to the customer. */ 'name'?: { [key: string]: string; }; /** * The amount charged to the customer when a subscription is downgraded. */ 'onDowngradeCreditedAmount'?: Array<PersistableCurrencyAmount>; /** * The amount charged to the customer when a subscription is upgraded. */ 'onUpgradeCreditedAmount'?: Array<PersistableCurrencyAmount>; /** * The amount charged to the customer once when they subscribe to a subscription. */ 'setupFee'?: Array<PersistableCurrencyAmount>; /** * The type of the fee. */ 'type'?: ProductFeeType; /** * 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 { ProductSetupFee };