/** * PagarmeApiSDKLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { Schema } from '../schema'; import { GetCustomerResponse } from './getCustomerResponse'; import { GetInvoiceResponse } from './getInvoiceResponse'; import { GetOrderResponse } from './getOrderResponse'; import { GetPaymentOriginResponse } from './getPaymentOriginResponse'; import { GetTransactionResponse } from './getTransactionResponse'; /** Response object for getting a charge */ export interface GetChargeResponse { id?: string | null; code?: string | null; gatewayId?: string | null; amount?: number | null; status?: string | null; currency?: string | null; paymentMethod?: string | null; dueAt?: string | null; createdAt?: string | null; updatedAt?: string | null; lastTransaction?: GetTransactionResponse | null; invoice?: GetInvoiceResponse | null; order?: GetOrderResponse | null; customer?: GetCustomerResponse | null; metadata?: Record | null; paidAt?: string | null; canceledAt?: string | null; /** Canceled Amount */ canceledAmount?: number | null; /** Paid amount */ paidAmount?: number | null; /** interest and fine paid */ interestAndFinePaid?: number | null; /** Defines whether the card has been used one or more times. */ recurrencyCycle?: string | null; paymentOrigin?: GetPaymentOriginResponse | null; } export declare const getChargeResponseSchema: Schema;