Unit.Resource.Reward (Unit v1.0.0)

Copy Markdown View Source

Represents a reward (cash-back, sign-up bonus, etc.) credited to a customer account.

Statuses

  • Sent — reward has been applied
  • Rejected — reward was rejected

Summary

Types

t()

@type t() :: %Unit.Resource.Reward{
  amount: integer(),
  created_at: DateTime.t() | nil,
  customer_id: String.t() | nil,
  description: String.t() | nil,
  funding_account_id: String.t() | nil,
  id: String.t(),
  receiving_account_id: String.t() | nil,
  status: String.t() | nil,
  tags: map(),
  transaction_id: String.t() | nil,
  type: String.t()
}