View Source Craftgate.Response.Dto.PaymentTransactionApproval (Craftgate v1.0.42)
Elixir equivalent of the Java data class io.craftgate.response.dto.PaymentTransactionApproval
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.Dto.PaymentTransactionApproval{ approval_status: Craftgate.Model.ApprovalStatus.t() | nil, failed_reason: String.t() | nil, payment_transaction_id: integer() | 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