Current section

Files

Jump to
mollie_api lib mollie_api model entity_payment_details_qr_code.ex
Raw

lib/mollie_api/model/entity_payment_details_qr_code.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.EntityPaymentDetailsQrCode do
@moduledoc """
Optional include. If a QR code was requested during payment creation for a QR-compatible payment method, the QR code details will be available in this object. The QR code can be scanned by the customer to complete the payment on their mobile device. For example, Bancontact QR payments can be completed by the customer using the Bancontact app.
"""
@derive JSON.Encoder
defstruct [
:height,
:width,
:src
]
@type t :: %__MODULE__{
:height => integer() | nil,
:width => integer() | nil,
:src => String.t | nil
}
def decode(value) do
value
end
end