UNPKG

conekta

Version:
133 lines (128 loc) 2.63 kB
/* tslint:disable */ /* eslint-disable */ /** * Conekta API * Conekta sdk * * The version of the OpenAPI document: 2.2.0 * Contact: engineering@conekta.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * subscription model * @export * @interface SubscriptionResponse */ export interface SubscriptionResponse { /** * * @type {number} * @memberof SubscriptionResponse */ 'billing_cycle_start'?: number | null; /** * * @type {number} * @memberof SubscriptionResponse */ 'billing_cycle_end'?: number | null; /** * * @type {number} * @memberof SubscriptionResponse */ 'canceled_at'?: number | null; /** * Reason for cancellation. This field appears when the subscription status is \'canceled\'. * @type {string} * @memberof SubscriptionResponse */ 'canceled_reason'?: string; /** * * @type {string} * @memberof SubscriptionResponse */ 'card_id'?: string; /** * * @type {string} * @memberof SubscriptionResponse */ 'charge_id'?: string | null; /** * * @type {number} * @memberof SubscriptionResponse */ 'created_at'?: number; /** * * @type {string} * @memberof SubscriptionResponse */ 'customer_custom_reference'?: string; /** * * @type {string} * @memberof SubscriptionResponse */ 'customer_id'?: string; /** * * @type {string} * @memberof SubscriptionResponse */ 'id'?: string; /** * * @type {string} * @memberof SubscriptionResponse */ 'last_billing_cycle_order_id'?: string; /** * * @type {string} * @memberof SubscriptionResponse */ 'object'?: string; /** * * @type {number} * @memberof SubscriptionResponse */ 'paused_at'?: number | null; /** * * @type {string} * @memberof SubscriptionResponse */ 'plan_id'?: string; /** * * @type {string} * @memberof SubscriptionResponse */ 'status'?: string; /** * * @type {number} * @memberof SubscriptionResponse */ 'subscription_start'?: number; /** * * @type {number} * @memberof SubscriptionResponse */ 'trial_start'?: number | null; /** * * @type {number} * @memberof SubscriptionResponse */ 'trial_end'?: number | null; }