View Source Craftgate.Request.Dto.Card (Craftgate v1.0.42)
Elixir equivalent of the Java data class io.craftgate.request.dto.Card
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.Request.Dto.Card{ bin_number: String.t() | nil, card_alias: String.t() | nil, card_holder_identity_number: String.t() | nil, card_holder_name: String.t() | nil, card_number: String.t() | nil, card_token: String.t() | nil, card_user_key: String.t() | nil, cvc: String.t() | nil, expire_month: String.t() | nil, expire_year: String.t() | nil, last_four_digits: String.t() | nil, loyalty: Craftgate.Model.Loyalty.t() | nil, store_card_after_success_payment: boolean() | 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