Namecheap.Response (Namecheap v0.2.1) View Source

Struct representation of an API response returned by Namecheap.

%Namecheap.Response{
  body: [
    %Namecheap.DomainCheckResult{
      available: true,
      description: "",
      domain: "tribes.host",
      eap_fee: #Decimal<0>,
      error_no: "0",
      icann_fee: #Decimal<0>,
      is_premium: false,
      premium_registration_price: #Decimal<0>,
      premium_renewal_price: #Decimal<0>,
      premium_restore_price: #Decimal<0>,
      premium_transfer_price: #Decimal<0>
    }
  ],
  command: "namecheap.domains.check",
  errors: [],
  execution_time: #Decimal<1.302>,
  gmt_time_difference: "--5:00",
  server: "PHX01SBAPIEXT06",
  status: "OK",
  warnings: []
}

Link to this section Summary

Link to this section Types

Specs

t() :: %Namecheap.Response{
  body: list() | map(),
  command: String.t(),
  errors: list(),
  execution_time: Decimal.t(),
  gmt_time_difference: String.t(),
  server: String.t(),
  status: String.t(),
  warnings: list()
}