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

:address :: ExOAPI.Stripe.Schemas.Address

The address of the receiver source. This is the value that should be communicated to the customer to send their funds to.

:amount_charged :: :integer

The total amount that was moved to your balance. This is almost always equal to the amount charged. In rare cases when customers deposit excess funds and we are unable to refund those, those funds get moved to your balance and show up in amount_charged as well. The amount charged is expressed in the source's currency.

:amount_received :: :integer

The total amount received by the receiver source. amount_received = amount_returned + amount_charged should be true for consumed sources unless customers deposit excess funds. The amount received is expressed in the source's currency.

:amount_returned :: :integer

The total amount that was returned to the customer. The amount returned is expressed in the source's currency.

:refund_attributes_method :: :string

Type of refund attribute method, one of email, manual, or none.

:refund_attributes_status :: :string

Type of refund attribute status, one of missing, requested, or available.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.SourceReceiverFlow{
  address: String.t() | nil,
  amount_charged: integer() | nil,
  amount_received: integer() | nil,
  amount_returned: integer() | nil,
  refund_attributes_method: String.t() | nil,
  refund_attributes_status: 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()