Module: GenesisRuby::Api::Mixins::Requests::Financial::PaymentAttributes
- Included in:
- Requests::Base::Financial, Requests::Financial::Cards::Threeds::V2::MethodContinue, Requests::NonFinancial::Kyc::Transaction::Create, Requests::Wpf::Create
- Defined in:
- lib/genesis_ruby/api/mixins/requests/financial/payment_attributes.rb
Overview
Mixin Payment Attributes, brings Payment Attributes partial
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#currency ⇒ Object
Currency Attribute getter.
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
11 12 13 |
# File 'lib/genesis_ruby/api/mixins/requests/financial/payment_attributes.rb', line 11 def amount @amount end |
#currency ⇒ Object
Currency Attribute getter
15 16 17 |
# File 'lib/genesis_ruby/api/mixins/requests/financial/payment_attributes.rb', line 15 def currency @currency.to_s.upcase end |