Class: Lithic::Models::StatementTotals

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/lithic/models/statement_totals.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(balance_transfers:, cash_advances:, credits:, debits:, fees:, interest:, payments:, purchases:, credit_details: nil, debit_details: nil, payment_details: nil) ⇒ Object

Some parameter documentations has been truncated, see Lithic::Models::StatementTotals for more details.

Parameters:

  • balance_transfers (Integer)

    Opening balance transferred from previous account in cents

  • cash_advances (Integer)

    ATM and cashback transactions in cents

  • credits (Integer)

    Volume of credit management operation transactions less any balance transfers in

  • debits (Integer)

    Volume of debit management operation transactions less any interest in cents

  • fees (Integer)

    Volume of debit management operation transactions less any interest in cents

  • interest (Integer)

    Interest accrued in cents

  • payments (Integer)

    Any funds transfers which affective the balance in cents

  • purchases (Integer)

    Net card transaction volume less any cash advances in cents

  • credit_details (Object) (defaults to: nil)

    Breakdown of credits

  • debit_details (Object) (defaults to: nil)

    Breakdown of debits

  • payment_details (Object) (defaults to: nil)

    Breakdown of payments



# File 'lib/lithic/models/statement_totals.rb', line 73

Instance Attribute Details

#balance_transfersInteger

Opening balance transferred from previous account in cents

Returns:

  • (Integer)


10
# File 'lib/lithic/models/statement_totals.rb', line 10

required :balance_transfers, Integer

#cash_advancesInteger

ATM and cashback transactions in cents

Returns:

  • (Integer)


16
# File 'lib/lithic/models/statement_totals.rb', line 16

required :cash_advances, Integer

#credit_detailsObject?

Breakdown of credits

Returns:

  • (Object, nil)


59
# File 'lib/lithic/models/statement_totals.rb', line 59

optional :credit_details, Lithic::Internal::Type::Unknown

#creditsInteger

Volume of credit management operation transactions less any balance transfers in cents

Returns:

  • (Integer)


23
# File 'lib/lithic/models/statement_totals.rb', line 23

required :credits, Integer

#debit_detailsObject?

Breakdown of debits

Returns:

  • (Object, nil)


65
# File 'lib/lithic/models/statement_totals.rb', line 65

optional :debit_details, Lithic::Internal::Type::Unknown

#debitsInteger

Volume of debit management operation transactions less any interest in cents

Returns:

  • (Integer)


29
# File 'lib/lithic/models/statement_totals.rb', line 29

required :debits, Integer

#feesInteger

Volume of debit management operation transactions less any interest in cents

Returns:

  • (Integer)


35
# File 'lib/lithic/models/statement_totals.rb', line 35

required :fees, Integer

#interestInteger

Interest accrued in cents

Returns:

  • (Integer)


41
# File 'lib/lithic/models/statement_totals.rb', line 41

required :interest, Integer

#payment_detailsObject?

Breakdown of payments

Returns:

  • (Object, nil)


71
# File 'lib/lithic/models/statement_totals.rb', line 71

optional :payment_details, Lithic::Internal::Type::Unknown

#paymentsInteger

Any funds transfers which affective the balance in cents

Returns:

  • (Integer)


47
# File 'lib/lithic/models/statement_totals.rb', line 47

required :payments, Integer

#purchasesInteger

Net card transaction volume less any cash advances in cents

Returns:

  • (Integer)


53
# File 'lib/lithic/models/statement_totals.rb', line 53

required :purchases, Integer