Class: Increase::Models::CardPayment::Element::CardDecline::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)

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

  • currency (String)

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



# File 'lib/increase/models/card_payment.rb', line 4101

Instance Attribute Details

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

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



4025
4026
4027
# File 'lib/increase/models/card_payment.rb', line 4025

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

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

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



4033
4034
4035
# File 'lib/increase/models/card_payment.rb', line 4033

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

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

The original pre-authorized amount.



4041
4042
4043
# File 'lib/increase/models/card_payment.rb', line 4041

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

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

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



4049
4050
4051
# File 'lib/increase/models/card_payment.rb', line 4049

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

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

The surcharge amount charged for this transaction by the merchant.



4057
4058
4059
# File 'lib/increase/models/card_payment.rb', line 4057

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

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

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



4065
4066
4067
# File 'lib/increase/models/card_payment.rb', line 4065

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

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

The total amount of healthcare-related additional amounts.



4073
4074
4075
# File 'lib/increase/models/card_payment.rb', line 4073

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

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

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



4081
4082
4083
# File 'lib/increase/models/card_payment.rb', line 4081

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

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

An unknown additional amount.



4089
4090
4091
# File 'lib/increase/models/card_payment.rb', line 4089

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

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

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



4097
4098
4099
# File 'lib/increase/models/card_payment.rb', line 4097

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