View Source Craftgate.Response.Dto.WalletTransaction (Craftgate v1.0.42)
Elixir equivalent of the Java data class io.craftgate.response.dto.WalletTransaction
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.WalletTransaction{ amount: Decimal.t() | nil, id: integer() | nil, wallet_id: integer() | nil, wallet_transaction_type: Craftgate.Model.WalletTransactionType.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