Class: Increase::Models::CardPayment::Element::CardFinancial::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 4956

Instance Attribute Details

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

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



4880
4881
4882
# File 'lib/increase/models/card_payment.rb', line 4880

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

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

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



4888
4889
4890
# File 'lib/increase/models/card_payment.rb', line 4888

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

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

The original pre-authorized amount.



4896
4897
4898
# File 'lib/increase/models/card_payment.rb', line 4896

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

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

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



4904
4905
4906
# File 'lib/increase/models/card_payment.rb', line 4904

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

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

The surcharge amount charged for this transaction by the merchant.



4912
4913
4914
# File 'lib/increase/models/card_payment.rb', line 4912

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

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

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



4920
4921
4922
# File 'lib/increase/models/card_payment.rb', line 4920

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

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

The total amount of healthcare-related additional amounts.



4928
4929
4930
# File 'lib/increase/models/card_payment.rb', line 4928

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

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

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



4936
4937
4938
# File 'lib/increase/models/card_payment.rb', line 4936

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

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

An unknown additional amount.



4944
4945
4946
# File 'lib/increase/models/card_payment.rb', line 4944

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

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

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



4952
4953
4954
# File 'lib/increase/models/card_payment.rb', line 4952

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