/** * PagarmeApiSDKLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { nullable, object, optional, Schema, string } from '../schema'; /** Response object for getting a billing address */ export interface GetBillingAddressResponse { street?: string | null; number?: string | null; zipCode?: string | null; neighborhood?: string | null; city?: string | null; state?: string | null; country?: string | null; complement?: string | null; /** Line 1 for address */ line1?: string | null; /** Line 2 for address */ line2?: string | null; } export const getBillingAddressResponseSchema: Schema = object( { street: ['street', optional(nullable(string()))], number: ['number', optional(nullable(string()))], zipCode: ['zip_code', optional(nullable(string()))], neighborhood: ['neighborhood', optional(nullable(string()))], city: ['city', optional(nullable(string()))], state: ['state', optional(nullable(string()))], country: ['country', optional(nullable(string()))], complement: ['complement', optional(nullable(string()))], line1: ['line_1', optional(nullable(string()))], line2: ['line_2', optional(nullable(string()))], } );