View Source ExOAPI.Stripe.Schemas.AlipayAccount (exoapi_stripe v0.1.4)

:created :: :integer

Time at which the object was created. Measured in seconds since the Unix epoch.

:customer :: ExOAPI.Stripe.Schemas.DeletedCustomer | ExOAPI.Stripe.Schemas.Customer | :string

The ID of the customer associated with this Alipay Account.

:fingerprint :: :string

Uniquely identifies the account and will be the same across all Alipay account objects that are linked to the same Alipay account.

:id :: :string

Unique identifier for the object.

:livemode :: :boolean

Has the value true if the object exists in live mode or the value false if the object exists in test mode.

:metadata :: :map

Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.

:object :: :string

String representing the object's type. Objects of the same type share the same value.

:payment_amount :: :integer

If the Alipay account object is not reusable, the exact amount that you can create a charge for.

:payment_currency :: :string

If the Alipay account object is not reusable, the exact currency that you can create a charge for.

:reusable :: :boolean

True if you can create multiple payments using this account. If the account is reusable, then you can freely choose the amount of each payment.

:used :: :boolean

Whether this Alipay account object has ever been used for a payment.

:username :: :string

The username for the Alipay account.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.AlipayAccount{
  created: integer() | nil,
  customer: ExOAPI.EctoTypes.AnyOf.t() | nil,
  fingerprint: String.t() | nil,
  id: String.t() | nil,
  livemode: boolean() | nil,
  metadata: map() | nil,
  object: :alipay_account | nil,
  payment_amount: integer() | nil,
  payment_currency: String.t() | nil,
  reusable: boolean() | nil,
  used: boolean() | nil,
  username: String.t() | nil
}

Link to this section Functions

Link to this function

changeset(struct \\ %__MODULE__{}, params)

View Source
@spec changeset(t(), params()) :: Ecto.Changeset.t()