UNPKG

wallee

Version:
64 lines (63 loc) 1.89 kB
import { SubscriptionProductState } from "./SubscriptionProductState"; declare class SubscriptionProduct { /** * The payment methods that can be used to subscribe to this product. If none are selected, no restriction is applied. */ 'allowedPaymentMethodConfigurations'?: Array<number>; /** * The period after which a subscription that has been suspended due to a failed payment is terminated. */ 'failedPaymentSuspensionPeriod'?: string; /** * A unique identifier for the object. */ 'id'?: number; /** * The ID of the space this object belongs to. */ 'linkedSpaceId'?: number; /** * The name used to identify the product. */ 'name'?: string; /** * 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; /** * Whether subscriptions can be switched to or from this product, or whether they are locked in. */ 'productLocked'?: boolean; /** * The merchant's reference used to identify the product, e.g. the SKU. */ 'reference'?: string; /** * When listing products, they can be sorted by this number. */ 'sortOrder'?: number; /** * The ID of the space this object belongs to. */ 'spaceId'?: number; /** * The object's current state. */ 'state'?: SubscriptionProductState; /** * 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 { SubscriptionProduct };