Packages
mollie_api
0.1.0-20260708
0.1.0-20260722
0.1.0-20260721
0.1.0-20260717
0.1.0-20260716
0.1.0-20260708
0.1.0-20260702
0.1.0-20260629
0.1.0-20260625
0.1.0-20260622
0.1.0-20260619
0.1.0-20260617
0.1.0-20260615
0.1.0-20260611
0.1.0-20260609
0.1.0-20260601
0.1.0-20260529
0.1.0-20260527
0.1.0-20260526
0.1.0-20260525
0.1.0-20260521
0.1.0-20260519
0.1.0-20260515
0.1.0-20260513
0.1.0-20260512
0.1.0-20260507
0.1.0-20260505
0.1.0-20260504
0.1.0-20260430
0.1.0-20260429
0.1.0-20260428
0.1.0-20260427
0.1.0-20260423
0.1.0-20260421
0.1.0-20260420
0.1.0-20260415
0.1.0-20260410
0.1.0-20260409
0.1.0-20260408
0.1.0-20260402
0.1.0-20260401
0.1.0-20260331
0.1.0-20260330
0.1.0-20260327
0.1.0-20260317
0.1.0-20260313
0.1.0-20260310
0.1.0-20260309
0.1.0-20260306
0.1.0-20260305
0.1.0-20260303
0.1.0-20260302
0.1.0-20260226
0.1.0-20260218
0.1.0-20260217
0.1.0-20260210
0.1.0-20260206
0.1.0-20260205
0.1.0-20260204
0.1.0-20260203
0.1.0-20260202
0.1.0-20260130
0.1.0-20260129
0.1.0-20260114
0.1.0-20260109
0.1.0-20260107
0.1.0-20251222
0.1.0-20251125
0.1.0-20251121
0.1.0-20251119
0.1.0-20251118
0.1.0-20251113
An autogenerated Elixir client for the Mollie API, generated from the OpenAPI specification.
Current section
Files
Jump to
Current section
Files
lib/mollie_api/model/entity_payment_response_details.ex
# NOTE: This file is auto generated by OpenAPI Generator 7.17.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule MollieAPI.Model.EntityPaymentResponseDetails do
@moduledoc """
An object containing payment details collected during the payment process. For example, details may include the customer's card or bank details and a payment reference. For the full list of details, please refer to the [method-specific parameters](extra-payment-parameters) guide.
"""
@derive JSON.Encoder
defstruct [
:consumerName,
:consumerAccount,
:consumerBic,
:shippingAddress,
:cardNumber,
:bankName,
:bankAccount,
:bankBic,
:transferReference,
:cardFingerprint,
:cardHolder,
:cardAudition,
:cardLabel,
:cardCountryCode,
:cardExpiryDate,
:cardFunding,
:cardSecurity,
:feeRegion,
:cardMaskedNumber,
:card3dsEci,
:cardBin,
:cardIssuer,
:failureReason,
:failureMessage,
:wallet,
:paypalReference,
:paypalPayerId,
:sellerProtection,
:paypalFee,
:customerReference,
:terminalId,
:maskedNumber,
:receipt,
:creditorIdentifier,
:dueDate,
:signatureDate,
:bankReasonCode,
:bankReason,
:endToEndIdentifier,
:mandateReference,
:batchReference,
:fileReference,
:qrCode,
:voucherNumber,
:giftcards,
:issuer,
:vouchers,
:remainderAmount,
:remainderMethod,
:remainderDetails,
:multibancoReference,
:multibancoEntity
]
@type t :: %__MODULE__{
:consumerName => String.t | nil,
:consumerAccount => String.t | nil,
:consumerBic => String.t | nil,
:shippingAddress => %{optional(String.t) => any()} | nil,
:cardNumber => String.t | nil,
:bankName => String.t | nil,
:bankAccount => String.t | nil,
:bankBic => String.t | nil,
:transferReference => String.t | nil,
:cardFingerprint => String.t | nil,
:cardHolder => String.t | nil,
:cardAudition => MollieAPI.Model.PaymentDetailsCardAuditionResponse.t | nil,
:cardLabel => MollieAPI.Model.PaymentDetailsCardLabelResponse.t | nil,
:cardCountryCode => String.t | nil,
:cardExpiryDate => String.t | nil,
:cardFunding => MollieAPI.Model.PaymentDetailsCardFundingResponse.t | nil,
:cardSecurity => MollieAPI.Model.PaymentDetailsCardSecurityResponse.t | nil,
:feeRegion => MollieAPI.Model.PaymentDetailsFeeRegionResponse.t | nil,
:cardMaskedNumber => String.t | nil,
:card3dsEci => String.t | nil,
:cardBin => String.t | nil,
:cardIssuer => String.t | nil,
:failureReason => MollieAPI.Model.PaymentDetailsFailureReasonResponse.t | nil,
:failureMessage => String.t | nil,
:wallet => MollieAPI.Model.PaymentDetailsWalletResponse.t | nil,
:paypalReference => String.t | nil,
:paypalPayerId => String.t | nil,
:sellerProtection => MollieAPI.Model.PaymentDetailsSellerProtectionResponse.t | nil,
:paypalFee => MollieAPI.Model.AmountNullable.t | nil,
:customerReference => String.t | nil,
:terminalId => String.t | nil,
:maskedNumber => String.t | nil,
:receipt => MollieAPI.Model.EntityPaymentResponseDetailsReceipt.t | nil,
:creditorIdentifier => String.t | nil,
:dueDate => Date.t | nil,
:signatureDate => Date.t | nil,
:bankReasonCode => String.t | nil,
:bankReason => String.t | nil,
:endToEndIdentifier => String.t | nil,
:mandateReference => String.t | nil,
:batchReference => String.t | nil,
:fileReference => String.t | nil,
:qrCode => MollieAPI.Model.EntityPaymentDetailsQrCode.t | nil,
:voucherNumber => String.t | nil,
:giftcards => [%{optional(String.t) => any()}] | nil,
:issuer => String.t | nil,
:vouchers => [%{optional(String.t) => any()}] | nil,
:remainderAmount => MollieAPI.Model.Amount.t | nil,
:remainderMethod => String.t | nil,
:remainderDetails => %{optional(String.t) => any()} | nil,
:multibancoReference => String.t | nil,
:multibancoEntity => String.t | nil
}
alias MollieAPI.Deserializer
def decode(value) do
value
|> Deserializer.deserialize(:cardAudition, :struct, MollieAPI.Model.PaymentDetailsCardAuditionResponse)
|> Deserializer.deserialize(:cardLabel, :struct, MollieAPI.Model.PaymentDetailsCardLabelResponse)
|> Deserializer.deserialize(:cardFunding, :struct, MollieAPI.Model.PaymentDetailsCardFundingResponse)
|> Deserializer.deserialize(:cardSecurity, :struct, MollieAPI.Model.PaymentDetailsCardSecurityResponse)
|> Deserializer.deserialize(:feeRegion, :struct, MollieAPI.Model.PaymentDetailsFeeRegionResponse)
|> Deserializer.deserialize(:failureReason, :struct, MollieAPI.Model.PaymentDetailsFailureReasonResponse)
|> Deserializer.deserialize(:wallet, :struct, MollieAPI.Model.PaymentDetailsWalletResponse)
|> Deserializer.deserialize(:sellerProtection, :struct, MollieAPI.Model.PaymentDetailsSellerProtectionResponse)
|> Deserializer.deserialize(:paypalFee, :struct, MollieAPI.Model.AmountNullable)
|> Deserializer.deserialize(:receipt, :struct, MollieAPI.Model.EntityPaymentResponseDetailsReceipt)
|> Deserializer.deserialize(:qrCode, :struct, MollieAPI.Model.EntityPaymentDetailsQrCode)
|> Deserializer.deserialize(:remainderAmount, :struct, MollieAPI.Model.Amount)
end
end