/** * PagarmeApiSDKLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { Schema } from '../schema'; import { GetChargeResponse } from './getChargeResponse'; import { GetCheckoutPaymentResponse } from './getCheckoutPaymentResponse'; import { GetCustomerResponse } from './getCustomerResponse'; import { GetDeviceResponse } from './getDeviceResponse'; import { GetIntegrationResponse } from './getIntegrationResponse'; import { GetLocationResponse } from './getLocationResponse'; import { GetOrderItemResponse } from './getOrderItemResponse'; import { GetShippingResponse } from './getShippingResponse'; /** Response object for getting an Order */ export interface GetOrderResponse { id?: string | null; code?: string | null; amount?: number | null; currency?: string | null; /** Indicates whether the order is closed */ closed?: boolean | null; items?: GetOrderItemResponse[] | null; customer?: GetCustomerResponse | null; status?: string | null; createdAt?: string | null; updatedAt?: string | null; closedAt?: string | null; charges?: GetChargeResponse[] | null; invoiceUrl?: string | null; shipping?: GetShippingResponse | null; metadata?: Record | null; /** Checkout Payment Settings Response */ checkouts?: GetCheckoutPaymentResponse[] | null; /** Ip address */ ip?: string | null; /** Session id */ sessionId?: string | null; /** Location */ location?: GetLocationResponse | null; /** Device's informations */ device?: GetDeviceResponse | null; integration?: GetIntegrationResponse | null; } export declare const getOrderResponseSchema: Schema;