/** * PagarmeApiSDKLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { Schema } from '../schema'; import { GetBillingAddressResponse } from './getBillingAddressResponse'; import { GetChargeResponse } from './getChargeResponse'; import { GetCustomerResponse } from './getCustomerResponse'; import { GetInvoiceItemResponse } from './getInvoiceItemResponse'; import { GetPeriodResponse } from './getPeriodResponse'; import { GetShippingResponse } from './getShippingResponse'; import { GetSubscriptionResponse } from './getSubscriptionResponse'; /** Response object for getting an invoice */ export interface GetInvoiceResponse { id?: string | null; code?: string | null; url?: string | null; amount?: number | null; status?: string | null; paymentMethod?: string | null; createdAt?: string | null; items?: GetInvoiceItemResponse[] | null; customer?: GetCustomerResponse | null; charge?: GetChargeResponse | null; installments?: number | null; billingAddress?: GetBillingAddressResponse | null; subscription?: GetSubscriptionResponse | null; cycle?: GetPeriodResponse | null; shipping?: GetShippingResponse | null; metadata?: Record | null; dueAt?: string | null; canceledAt?: string | null; billingAt?: string | null; seenAt?: string | null; /** Total discounted value */ totalDiscount?: number | null; /** Total discounted value */ totalIncrement?: number | null; /** Subscription Id */ subscriptionId?: string | null; } export declare const getInvoiceResponseSchema: Schema;