View Source Craftgate.Response.PaymentTransactionResponse (Craftgate v1.0.42)
Elixir equivalent of the Java data class io.craftgate.response.PaymentTransactionResponse
Link to this section Summary
Functions
Callback implementation for Construct.cast/2
.
Callback implementation for Construct.make/2
.
Callback implementation for Construct.make!/2
.
Attempts to parse the input as an instance of this struct
Bangified version of parse/1
Returns the names of the fields that are serializable/deserializable
Attempts to serialize this struct as a JSON string
Bangified version of serialize/2
Link to this section Types
@type t() :: %Craftgate.Response.PaymentTransactionResponse{ blockage_resolved_date: NaiveDateTime.t() | nil, external_id: String.t() | nil, id: integer() | nil, merchant_commission_rate: Decimal.t() | nil, merchant_commission_rate_amount: Decimal.t() | nil, merchant_payout_amount: Decimal.t() | nil, name: String.t() | nil, paid_price: Decimal.t() | nil, payout: Craftgate.Response.Dto.Payout.t() | nil, price: Decimal.t() | nil, sub_merchant_member_id: integer() | nil, sub_merchant_member_payout_amount: Decimal.t() | nil, sub_merchant_member_payout_rate: Decimal.t() | nil, sub_merchant_member_price: Decimal.t() | nil, transaction_status: Craftgate.Model.TransactionStatus.t() | nil, wallet_price: Decimal.t() | nil }
Link to this section Functions
Callback implementation for Construct.cast/2
.
Callback implementation for Construct.make/2
.
Callback implementation for Construct.make!/2
.
Attempts to parse the input as an instance of this struct
See also: Craftgate.Serializable.parse/2
Bangified version of parse/1
@spec serializable_fields() :: [atom()]
Returns the names of the fields that are serializable/deserializable
Attempts to serialize this struct as a JSON string
Bangified version of serialize/2