/** * PagarmeApiSDKLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { Schema } from '../schema'; import { GetAntifraudResponse } from './getAntifraudResponse'; import { GetFineResponse } from './getFineResponse'; import { GetGatewayResponseResponse } from './getGatewayResponseResponse'; import { GetInterestResponse } from './getInterestResponse'; import { GetSplitResponse } from './getSplitResponse'; /** Generic response object for getting a transaction. */ export interface GetTransactionResponse { /** Gateway transaction id */ gatewayId?: string | null; /** Amount in cents */ amount?: number | null; /** Transaction status */ status?: string | null; /** Indicates if the transaction ocurred successfuly */ success?: boolean | null; /** Creation date */ createdAt?: string | null; /** Last update date */ updatedAt?: string | null; /** Number of attempts tried */ attemptCount?: number | null; /** Max attempts */ maxAttempts?: number | null; /** Splits */ splits?: GetSplitResponse[] | null; /** Date and time of the next attempt */ nextAttempt?: string | null; transactionType?: string; /** Código da transação */ id?: string | null; /** The Gateway Response */ gatewayResponse?: GetGatewayResponseResponse | null; antifraudResponse?: GetAntifraudResponse | null; metadata?: Record | null; split?: GetSplitResponse[] | null; interest?: GetInterestResponse | null; fine?: GetFineResponse | null; maxDaysToPayPastDue?: number | null; } export declare const getTransactionResponseSchema: Schema;