Class: Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Transit
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts::Transit
- Defined in:
- lib/increase/models/card_payment.rb
Overview
Instance Attribute Summary collapse
-
#amount ⇒ Integer
The amount in minor units of the ‘currency` field.
-
#currency ⇒ String
The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code for the additional amount’s currency.
Method Summary
Methods inherited from Internal::Type::BaseModel
#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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
This class inherits a constructor from Increase::Internal::Type::BaseModel
Instance Attribute Details
#amount ⇒ Integer
The amount in minor units of the ‘currency` field. The amount is positive if it is added to the amount (such as an ATM surcharge fee) and negative if it is subtracted from the amount (such as a discount).
2528 |
# File 'lib/increase/models/card_payment.rb', line 2528 required :amount, Integer |
#currency ⇒ String
The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code for the additional amount’s currency.
2535 |
# File 'lib/increase/models/card_payment.rb', line 2535 required :currency, String |