Class: PreludeSDK::Models::VerificationCheckParams::Psd2
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- PreludeSDK::Models::VerificationCheckParams::Psd2
- Defined in:
- lib/prelude_sdk/models/verification_check_params.rb,
sig/prelude_sdk/models/verification_check_params.rbs
Instance Attribute Summary collapse
-
#amount ⇒ String
Decimal amount of the transaction.
-
#currency ⇒ String
ISO 4217 currency code.
-
#recipient ⇒ String
Payee name displayed to the payer.
Instance Method Summary collapse
-
#initialize(amount:, currency:, recipient:) ⇒ Object
constructor
Required when checking a code issued under the
prelude:psd2template. - #to_hash ⇒ { amount: String, currency: String, recipient: String }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(amount:, currency:, recipient:) ⇒ Object
Required when checking a code issued under the prelude:psd2 template. The
submitted variables must match those provided at issuance; any mismatch
invalidates the code (PSD2 SCA RTS Article 5 dynamic linking). Ignored on
non-PSD2 verifications.
|
|
# File 'lib/prelude_sdk/models/verification_check_params.rb', line 98
|
Instance Attribute Details
#amount ⇒ String
Decimal amount of the transaction.
84 |
# File 'lib/prelude_sdk/models/verification_check_params.rb', line 84 required :amount, String |
#currency ⇒ String
ISO 4217 currency code.
90 |
# File 'lib/prelude_sdk/models/verification_check_params.rb', line 90 required :currency, String |
#recipient ⇒ String
Payee name displayed to the payer.
96 |
# File 'lib/prelude_sdk/models/verification_check_params.rb', line 96 required :recipient, String |
Instance Method Details
#to_hash ⇒ { amount: String, currency: String, recipient: String }
87 |
# File 'sig/prelude_sdk/models/verification_check_params.rbs', line 87
def to_hash: -> { amount: String, currency: String, recipient: String }
|