View Source Chargebeex.Card (chargebeex v0.2.0)

Link to this section Summary

Link to this section Types

@type t() :: %Chargebeex.Card{
  billing_addr1: String.t() | nil,
  billing_addr2: String.t() | nil,
  billing_city: String.t() | nil,
  billing_country: String.t() | nil,
  billing_state: String.t() | nil,
  billing_state_code: String.t() | nil,
  billing_zip: String.t() | nil,
  brand: String.t() | nil,
  card_type: String.t() | nil,
  created_at: integer() | nil,
  customer_id: String.t() | nil,
  expiry_month: integer() | nil,
  expiry_year: integer() | nil,
  first_name: String.t() | nil,
  funding_type: String.t() | nil,
  gateway: String.t() | nil,
  gateway_account_id: String.t() | nil,
  iin: String.t() | nil,
  ip_address: String.t() | nil,
  issuing_country: String.t() | nil,
  last4: String.t() | nil,
  last_name: String.t() | nil,
  masked_number: String.t() | nil,
  object: map() | nil,
  payment_source_id: String.t() | nil,
  powered_by: String.t() | nil,
  ref_tx_id: String.t() | nil,
  resource_version: integer() | nil,
  status: String.t() | nil,
  updated_at: integer() | nil
}

Link to this section Functions

Link to this function

build(map_or_kwlist, opts \\ [])

View Source
@spec build(ExConstructor.map_or_kwlist(), Keyword.t()) :: %Chargebeex.Card{
  billing_addr1: term(),
  billing_addr2: term(),
  billing_city: term(),
  billing_country: term(),
  billing_state: term(),
  billing_state_code: term(),
  billing_zip: term(),
  brand: term(),
  card_type: term(),
  created_at: term(),
  customer_id: term(),
  expiry_month: term(),
  expiry_year: term(),
  first_name: term(),
  funding_type: term(),
  gateway: term(),
  gateway_account_id: term(),
  iin: term(),
  ip_address: term(),
  issuing_country: term(),
  last4: term(),
  last_name: term(),
  masked_number: term(),
  object: term(),
  payment_source_id: term(),
  powered_by: term(),
  ref_tx_id: term(),
  resource_version: term(),
  status: term(),
  updated_at: term()
}