Chargebeex.PaymentSource (chargebeex v0.6.0)

View Source

Summary

Types

t()

@type t() :: %Chargebeex.PaymentSource{
  amazon_payment: map() | nil,
  bank_account: Chargebeex.BankAccount.t() | nil,
  business_entity_id: String.t() | nil,
  card: Chargebeex.Card.t() | nil,
  created_at: non_neg_integer() | nil,
  customer_id: String.t() | nil,
  deleted: boolean() | nil,
  gateway: String.t() | nil,
  gateway_account_id: String.t() | nil,
  id: String.t() | nil,
  ip_address: String.t() | nil,
  issuing_country: String.t() | nil,
  mandates: list() | nil,
  paypal: map() | nil,
  reference_id: String.t() | nil,
  resource_version: non_neg_integer() | nil,
  resources: map(),
  status: String.t() | nil,
  type: String.t() | nil,
  updated_at: non_neg_integer() | nil,
  upi: map() | nil
}

Functions

build(map_or_kwlist, opts \\ [])

@spec build(ExConstructor.map_or_kwlist(), Keyword.t()) :: %Chargebeex.PaymentSource{
  amazon_payment: term(),
  bank_account: term(),
  business_entity_id: term(),
  card: term(),
  created_at: term(),
  customer_id: term(),
  deleted: term(),
  gateway: term(),
  gateway_account_id: term(),
  id: term(),
  ip_address: term(),
  issuing_country: term(),
  mandates: term(),
  paypal: term(),
  reference_id: term(),
  resource_version: term(),
  resources: term(),
  status: term(),
  type: term(),
  updated_at: term(),
  upi: term()
}

create_bank_account(params, opts \\ [])

create_card(params, opts \\ [])

delete(id, opts \\ [])

Callback implementation for Chargebeex.Resource.delete/2.

list(params \\ %{}, opts \\ [])

Callback implementation for Chargebeex.Resource.list/2.

retrieve(id, opts \\ [])

Callback implementation for Chargebeex.Resource.retrieve/2.