Class: Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/increase/models/card_payment.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/card_payment.rb', line 3638

Instance Attribute Details

#clinicIncrease::Models::CardPayment::Element::CardIncrement::AdditionalAmounts::Clinic?

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



3562
3563
3564
# File 'lib/increase/models/card_payment.rb', line 3562

required :clinic,
-> { Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Clinic },
nil?: true

#dentalIncrease::Models::CardPayment::Element::CardIncrement::AdditionalAmounts::Dental?

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



3570
3571
3572
# File 'lib/increase/models/card_payment.rb', line 3570

required :dental,
-> { Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Dental },
nil?: true

#originalIncrease::Models::CardPayment::Element::CardIncrement::AdditionalAmounts::Original?

The original pre-authorized amount.



3578
3579
3580
# File 'lib/increase/models/card_payment.rb', line 3578

required :original,
-> { Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Original },
nil?: true

#prescriptionIncrease::Models::CardPayment::Element::CardIncrement::AdditionalAmounts::Prescription?

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



3586
3587
3588
# File 'lib/increase/models/card_payment.rb', line 3586

required :prescription,
-> { Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Prescription },
nil?: true

#surchargeIncrease::Models::CardPayment::Element::CardIncrement::AdditionalAmounts::Surcharge?

The surcharge amount charged for this transaction by the merchant.



3594
3595
3596
# File 'lib/increase/models/card_payment.rb', line 3594

required :surcharge,
-> { Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Surcharge },
nil?: true

#total_cumulativeIncrease::Models::CardPayment::Element::CardIncrement::AdditionalAmounts::TotalCumulative?

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



3602
3603
3604
# File 'lib/increase/models/card_payment.rb', line 3602

required :total_cumulative,
-> { Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::TotalCumulative },
nil?: true

#total_healthcareIncrease::Models::CardPayment::Element::CardIncrement::AdditionalAmounts::TotalHealthcare?

The total amount of healthcare-related additional amounts.



3610
3611
3612
# File 'lib/increase/models/card_payment.rb', line 3610

required :total_healthcare,
-> { Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::TotalHealthcare },
nil?: true

#transitIncrease::Models::CardPayment::Element::CardIncrement::AdditionalAmounts::Transit?

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



3618
3619
3620
# File 'lib/increase/models/card_payment.rb', line 3618

required :transit,
-> { Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Transit },
nil?: true

#unknownIncrease::Models::CardPayment::Element::CardIncrement::AdditionalAmounts::Unknown?

An unknown additional amount.



3626
3627
3628
# File 'lib/increase/models/card_payment.rb', line 3626

required :unknown,
-> { Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Unknown },
nil?: true

#visionIncrease::Models::CardPayment::Element::CardIncrement::AdditionalAmounts::Vision?

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



3634
3635
3636
# File 'lib/increase/models/card_payment.rb', line 3634

required :vision,
-> { Increase::CardPayment::Element::CardIncrement::AdditionalAmounts::Vision },
nil?: true