conekta/conekta-node

View on GitHub
model/token-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.
 */


// May contain unused imports in some cases
// @ts-ignore
import { TokenResponseCheckout } from './token-response-checkout';

/**
 * token response
 * @export
 * @interface TokenResponse
 */
export interface TokenResponse {
    /**
     * 
     * @type {TokenResponseCheckout}
     * @memberof TokenResponse
     * @deprecated
     */
    'checkout'?: TokenResponseCheckout | null;
    /**
     * Unique identifier for the token generated by Conekta.
     * @type {string}
     * @memberof TokenResponse
     */
    'id': string;
    /**
     * Indicates whether the token is in live mode or test mode.
     * @type {boolean}
     * @memberof TokenResponse
     */
    'livemode': boolean;
    /**
     * Indicates the type of object, in this case token
     * @type {string}
     * @memberof TokenResponse
     */
    'object': string;
    /**
     * Indicates if the token has been used
     * @type {boolean}
     * @memberof TokenResponse
     */
    'used': boolean;
}