Class: Increase::Models::Transaction::Source::CashbackPayment
- Inherits:
-
BaseModel
- Object
- BaseModel
- Increase::Models::Transaction::Source::CashbackPayment
- Defined in:
- lib/increase/models/transaction.rb
Instance Attribute Summary collapse
-
#accrued_on_card_id ⇒ String
The card on which the cashback was accrued.
-
#amount ⇒ Integer
The amount in the minor unit of the transaction's currency.
-
#currency ⇒ Symbol
The ISO 4217 code for the transaction currency.
-
#period_end ⇒ String
The end of the period for which this transaction paid cashback.
-
#period_start ⇒ String
The start of the period for which this transaction paid cashback.
Method Summary
Methods inherited from BaseModel
Instance Attribute Details
#accrued_on_card_id ⇒ String
The card on which the cashback was accrued.
1491 |
# File 'lib/increase/models/transaction.rb', line 1491 required :accrued_on_card_id, String |
#amount ⇒ Integer
The amount in the minor unit of the transaction's currency. For dollars, for example, this is cents.
1496 |
# File 'lib/increase/models/transaction.rb', line 1496 required :amount, Integer |
#currency ⇒ Symbol
The ISO 4217 code for the transaction currency.
1501 |
# File 'lib/increase/models/transaction.rb', line 1501 required :currency, Increase::Enum.new(:CAD, :CHF, :EUR, :GBP, :JPY, :USD) |
#period_end ⇒ String
The end of the period for which this transaction paid cashback.
1506 |
# File 'lib/increase/models/transaction.rb', line 1506 required :period_end, String |
#period_start ⇒ String
The start of the period for which this transaction paid cashback.
1511 |
# File 'lib/increase/models/transaction.rb', line 1511 required :period_start, String |