Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeviceAddressService

Hierarchy

  • DeviceAddressService

Index

Constructors

constructor

Properties

Protected apiClient

apiClient: ApiClient

Protected countryAndPostalPathPostfix

countryAndPostalPathPostfix: string

Protected deviceAddressPathPostfix

deviceAddressPathPostfix: string

Protected deviceAddressPathPrefix

deviceAddressPathPrefix: string

Methods

getCountryAndPostalCode

  • getCountryAndPostalCode(deviceId: string, apiEndpoint: string, token: string): Promise<ShortAddress>

getFullAddress

  • getFullAddress(deviceId: string, apiEndpoint: string, token: string): Promise<Address>

Private validateApiResponse

  • validateApiResponse(apiClientResponse: ApiClientResponse): Address