Tiger.Structs.CreateCharge (tiger v0.3.0)
Convenience Struct for use when creating charges.
Exists to prevent using maps with missing keys
Link to this section Summary
Link to this section Types
Specs
t() :: %Tiger.Structs.CreateCharge{
amount: integer(),
application_fee: integer() | nil,
capture: boolean() | nil,
currency: String.t(),
description: String.t(),
expand: [String.t()],
metadata: map() | nil,
on_behalf_of: String.t() | nil,
receipt_email: String.t() | nil,
shipping: map() | nil,
source: String.t(),
statement_descriptor: String.t() | nil,
statement_descriptor_suffix: String.t() | nil,
transfer_data: map() | nil,
transfer_group: String.t() | nil
}