View Source Craftgate.Request.InitCheckoutPaymentRequest (Craftgate v1.0.42)
Elixir equivalent of the Java data class io.craftgate.request.InitCheckoutPaymentRequest
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.InitCheckoutPaymentRequest{ allow_installment_only_commercial_cards: boolean() | nil, allow_only_credit_card: boolean() | nil, allow_only_stored_cards: boolean() | nil, always_store_card_after_payment: boolean() | nil, bank_order_id: String.t() | nil, buyer_member_id: integer() | nil, callback_url: String.t() | nil, card_user_key: String.t() | nil, client_ip: String.t() | nil, conversation_id: String.t() | nil, currency: Craftgate.Model.Currency.t() | nil, custom_installments: [Craftgate.Request.Dto.CustomInstallment.t()] | nil, enabled_installments: [integer()] | nil, enabled_payment_methods: [Craftgate.Model.PaymentMethod.t()] | nil, external_id: String.t() | nil, force_auth_for_non_credit_cards: boolean() | nil, force_three_ds: boolean() | nil, items: [Craftgate.Request.Dto.PaymentItem.t()] | nil, masterpass_gsm_number: String.t() | nil, masterpass_user_id: String.t() | nil, paid_price: Decimal.t() | nil, payment_channel: String.t() | nil, payment_group: Craftgate.Model.PaymentGroup.t() | nil, payment_phase: Craftgate.Model.PaymentPhase.t() | nil, price: Decimal.t() | nil, ttl: 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