ECPayInvoice.CustomerData (ecpay_invoice v0.0.1-alpha4)

Link to this section Summary

Link to this section Types

Link to this type

carrier_type()

Specs

carrier_type() :: nil | :ecpay | :natural | :mobile

Specs

t() :: %ECPayInvoice.CustomerData{
  address: String.t() | nil,
  carrier_no: String.t() | nil,
  carrier_type: carrier_type(),
  email: String.t() | nil,
  id: String.t() | nil,
  name: String.t() | nil,
  phone: String.t() | nil,
  tax_id: String.t() | nil
}

Link to this section Functions

Link to this function

new(params \\ %{})

Specs

new(params :: map()) :: t()
Link to this function

to_api_payload(data)