UNPKG

@adyen/react-native

Version:

Wraps Adyen Checkout Drop-In and Components for iOS and Android for convenient use with React Native

29 lines (25 loc) 969 B
export interface AddressLookup { update(results: AddressLookupItem[]): void; confirm(address: AddressLookupItem): void; reject(error?: { message: string; }): void; } export interface PostalAddress { /** The house number or extra house information. */ houseNumberOrName?: string; /** Additional information associated with the location, typically defined at the city or town level (such as district or neighborhood), in a postal address. */ stateOrProvince?: string; /** The city for the contact. */ city?: string; /** The zip code or postal code, where applicable, for the contact. */ postalCode?: string; /** The subadministrative area (such as a county or other region) in a postal address. */ street?: string; /** The state for the contact. */ country?: string; } export interface AddressLookupItem { /** The postal address information. */ address: PostalAddress; /** The unique identifier of postal address */ id: string; }