Class: Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts

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


Instance Attribute Details

#clinicIncrease::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts::Clinic?

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



493
494
495
# File 'lib/increase/models/real_time_decision.rb', line 493

required :clinic,
-> { Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Clinic },
nil?: true

#dentalIncrease::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts::Dental?

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



501
502
503
# File 'lib/increase/models/real_time_decision.rb', line 501

required :dental,
-> { Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Dental },
nil?: true

#originalIncrease::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts::Original?

The original pre-authorized amount.



509
510
511
# File 'lib/increase/models/real_time_decision.rb', line 509

required :original,
-> { Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Original },
nil?: true

#prescriptionIncrease::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts::Prescription?

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



517
518
519
# File 'lib/increase/models/real_time_decision.rb', line 517

required :prescription,
-> { Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Prescription },
nil?: true

#surchargeIncrease::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts::Surcharge?

The surcharge amount charged for this transaction by the merchant.



525
526
527
# File 'lib/increase/models/real_time_decision.rb', line 525

required :surcharge,
-> { Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Surcharge },
nil?: true

#total_cumulativeIncrease::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts::TotalCumulative?

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



533
534
535
# File 'lib/increase/models/real_time_decision.rb', line 533

required :total_cumulative,
-> { Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::TotalCumulative },
nil?: true

#total_healthcareIncrease::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts::TotalHealthcare?

The total amount of healthcare-related additional amounts.



541
542
543
# File 'lib/increase/models/real_time_decision.rb', line 541

required :total_healthcare,
-> { Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::TotalHealthcare },
nil?: true

#transitIncrease::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts::Transit?

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



549
550
551
# File 'lib/increase/models/real_time_decision.rb', line 549

required :transit,
-> { Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Transit },
nil?: true

#unknownIncrease::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts::Unknown?

An unknown additional amount.



557
558
559
# File 'lib/increase/models/real_time_decision.rb', line 557

required :unknown,
-> { Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Unknown },
nil?: true

#visionIncrease::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts::Vision?

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



565
566
567
# File 'lib/increase/models/real_time_decision.rb', line 565

required :vision,
-> { Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts::Vision },
nil?: true