UNPKG

digitalfemsa

Version:
130 lines (129 loc) 2.6 kB
/** * Femsa API * Femsa sdk * * The version of the OpenAPI document: 2.1.0 * Contact: engineering@femsa.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { ChargeResponseChannel } from './charge-response-channel'; import { ChargeResponsePaymentMethod } from './charge-response-payment-method'; import { ChargeResponseRefunds } from './charge-response-refunds'; /** * * @export * @interface ChargeResponse */ export interface ChargeResponse { /** * * @type {number} * @memberof ChargeResponse */ 'amount'?: number; /** * * @type {ChargeResponseChannel} * @memberof ChargeResponse */ 'channel'?: ChargeResponseChannel; /** * * @type {number} * @memberof ChargeResponse */ 'created_at'?: number; /** * * @type {string} * @memberof ChargeResponse */ 'currency'?: string; /** * * @type {string} * @memberof ChargeResponse */ 'customer_id'?: string; /** * * @type {string} * @memberof ChargeResponse */ 'description'?: string; /** * * @type {string} * @memberof ChargeResponse */ 'device_fingerprint'?: string; /** * * @type {string} * @memberof ChargeResponse */ 'failure_code'?: string; /** * * @type {string} * @memberof ChargeResponse */ 'failure_message'?: string; /** * * @type {string} * @memberof ChargeResponse */ 'id'?: string; /** * * @type {boolean} * @memberof ChargeResponse */ 'livemode'?: boolean; /** * * @type {string} * @memberof ChargeResponse */ 'object'?: string; /** * * @type {string} * @memberof ChargeResponse */ 'order_id'?: string; /** * * @type {number} * @memberof ChargeResponse */ 'paid_at'?: number | null; /** * * @type {ChargeResponsePaymentMethod} * @memberof ChargeResponse */ 'payment_method'?: ChargeResponsePaymentMethod; /** * Reference ID of the charge * @type {string} * @memberof ChargeResponse */ 'reference_id'?: string | null; /** * * @type {ChargeResponseRefunds} * @memberof ChargeResponse */ 'refunds'?: ChargeResponseRefunds | null; /** * * @type {string} * @memberof ChargeResponse */ 'status'?: string; }