conekta/conekta-node

View on GitHub
model/transfer-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 { TransferDestinationResponse } from './transfer-destination-response';

/**
 * A transfer represents the action of sending an amount to a business bank account including the status, amount and method used to make the transfer.
 * @export
 * @interface TransferResponse
 */
export interface TransferResponse {
    /**
     * Amount in cents of the transfer.
     * @type {number}
     * @memberof TransferResponse
     */
    'amount'?: number;
    /**
     * Date and time of creation of the transfer in Unix format.
     * @type {number}
     * @memberof TransferResponse
     */
    'created_at'?: number;
    /**
     * The currency of the transfer. It uses the 3-letter code of the [International Standard ISO 4217.](https://es.wikipedia.org/wiki/ISO_4217)
     * @type {string}
     * @memberof TransferResponse
     */
    'currency'?: string;
    /**
     * Unique identifier of the transfer.
     * @type {string}
     * @memberof TransferResponse
     */
    'id'?: string;
    /**
     * Indicates whether the transfer was created in live mode or test mode.
     * @type {boolean}
     * @memberof TransferResponse
     */
    'livemode'?: boolean;
    /**
     * 
     * @type {TransferDestinationResponse}
     * @memberof TransferResponse
     */
    'destination'?: TransferDestinationResponse;
    /**
     * Object name, which is transfer.
     * @type {string}
     * @memberof TransferResponse
     */
    'object'?: string;
    /**
     * Description of the transfer.
     * @type {string}
     * @memberof TransferResponse
     */
    'statement_description'?: string;
    /**
     * Reference number of the transfer.
     * @type {string}
     * @memberof TransferResponse
     */
    'statement_reference'?: string;
    /**
     * Code indicating transfer status.
     * @type {string}
     * @memberof TransferResponse
     */
    'status'?: string;
}