Class: Increase::Models::Transaction::Source::CardFinancial::AdditionalAmounts

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/transaction.rb

Overview

Defined Under Namespace

Classes: Clinic, Dental, Original, Prescription, Surcharge, TotalCumulative, TotalHealthcare, Transit, Unknown, Vision

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(amount: , currency: ) ⇒ Object

Some parameter documentations has been truncated, see Unknown for more details.

An unknown additional amount.

Parameters:

  • amount (Integer) (defaults to: )

    The amount in minor units of the ‘currency` field. The amount is positive if it

  • currency (String) (defaults to: )

    The [ISO 4217](en.wikipedia.org/wiki/ISO_4217) code for the additional a



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


Instance Attribute Details

#clinicIncrease::Models::Transaction::Source::CardFinancial::AdditionalAmounts::Clinic?

The part of this transaction amount that was for clinic-related services.



1528
1529
1530
# File 'lib/increase/models/transaction.rb', line 1528

required :clinic,
-> { Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Clinic },
nil?: true

#dentalIncrease::Models::Transaction::Source::CardFinancial::AdditionalAmounts::Dental?

The part of this transaction amount that was for dental-related services.



1536
1537
1538
# File 'lib/increase/models/transaction.rb', line 1536

required :dental,
-> { Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Dental },
nil?: true

#originalIncrease::Models::Transaction::Source::CardFinancial::AdditionalAmounts::Original?

The original pre-authorized amount.



1544
1545
1546
# File 'lib/increase/models/transaction.rb', line 1544

required :original,
-> { Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Original },
nil?: true

#prescriptionIncrease::Models::Transaction::Source::CardFinancial::AdditionalAmounts::Prescription?

The part of this transaction amount that was for healthcare prescriptions.



1552
1553
1554
# File 'lib/increase/models/transaction.rb', line 1552

required :prescription,
-> { Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Prescription },
nil?: true

#surchargeIncrease::Models::Transaction::Source::CardFinancial::AdditionalAmounts::Surcharge?

The surcharge amount charged for this transaction by the merchant.



1560
1561
1562
# File 'lib/increase/models/transaction.rb', line 1560

required :surcharge,
-> { Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Surcharge },
nil?: true

#total_cumulativeIncrease::Models::Transaction::Source::CardFinancial::AdditionalAmounts::TotalCumulative?

The total amount of a series of incremental authorizations, optionally provided.



1568
1569
1570
# File 'lib/increase/models/transaction.rb', line 1568

required :total_cumulative,
-> { Increase::Transaction::Source::CardFinancial::AdditionalAmounts::TotalCumulative },
nil?: true

#total_healthcareIncrease::Models::Transaction::Source::CardFinancial::AdditionalAmounts::TotalHealthcare?

The total amount of healthcare-related additional amounts.



1576
1577
1578
# File 'lib/increase/models/transaction.rb', line 1576

required :total_healthcare,
-> { Increase::Transaction::Source::CardFinancial::AdditionalAmounts::TotalHealthcare },
nil?: true

#transitIncrease::Models::Transaction::Source::CardFinancial::AdditionalAmounts::Transit?

The part of this transaction amount that was for transit-related services.



1584
1585
1586
# File 'lib/increase/models/transaction.rb', line 1584

required :transit,
-> { Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Transit },
nil?: true

#unknownIncrease::Models::Transaction::Source::CardFinancial::AdditionalAmounts::Unknown?

An unknown additional amount.



1592
1593
1594
# File 'lib/increase/models/transaction.rb', line 1592

required :unknown,
-> { Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Unknown },
nil?: true

#visionIncrease::Models::Transaction::Source::CardFinancial::AdditionalAmounts::Vision?

The part of this transaction amount that was for vision-related services.



1600
1601
1602
# File 'lib/increase/models/transaction.rb', line 1600

required :vision,
-> { Increase::Transaction::Source::CardFinancial::AdditionalAmounts::Vision },
nil?: true