conekta/conekta-node

View on GitHub
model/subscription-response.ts

Summary

Maintainability
A
0 mins
Test Coverage
/* tslint:disable */
/* eslint-disable */
/**
 * Conekta API
 * Conekta sdk
 *
 * The version of the OpenAPI document: 2.1.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;
    /**
     * 
     * @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;
}