UNPKG

@getopenpay/client

Version:

OpenPay API TypeScript SDK

89 lines (88 loc) 2.74 kB
/** * OpenPay API * super charge your subscription management. * * The version of the OpenAPI document: 1.2.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { ProductBundleItemExternal } from './ProductBundleItemExternal'; import type { ObjectName } from './ObjectName'; /** * * @export * @interface ProductBundleExternal */ export interface ProductBundleExternal { /** * Unique identifier of the account. * @type {string} * @memberof ProductBundleExternal */ accountId: string; /** * The integer amount representing the subtotal amount for the bundle items. * @type {number} * @memberof ProductBundleExternal */ amountSubtotalAtom: number; /** * The integer amount representing the total amount for the bundle items, after discounts and taxes. * @type {number} * @memberof ProductBundleExternal */ amountTotalAtom: number; /** * The bundle items included in this bundle. * @type {Array<ProductBundleItemExternal>} * @memberof ProductBundleExternal */ bundleItems?: Array<ProductBundleItemExternal>; /** * DateTime at which the object was created, in 'ISO 8601' format. * @type {Date} * @memberof ProductBundleExternal */ createdAt: Date; /** * Unique Identifier of the bundle. * @type {string} * @memberof ProductBundleExternal */ id: string; /** * If true, indicates that this object has been deleted * @type {boolean} * @memberof ProductBundleExternal */ isDeleted?: boolean; /** * Name of the bundle. * @type {string} * @memberof ProductBundleExternal */ name: string; /** * * @type {ObjectName} * @memberof ProductBundleExternal */ object?: ObjectName; /** * DateTime at which the object was updated, in 'ISO 8601' format. * @type {Date} * @memberof ProductBundleExternal */ updatedAt: Date; } /** * Check if a given object implements the ProductBundleExternal interface. */ export declare function instanceOfProductBundleExternal(value: object): value is ProductBundleExternal; export declare function ProductBundleExternalFromJSON(json: any): ProductBundleExternal; export declare function ProductBundleExternalFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductBundleExternal; export declare function ProductBundleExternalToJSON(json: any): ProductBundleExternal; export declare function ProductBundleExternalToJSONTyped(value?: ProductBundleExternal | null, ignoreDiscriminator?: boolean): any;