Current section

Files

Jump to
mollie_api lib mollie_api model verification_of_payee_request.ex
Raw

lib/mollie_api/model/verification_of_payee_request.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.VerificationOfPayeeRequest do
@moduledoc """
The request body for performing a Verification of Payee (VoP) check. VoP allows you to verify the account holder name against the records held by the receiving bank before initiating a transfer.
"""
@derive JSON.Encoder
defstruct [
:creditorBankAccount,
:testmode
]
@type t :: %__MODULE__{
:creditorBankAccount => MollieAPI.Model.CreditorBankAccount.t,
:testmode => boolean() | nil
}
alias MollieAPI.Deserializer
def decode(value) do
value
|> Deserializer.deserialize(:creditorBankAccount, :struct, MollieAPI.Model.CreditorBankAccount)
end
end