Class: Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts

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


Instance Attribute Details

#clinicIncrease::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Clinic?

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



713
714
715
# File 'lib/increase/models/declined_transaction.rb', line 713

required :clinic,
-> { Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Clinic },
nil?: true

#dentalIncrease::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Dental?

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



721
722
723
# File 'lib/increase/models/declined_transaction.rb', line 721

required :dental,
-> { Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Dental },
nil?: true

#originalIncrease::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Original?

The original pre-authorized amount.



729
730
731
# File 'lib/increase/models/declined_transaction.rb', line 729

required :original,
-> { Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Original },
nil?: true

#prescriptionIncrease::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Prescription?

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



737
738
739
740
741
# File 'lib/increase/models/declined_transaction.rb', line 737

required :prescription,
-> {
  Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Prescription
},
nil?: true

#surchargeIncrease::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Surcharge?

The surcharge amount charged for this transaction by the merchant.



747
748
749
# File 'lib/increase/models/declined_transaction.rb', line 747

required :surcharge,
-> { Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Surcharge },
nil?: true

#total_cumulativeIncrease::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::TotalCumulative?

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



755
756
757
758
759
# File 'lib/increase/models/declined_transaction.rb', line 755

required :total_cumulative,
-> {
  Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::TotalCumulative
},
nil?: true

#total_healthcareIncrease::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::TotalHealthcare?

The total amount of healthcare-related additional amounts.



765
766
767
768
769
# File 'lib/increase/models/declined_transaction.rb', line 765

required :total_healthcare,
-> {
  Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::TotalHealthcare
},
nil?: true

#transitIncrease::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Transit?

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



775
776
777
# File 'lib/increase/models/declined_transaction.rb', line 775

required :transit,
-> { Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Transit },
nil?: true

#unknownIncrease::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Unknown?

An unknown additional amount.



783
784
785
# File 'lib/increase/models/declined_transaction.rb', line 783

required :unknown,
-> { Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Unknown },
nil?: true

#visionIncrease::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Vision?

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



791
792
793
# File 'lib/increase/models/declined_transaction.rb', line 791

required :vision,
-> { Increase::DeclinedTransaction::Source::CardDecline::AdditionalAmounts::Vision },
nil?: true