View Source Craftgate.Response.Dto.Installment (Craftgate v1.0.42)
Elixir equivalent of the Java data class io.craftgate.response.dto.Installment
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.Installment{ bank_code: integer() | nil, bank_name: String.t() | nil, bin_number: String.t() | nil, card_association: Craftgate.Model.CardAssociation.t() | nil, card_brand: String.t() | nil, card_type: Craftgate.Model.CardType.t() | nil, commercial: boolean() | nil, cvc_required: boolean() | nil, force_3ds: boolean() | nil, installment_prices: [Craftgate.Response.Dto.InstallmentPrice.t()] | nil, 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