Packages
stripity_stripe
3.3.1
3.3.2
3.3.1
3.2.0
3.1.1
3.1.0
3.0.0
2.17.3
2.17.2
2.17.1
2.17.0
2.16.0
2.15.1
2.15.0
2.14.1
2.14.0
2.13.0
2.12.1
2.12.0
2.11.0
2.10.0
2.9.0
2.8.0
2.7.2
2.7.1
2.7.0
2.6.0
2.5.0
2.4.0
2.3.0
2.2.3
2.2.2
2.2.1
2.2.0
2.1.0
2.0.1
2.0.0
2.0.0-alpha.11
2.0.0-alpha.10
2.0.0-alpha.9
2.0.0-alpha.8
2.0.0-alpha.7
2.0.0-alpha.6
2.0.0-alpha.5
2.0.0-alpha.4
2.0.0-alpha.3
2.0.0-alpha.2
2.0.0-alpha.1
1.6.2
1.6.1
1.6.0
1.4.0
1.3.0
1.2.0
1.1.0
0.5.0
0.4.0
0.3.0
0.2.0
A Stripe client for Elixir.
Current section
Files
Jump to
Current section
Files
lib/generated/source_transaction.ex
defmodule Stripe.SourceTransaction do
use Stripe.Entity
@moduledoc "Some payment methods have no required amount that a customer must send.\nCustomers can be instructed to send any amount, and it can be made up of\nmultiple transactions. As such, sources can have multiple associated\ntransactions."
(
defstruct [
:ach_credit_transfer,
:amount,
:chf_credit_transfer,
:created,
:currency,
:gbp_credit_transfer,
:id,
:livemode,
:object,
:paper_check,
:sepa_credit_transfer,
:source,
:status,
:type
]
@typedoc "The `source_transaction` type.\n\n * `ach_credit_transfer` \n * `amount` A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the amount your customer has pushed to the receiver.\n * `chf_credit_transfer` \n * `created` Time at which the object was created. Measured in seconds since the Unix epoch.\n * `currency` Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).\n * `gbp_credit_transfer` \n * `id` Unique identifier for the object.\n * `livemode` Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.\n * `object` String representing the object's type. Objects of the same type share the same value.\n * `paper_check` \n * `sepa_credit_transfer` \n * `source` The ID of the source this transaction is attached to.\n * `status` The status of the transaction, one of `succeeded`, `pending`, or `failed`.\n * `type` The type of source this transaction is attached to.\n"
@type t :: %__MODULE__{
ach_credit_transfer: term,
amount: integer,
chf_credit_transfer: term,
created: integer,
currency: binary,
gbp_credit_transfer: term,
id: binary,
livemode: boolean,
object: binary,
paper_check: term,
sepa_credit_transfer: term,
source: binary,
status: binary,
type: binary
}
)
end