Class: Increase::Models::CardPayment::Element::CardAuthorization::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 999

Instance Attribute Details

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

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



917
918
919
# File 'lib/increase/models/card_payment.rb', line 917

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

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

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



925
926
927
# File 'lib/increase/models/card_payment.rb', line 925

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

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

The original pre-authorized amount.



933
934
935
# File 'lib/increase/models/card_payment.rb', line 933

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

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

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



941
942
943
944
945
# File 'lib/increase/models/card_payment.rb', line 941

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

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

The surcharge amount charged for this transaction by the merchant.



951
952
953
# File 'lib/increase/models/card_payment.rb', line 951

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

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

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



959
960
961
962
963
# File 'lib/increase/models/card_payment.rb', line 959

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

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

The total amount of healthcare-related additional amounts.



969
970
971
972
973
# File 'lib/increase/models/card_payment.rb', line 969

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

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

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



979
980
981
# File 'lib/increase/models/card_payment.rb', line 979

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

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

An unknown additional amount.



987
988
989
# File 'lib/increase/models/card_payment.rb', line 987

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

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

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



995
996
997
# File 'lib/increase/models/card_payment.rb', line 995

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