Class: Increase::Models::CardPayment::Element::CardSettlement::Interchange
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::CardPayment::Element::CardSettlement::Interchange
- Defined in:
- lib/increase/models/card_payment.rb
Overview
Defined Under Namespace
Modules: Currency
Instance Attribute Summary collapse
-
#amount ⇒ String
The interchange amount given as a string containing a decimal number in major units (so e.g., “3.14” for $3.14).
-
#code ⇒ String?
The card network specific interchange code.
-
#currency ⇒ Symbol, Increase::Models::CardPayment::Element::CardSettlement::Interchange::Currency
The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code for the interchange reimbursement.
Instance Method Summary collapse
-
#initialize(amount: , code: , currency: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see Interchange for more details.
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: , code: , currency: ) ⇒ Object
Some parameter documentations has been truncated, see Increase::Models::CardPayment::Element::CardSettlement::Interchange for more details.
Interchange assessed as a part of this transaction.
|
|
# File 'lib/increase/models/card_payment.rb', line 7096
|
Instance Attribute Details
#amount ⇒ String
The interchange amount given as a string containing a decimal number in major units (so e.g., “3.14” for $3.14). The amount is a positive number if it is credited to Increase (e.g., settlements) and a negative number if it is debited (e.g., refunds).
7081 |
# File 'lib/increase/models/card_payment.rb', line 7081 required :amount, String |
#code ⇒ String?
The card network specific interchange code.
7087 |
# File 'lib/increase/models/card_payment.rb', line 7087 required :code, String, nil?: true |
#currency ⇒ Symbol, Increase::Models::CardPayment::Element::CardSettlement::Interchange::Currency
The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code for the interchange reimbursement.
7094 |
# File 'lib/increase/models/card_payment.rb', line 7094 required :currency, enum: -> { Increase::CardPayment::Element::CardSettlement::Interchange::Currency } |