Class: Increase::Models::Transaction::Source::CashbackPayment

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/increase/models/transaction.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#[], #inspect, #to_h, #to_s

Instance Attribute Details

#accrued_on_card_idString

The card on which the cashback was accrued.

Returns:

  • (String)


1491
# File 'lib/increase/models/transaction.rb', line 1491

required :accrued_on_card_id, String

#amountInteger

The amount in the minor unit of the transaction's currency. For dollars, for example, this is cents.

Returns:

  • (Integer)


1496
# File 'lib/increase/models/transaction.rb', line 1496

required :amount, Integer

#currencySymbol

The ISO 4217 code for the transaction currency.

Returns:

  • (Symbol)


1501
# File 'lib/increase/models/transaction.rb', line 1501

required :currency, Increase::Enum.new(:CAD, :CHF, :EUR, :GBP, :JPY, :USD)

#period_endString

The end of the period for which this transaction paid cashback.

Returns:

  • (String)


1506
# File 'lib/increase/models/transaction.rb', line 1506

required :period_end, String

#period_startString

The start of the period for which this transaction paid cashback.

Returns:

  • (String)


1511
# File 'lib/increase/models/transaction.rb', line 1511

required :period_start, String