Class: Increase::Models::CardPayment::Element::CardRefund::Cashback
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::CardPayment::Element::CardRefund::Cashback
- Defined in:
- lib/increase/models/card_payment.rb
Overview
Defined Under Namespace
Modules: Currency
Instance Attribute Summary collapse
-
#amount ⇒ String
The cashback amount given as a string containing a decimal number.
-
#currency ⇒ Symbol, Increase::Models::CardPayment::Element::CardRefund::Cashback::Currency
The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code for the cashback.
Instance Method Summary collapse
-
#initialize(amount: , currency: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see Cashback 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: , currency: ) ⇒ Object
Some parameter documentations has been truncated, see Increase::Models::CardPayment::Element::CardRefund::Cashback for more details.
Cashback debited for this transaction, if eligible. Cashback is paid out in aggregate, monthly.
|
|
# File 'lib/increase/models/card_payment.rb', line 5373
|
Instance Attribute Details
#amount ⇒ String
The cashback amount given as a string containing a decimal number. The amount is a positive number if it will be credited to you (e.g., settlements) and a negative number if it will be debited (e.g., refunds).
5365 |
# File 'lib/increase/models/card_payment.rb', line 5365 required :amount, String |
#currency ⇒ Symbol, Increase::Models::CardPayment::Element::CardRefund::Cashback::Currency
The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code for the cashback.
5371 |
# File 'lib/increase/models/card_payment.rb', line 5371 required :currency, enum: -> { Increase::CardPayment::Element::CardRefund::Cashback::Currency } |