Class: Increase::Models::CardPayment::Element::CardValidation::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 8502

Instance Attribute Details

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

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



8422
8423
8424
# File 'lib/increase/models/card_payment.rb', line 8422

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

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

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



8430
8431
8432
# File 'lib/increase/models/card_payment.rb', line 8430

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

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

The original pre-authorized amount.



8438
8439
8440
# File 'lib/increase/models/card_payment.rb', line 8438

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

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

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



8446
8447
8448
# File 'lib/increase/models/card_payment.rb', line 8446

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

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

The surcharge amount charged for this transaction by the merchant.



8454
8455
8456
# File 'lib/increase/models/card_payment.rb', line 8454

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

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

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



8462
8463
8464
8465
8466
# File 'lib/increase/models/card_payment.rb', line 8462

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

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

The total amount of healthcare-related additional amounts.



8472
8473
8474
8475
8476
# File 'lib/increase/models/card_payment.rb', line 8472

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

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

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



8482
8483
8484
# File 'lib/increase/models/card_payment.rb', line 8482

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

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

An unknown additional amount.



8490
8491
8492
# File 'lib/increase/models/card_payment.rb', line 8490

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

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

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



8498
8499
8500
# File 'lib/increase/models/card_payment.rb', line 8498

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