From b463a267127088062f458918ba41aeb178d27a23 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 23 Sep 2025 23:23:33 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 +- lib/increase/models/card_payment.rb | 216 +++++++++----- lib/increase/models/declined_transaction.rb | 54 ++-- lib/increase/models/pending_transaction.rb | 54 ++-- lib/increase/models/real_time_decision.rb | 54 ++-- rbi/increase/models/card_payment.rbi | 288 ++++++++++++++----- rbi/increase/models/declined_transaction.rbi | 72 +++-- rbi/increase/models/pending_transaction.rbi | 72 +++-- rbi/increase/models/real_time_decision.rbi | 72 +++-- 9 files changed, 632 insertions(+), 254 deletions(-) diff --git a/.stats.yml b/.stats.yml index d265c5e45..776d32426 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 214 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-c92eec60054dfe853fc3f3147d60329d0b24e65d6e29a707d17f1e8c1b44bd7b.yml -openapi_spec_hash: cbe8d84401e587a8ebfd5037cf2bf7be +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-beb9032c2ea0fb6fb46727701c252d27d8f2f77688472dc922fb10afb142dd1c.yml +openapi_spec_hash: dc5aa90744d4e0958a9a2d652adda0ba config_hash: 8dadd60eab7ab858cf06c6a8633ed9f3 diff --git a/lib/increase/models/card_payment.rb b/lib/increase/models/card_payment.rb index 6784ce53b..b03ec94e8 100644 --- a/lib/increase/models/card_payment.rb +++ b/lib/increase/models/card_payment.rb @@ -1007,7 +1007,9 @@ class AdditionalAmounts < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts#clinic class Clinic < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -1026,7 +1028,7 @@ class Clinic < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for clinic-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -1034,7 +1036,9 @@ class Clinic < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts#dental class Dental < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -1053,7 +1057,7 @@ class Dental < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for dental-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -1061,7 +1065,9 @@ class Dental < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts#prescription class Prescription < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -1080,7 +1086,7 @@ class Prescription < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for healthcare prescriptions. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -1088,7 +1094,9 @@ class Prescription < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts#surcharge class Surcharge < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -1107,7 +1115,7 @@ class Surcharge < Increase::Internal::Type::BaseModel # # The surcharge amount charged for this transaction by the merchant. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -1115,7 +1123,9 @@ class Surcharge < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts#total_cumulative class TotalCumulative < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -1134,7 +1144,7 @@ class TotalCumulative < Increase::Internal::Type::BaseModel # # The total amount of a series of incremental authorizations, optionally provided. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -1142,7 +1152,9 @@ class TotalCumulative < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts#total_healthcare class TotalHealthcare < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -1161,7 +1173,7 @@ class TotalHealthcare < Increase::Internal::Type::BaseModel # # The total amount of healthcare-related additional amounts. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -1169,7 +1181,9 @@ class TotalHealthcare < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts#transit class Transit < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -1188,7 +1202,7 @@ class Transit < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for transit-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -1196,7 +1210,9 @@ class Transit < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts#unknown class Unknown < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -1215,7 +1231,7 @@ class Unknown < Increase::Internal::Type::BaseModel # # An unknown additional amount. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -1223,7 +1239,9 @@ class Unknown < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardAuthorization::AdditionalAmounts#vision class Vision < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -1242,7 +1260,7 @@ class Vision < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for vision-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -2237,7 +2255,9 @@ class AdditionalAmounts < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#clinic class Clinic < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -2256,7 +2276,7 @@ class Clinic < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for clinic-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -2264,7 +2284,9 @@ class Clinic < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#dental class Dental < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -2283,7 +2305,7 @@ class Dental < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for dental-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -2291,7 +2313,9 @@ class Dental < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#prescription class Prescription < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -2310,7 +2334,7 @@ class Prescription < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for healthcare prescriptions. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -2318,7 +2342,9 @@ class Prescription < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#surcharge class Surcharge < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -2337,7 +2363,7 @@ class Surcharge < Increase::Internal::Type::BaseModel # # The surcharge amount charged for this transaction by the merchant. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -2345,7 +2371,9 @@ class Surcharge < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#total_cumulative class TotalCumulative < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -2364,7 +2392,7 @@ class TotalCumulative < Increase::Internal::Type::BaseModel # # The total amount of a series of incremental authorizations, optionally provided. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -2372,7 +2400,9 @@ class TotalCumulative < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#total_healthcare class TotalHealthcare < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -2391,7 +2421,7 @@ class TotalHealthcare < Increase::Internal::Type::BaseModel # # The total amount of healthcare-related additional amounts. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -2399,7 +2429,9 @@ class TotalHealthcare < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#transit class Transit < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -2418,7 +2450,7 @@ class Transit < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for transit-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -2426,7 +2458,9 @@ class Transit < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#unknown class Unknown < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -2445,7 +2479,7 @@ class Unknown < Increase::Internal::Type::BaseModel # # An unknown additional amount. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -2453,7 +2487,9 @@ class Unknown < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardDecline::AdditionalAmounts#vision class Vision < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -2472,7 +2508,7 @@ class Vision < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for vision-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -3486,7 +3522,9 @@ class AdditionalAmounts < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts#clinic class Clinic < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -3505,7 +3543,7 @@ class Clinic < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for clinic-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -3513,7 +3551,9 @@ class Clinic < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts#dental class Dental < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -3532,7 +3572,7 @@ class Dental < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for dental-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -3540,7 +3580,9 @@ class Dental < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts#prescription class Prescription < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -3559,7 +3601,7 @@ class Prescription < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for healthcare prescriptions. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -3567,7 +3609,9 @@ class Prescription < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts#surcharge class Surcharge < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -3586,7 +3630,7 @@ class Surcharge < Increase::Internal::Type::BaseModel # # The surcharge amount charged for this transaction by the merchant. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -3594,7 +3638,9 @@ class Surcharge < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts#total_cumulative class TotalCumulative < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -3613,7 +3659,7 @@ class TotalCumulative < Increase::Internal::Type::BaseModel # # The total amount of a series of incremental authorizations, optionally provided. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -3621,7 +3667,9 @@ class TotalCumulative < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts#total_healthcare class TotalHealthcare < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -3640,7 +3688,7 @@ class TotalHealthcare < Increase::Internal::Type::BaseModel # # The total amount of healthcare-related additional amounts. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -3648,7 +3696,9 @@ class TotalHealthcare < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts#transit class Transit < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -3667,7 +3717,7 @@ class Transit < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for transit-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -3675,7 +3725,9 @@ class Transit < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts#unknown class Unknown < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -3694,7 +3746,7 @@ class Unknown < Increase::Internal::Type::BaseModel # # An unknown additional amount. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -3702,7 +3754,9 @@ class Unknown < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardIncrement::AdditionalAmounts#vision class Vision < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -3721,7 +3775,7 @@ class Vision < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for vision-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -7234,7 +7288,9 @@ class AdditionalAmounts < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts#clinic class Clinic < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -7253,7 +7309,7 @@ class Clinic < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for clinic-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -7261,7 +7317,9 @@ class Clinic < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts#dental class Dental < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -7280,7 +7338,7 @@ class Dental < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for dental-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -7288,7 +7346,9 @@ class Dental < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts#prescription class Prescription < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -7307,7 +7367,7 @@ class Prescription < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for healthcare prescriptions. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -7315,7 +7375,9 @@ class Prescription < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts#surcharge class Surcharge < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -7334,7 +7396,7 @@ class Surcharge < Increase::Internal::Type::BaseModel # # The surcharge amount charged for this transaction by the merchant. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -7342,7 +7404,9 @@ class Surcharge < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts#total_cumulative class TotalCumulative < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -7361,7 +7425,7 @@ class TotalCumulative < Increase::Internal::Type::BaseModel # # The total amount of a series of incremental authorizations, optionally provided. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -7369,7 +7433,9 @@ class TotalCumulative < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts#total_healthcare class TotalHealthcare < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -7388,7 +7454,7 @@ class TotalHealthcare < Increase::Internal::Type::BaseModel # # The total amount of healthcare-related additional amounts. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -7396,7 +7462,9 @@ class TotalHealthcare < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts#transit class Transit < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -7415,7 +7483,7 @@ class Transit < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for transit-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -7423,7 +7491,9 @@ class Transit < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts#unknown class Unknown < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -7442,7 +7512,7 @@ class Unknown < Increase::Internal::Type::BaseModel # # An unknown additional amount. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -7450,7 +7520,9 @@ class Unknown < Increase::Internal::Type::BaseModel # @see Increase::Models::CardPayment::Element::CardValidation::AdditionalAmounts#vision class Vision < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -7469,7 +7541,7 @@ class Vision < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for vision-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end diff --git a/lib/increase/models/declined_transaction.rb b/lib/increase/models/declined_transaction.rb index c86ac0e4d..e6e8ea3e8 100644 --- a/lib/increase/models/declined_transaction.rb +++ b/lib/increase/models/declined_transaction.rb @@ -828,7 +828,9 @@ class AdditionalAmounts < Increase::Internal::Type::BaseModel # @see Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts#clinic class Clinic < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -847,7 +849,7 @@ class Clinic < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for clinic-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -855,7 +857,9 @@ class Clinic < Increase::Internal::Type::BaseModel # @see Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts#dental class Dental < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -874,7 +878,7 @@ class Dental < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for dental-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -882,7 +886,9 @@ class Dental < Increase::Internal::Type::BaseModel # @see Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts#prescription class Prescription < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -901,7 +907,7 @@ class Prescription < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for healthcare prescriptions. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -909,7 +915,9 @@ class Prescription < Increase::Internal::Type::BaseModel # @see Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts#surcharge class Surcharge < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -928,7 +936,7 @@ class Surcharge < Increase::Internal::Type::BaseModel # # The surcharge amount charged for this transaction by the merchant. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -936,7 +944,9 @@ class Surcharge < Increase::Internal::Type::BaseModel # @see Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts#total_cumulative class TotalCumulative < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -955,7 +965,7 @@ class TotalCumulative < Increase::Internal::Type::BaseModel # # The total amount of a series of incremental authorizations, optionally provided. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -963,7 +973,9 @@ class TotalCumulative < Increase::Internal::Type::BaseModel # @see Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts#total_healthcare class TotalHealthcare < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -982,7 +994,7 @@ class TotalHealthcare < Increase::Internal::Type::BaseModel # # The total amount of healthcare-related additional amounts. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -990,7 +1002,9 @@ class TotalHealthcare < Increase::Internal::Type::BaseModel # @see Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts#transit class Transit < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -1009,7 +1023,7 @@ class Transit < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for transit-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -1017,7 +1031,9 @@ class Transit < Increase::Internal::Type::BaseModel # @see Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts#unknown class Unknown < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -1036,7 +1052,7 @@ class Unknown < Increase::Internal::Type::BaseModel # # An unknown additional amount. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -1044,7 +1060,9 @@ class Unknown < Increase::Internal::Type::BaseModel # @see Increase::Models::DeclinedTransaction::Source::CardDecline::AdditionalAmounts#vision class Vision < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -1063,7 +1081,7 @@ class Vision < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for vision-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end diff --git a/lib/increase/models/pending_transaction.rb b/lib/increase/models/pending_transaction.rb index 6918cc827..cb0d6083c 100644 --- a/lib/increase/models/pending_transaction.rb +++ b/lib/increase/models/pending_transaction.rb @@ -866,7 +866,9 @@ class AdditionalAmounts < Increase::Internal::Type::BaseModel # @see Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts#clinic class Clinic < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -885,7 +887,7 @@ class Clinic < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for clinic-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -893,7 +895,9 @@ class Clinic < Increase::Internal::Type::BaseModel # @see Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts#dental class Dental < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -912,7 +916,7 @@ class Dental < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for dental-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -920,7 +924,9 @@ class Dental < Increase::Internal::Type::BaseModel # @see Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts#prescription class Prescription < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -939,7 +945,7 @@ class Prescription < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for healthcare prescriptions. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -947,7 +953,9 @@ class Prescription < Increase::Internal::Type::BaseModel # @see Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts#surcharge class Surcharge < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -966,7 +974,7 @@ class Surcharge < Increase::Internal::Type::BaseModel # # The surcharge amount charged for this transaction by the merchant. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -974,7 +982,9 @@ class Surcharge < Increase::Internal::Type::BaseModel # @see Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts#total_cumulative class TotalCumulative < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -993,7 +1003,7 @@ class TotalCumulative < Increase::Internal::Type::BaseModel # # The total amount of a series of incremental authorizations, optionally provided. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -1001,7 +1011,9 @@ class TotalCumulative < Increase::Internal::Type::BaseModel # @see Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts#total_healthcare class TotalHealthcare < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -1020,7 +1032,7 @@ class TotalHealthcare < Increase::Internal::Type::BaseModel # # The total amount of healthcare-related additional amounts. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -1028,7 +1040,9 @@ class TotalHealthcare < Increase::Internal::Type::BaseModel # @see Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts#transit class Transit < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -1047,7 +1061,7 @@ class Transit < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for transit-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -1055,7 +1069,9 @@ class Transit < Increase::Internal::Type::BaseModel # @see Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts#unknown class Unknown < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -1074,7 +1090,7 @@ class Unknown < Increase::Internal::Type::BaseModel # # An unknown additional amount. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -1082,7 +1098,9 @@ class Unknown < Increase::Internal::Type::BaseModel # @see Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts#vision class Vision < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -1101,7 +1119,7 @@ class Vision < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for vision-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end diff --git a/lib/increase/models/real_time_decision.rb b/lib/increase/models/real_time_decision.rb index 90c7ae3a1..3c66f6ad1 100644 --- a/lib/increase/models/real_time_decision.rb +++ b/lib/increase/models/real_time_decision.rb @@ -587,7 +587,9 @@ class AdditionalAmounts < Increase::Internal::Type::BaseModel # @see Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts#clinic class Clinic < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -606,7 +608,7 @@ class Clinic < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for clinic-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -614,7 +616,9 @@ class Clinic < Increase::Internal::Type::BaseModel # @see Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts#dental class Dental < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -633,7 +637,7 @@ class Dental < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for dental-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -641,7 +645,9 @@ class Dental < Increase::Internal::Type::BaseModel # @see Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts#prescription class Prescription < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -660,7 +666,7 @@ class Prescription < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for healthcare prescriptions. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -668,7 +674,9 @@ class Prescription < Increase::Internal::Type::BaseModel # @see Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts#surcharge class Surcharge < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -687,7 +695,7 @@ class Surcharge < Increase::Internal::Type::BaseModel # # The surcharge amount charged for this transaction by the merchant. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -695,7 +703,9 @@ class Surcharge < Increase::Internal::Type::BaseModel # @see Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts#total_cumulative class TotalCumulative < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -714,7 +724,7 @@ class TotalCumulative < Increase::Internal::Type::BaseModel # # The total amount of a series of incremental authorizations, optionally provided. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -722,7 +732,9 @@ class TotalCumulative < Increase::Internal::Type::BaseModel # @see Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts#total_healthcare class TotalHealthcare < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -741,7 +753,7 @@ class TotalHealthcare < Increase::Internal::Type::BaseModel # # The total amount of healthcare-related additional amounts. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -749,7 +761,9 @@ class TotalHealthcare < Increase::Internal::Type::BaseModel # @see Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts#transit class Transit < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -768,7 +782,7 @@ class Transit < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for transit-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -776,7 +790,9 @@ class Transit < Increase::Internal::Type::BaseModel # @see Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts#unknown class Unknown < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -795,7 +811,7 @@ class Unknown < Increase::Internal::Type::BaseModel # # An unknown additional amount. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end @@ -803,7 +819,9 @@ class Unknown < Increase::Internal::Type::BaseModel # @see Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts#vision class Vision < Increase::Internal::Type::BaseModel # @!attribute amount - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). # # @return [Integer] required :amount, Integer @@ -822,7 +840,7 @@ class Vision < Increase::Internal::Type::BaseModel # # The part of this transaction amount that was for vision-related services. # - # @param amount [Integer] The amount in minor units of the `currency` field. + # @param amount [Integer] The amount in minor units of the `currency` field. The amount is positive if it # # @param currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional a end diff --git a/rbi/increase/models/card_payment.rbi b/rbi/increase/models/card_payment.rbi index 9da20fe75..f33b704b9 100644 --- a/rbi/increase/models/card_payment.rbi +++ b/rbi/increase/models/card_payment.rbi @@ -1900,7 +1900,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1916,7 +1918,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -1938,7 +1942,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1954,7 +1960,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -1976,7 +1984,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1992,7 +2002,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -2014,7 +2026,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -2030,7 +2044,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -2052,7 +2068,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -2068,7 +2086,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -2090,7 +2110,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -2106,7 +2128,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -2128,7 +2152,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -2144,7 +2170,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -2166,7 +2194,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -2182,7 +2212,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -2204,7 +2236,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -2220,7 +2254,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -4253,7 +4289,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -4269,7 +4307,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -4291,7 +4331,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -4307,7 +4349,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -4329,7 +4373,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -4345,7 +4391,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -4367,7 +4415,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -4383,7 +4433,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -4405,7 +4457,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -4421,7 +4475,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -4443,7 +4499,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -4459,7 +4517,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -4481,7 +4541,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -4497,7 +4559,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -4519,7 +4583,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -4535,7 +4601,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -4557,7 +4625,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -4573,7 +4643,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -6731,7 +6803,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -6747,7 +6821,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -6769,7 +6845,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -6785,7 +6863,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -6807,7 +6887,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -6823,7 +6905,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -6845,7 +6929,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -6861,7 +6947,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -6883,7 +6971,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -6899,7 +6989,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -6921,7 +7013,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -6937,7 +7031,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -6959,7 +7055,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -6975,7 +7073,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -6997,7 +7097,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -7013,7 +7115,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -7035,7 +7139,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -7051,7 +7157,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -13405,7 +13513,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -13421,7 +13531,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -13443,7 +13555,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -13459,7 +13573,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -13481,7 +13597,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -13497,7 +13615,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -13519,7 +13639,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -13535,7 +13657,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -13557,7 +13681,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -13573,7 +13699,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -13595,7 +13723,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -13611,7 +13741,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -13633,7 +13765,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -13649,7 +13783,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -13671,7 +13807,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -13687,7 +13825,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -13709,7 +13849,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -13725,7 +13867,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. diff --git a/rbi/increase/models/declined_transaction.rbi b/rbi/increase/models/declined_transaction.rbi index 82f7dda84..fda168f06 100644 --- a/rbi/increase/models/declined_transaction.rbi +++ b/rbi/increase/models/declined_transaction.rbi @@ -1534,7 +1534,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1550,7 +1552,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -1572,7 +1576,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1588,7 +1594,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -1610,7 +1618,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1626,7 +1636,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -1648,7 +1660,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1664,7 +1678,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -1686,7 +1702,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1702,7 +1720,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -1724,7 +1744,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1740,7 +1762,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -1762,7 +1786,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1778,7 +1804,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -1800,7 +1828,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1816,7 +1846,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -1838,7 +1870,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1854,7 +1888,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. diff --git a/rbi/increase/models/pending_transaction.rbi b/rbi/increase/models/pending_transaction.rbi index 74b0825b8..020e5ff09 100644 --- a/rbi/increase/models/pending_transaction.rbi +++ b/rbi/increase/models/pending_transaction.rbi @@ -1629,7 +1629,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1645,7 +1647,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -1667,7 +1671,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1683,7 +1689,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -1705,7 +1713,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1721,7 +1731,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -1743,7 +1755,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1759,7 +1773,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -1781,7 +1797,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1797,7 +1815,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -1819,7 +1839,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1835,7 +1857,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -1857,7 +1881,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1873,7 +1899,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -1895,7 +1923,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1911,7 +1941,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -1933,7 +1965,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1949,7 +1983,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. diff --git a/rbi/increase/models/real_time_decision.rbi b/rbi/increase/models/real_time_decision.rbi index 7feda231a..cf248135b 100644 --- a/rbi/increase/models/real_time_decision.rbi +++ b/rbi/increase/models/real_time_decision.rbi @@ -1127,7 +1127,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1143,7 +1145,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -1165,7 +1169,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1181,7 +1187,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -1203,7 +1211,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1219,7 +1229,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -1241,7 +1253,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1257,7 +1271,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -1279,7 +1295,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1295,7 +1313,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -1317,7 +1337,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1333,7 +1355,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -1355,7 +1379,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1371,7 +1397,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -1393,7 +1421,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1409,7 +1439,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. @@ -1431,7 +1463,9 @@ module Increase ) end - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). sig { returns(Integer) } attr_accessor :amount @@ -1447,7 +1481,9 @@ module Increase ) end def self.new( - # The amount in minor units of the `currency` field. + # The amount in minor units of the `currency` field. The amount is positive if it + # is added to the amount (such as an ATM surcharge fee) and negative if it is + # subtracted from the amount (such as a discount). amount:, # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the additional # amount's currency. From 341881c7216af261851c5b9c531e63033395426b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 23 Sep 2025 23:23:54 +0000 Subject: [PATCH 2/2] release: 1.87.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ Gemfile.lock | 2 +- README.md | 2 +- lib/increase/version.rb | 2 +- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index ceafc9afb..5e0920bd5 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.86.0" + ".": "1.87.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index a8fe4e2b4..8b1e0d1a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.87.0 (2025-09-23) + +Full Changelog: [v1.86.0...v1.87.0](https://github.com/Increase/increase-ruby/compare/v1.86.0...v1.87.0) + +### Features + +* **api:** api update ([b463a26](https://github.com/Increase/increase-ruby/commit/b463a267127088062f458918ba41aeb178d27a23)) + ## 1.86.0 (2025-09-23) Full Changelog: [v1.85.0...v1.86.0](https://github.com/Increase/increase-ruby/compare/v1.85.0...v1.86.0) diff --git a/Gemfile.lock b/Gemfile.lock index b0f3aa00c..0f0cd1bfb 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (1.86.0) + increase (1.87.0) connection_pool GEM diff --git a/README.md b/README.md index bb3b74b22..4f0eeb385 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application ```ruby -gem "increase", "~> 1.86.0" +gem "increase", "~> 1.87.0" ``` diff --git a/lib/increase/version.rb b/lib/increase/version.rb index 847b3b1ac..b41e0bb39 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "1.86.0" + VERSION = "1.87.0" end