Class: Increase::Models::Transaction::Source::CardRevenuePayment

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

#amountInteger

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

Returns:

  • (Integer)


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

required :amount, Integer

#currencySymbol

The ISO 4217 code for the transaction currency.

Returns:

  • (Symbol)


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

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

#period_endString

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

Returns:

  • (String)


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

required :period_end, String

#period_startString

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

Returns:

  • (String)


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

required :period_start, String

#transacted_on_account_idString

The account the card belonged to.

Returns:

  • (String)


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

required :transacted_on_account_id, String