increase 1.273.0 → 1.275.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3171,6 +3171,14 @@ module Increase
3171
3171
  sig { returns(T.nilable(String)) }
3172
3172
  attr_accessor :real_time_decision_id
3173
3173
 
3174
+ # The scheme fees associated with this card financial.
3175
+ sig do
3176
+ returns(
3177
+ T::Array[Increase::Transaction::Source::CardFinancial::SchemeFee]
3178
+ )
3179
+ end
3180
+ attr_accessor :scheme_fees
3181
+
3174
3182
  # The terminal identifier (commonly abbreviated as TID) of the terminal the card
3175
3183
  # is transacting with.
3176
3184
  sig { returns(T.nilable(String)) }
@@ -3238,6 +3246,10 @@ module Increase
3238
3246
  processing_category:
3239
3247
  Increase::Transaction::Source::CardFinancial::ProcessingCategory::OrSymbol,
3240
3248
  real_time_decision_id: T.nilable(String),
3249
+ scheme_fees:
3250
+ T::Array[
3251
+ Increase::Transaction::Source::CardFinancial::SchemeFee::OrHash
3252
+ ],
3241
3253
  terminal_id: T.nilable(String),
3242
3254
  transaction_id: String,
3243
3255
  type:
@@ -3309,6 +3321,8 @@ module Increase
3309
3321
  # The identifier of the Real-Time Decision sent to approve or decline this
3310
3322
  # transaction.
3311
3323
  real_time_decision_id:,
3324
+ # The scheme fees associated with this card financial.
3325
+ scheme_fees:,
3312
3326
  # The terminal identifier (commonly abbreviated as TID) of the terminal the card
3313
3327
  # is transacting with.
3314
3328
  terminal_id:,
@@ -3355,6 +3369,10 @@ module Increase
3355
3369
  processing_category:
3356
3370
  Increase::Transaction::Source::CardFinancial::ProcessingCategory::TaggedSymbol,
3357
3371
  real_time_decision_id: T.nilable(String),
3372
+ scheme_fees:
3373
+ T::Array[
3374
+ Increase::Transaction::Source::CardFinancial::SchemeFee
3375
+ ],
3358
3376
  terminal_id: T.nilable(String),
3359
3377
  transaction_id: String,
3360
3378
  type:
@@ -5024,6 +5042,360 @@ module Increase
5024
5042
  end
5025
5043
  end
5026
5044
 
5045
+ class SchemeFee < Increase::Internal::Type::BaseModel
5046
+ OrHash =
5047
+ T.type_alias do
5048
+ T.any(
5049
+ Increase::Transaction::Source::CardFinancial::SchemeFee,
5050
+ Increase::Internal::AnyHash
5051
+ )
5052
+ end
5053
+
5054
+ # The fee amount given as a string containing a decimal number.
5055
+ sig { returns(String) }
5056
+ attr_accessor :amount
5057
+
5058
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
5059
+ # created.
5060
+ sig { returns(Time) }
5061
+ attr_accessor :created_at
5062
+
5063
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
5064
+ # reimbursement.
5065
+ sig do
5066
+ returns(
5067
+ Increase::Transaction::Source::CardFinancial::SchemeFee::Currency::TaggedSymbol
5068
+ )
5069
+ end
5070
+ attr_accessor :currency
5071
+
5072
+ # The type of fee being assessed.
5073
+ sig do
5074
+ returns(
5075
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5076
+ )
5077
+ end
5078
+ attr_accessor :fee_type
5079
+
5080
+ # The fixed component of the fee, if applicable, given in major units of the fee
5081
+ # amount.
5082
+ sig { returns(T.nilable(String)) }
5083
+ attr_accessor :fixed_component
5084
+
5085
+ # The variable rate component of the fee, if applicable, given as a decimal (e.g.,
5086
+ # 0.015 for 1.5%).
5087
+ sig { returns(T.nilable(String)) }
5088
+ attr_accessor :variable_rate
5089
+
5090
+ sig do
5091
+ params(
5092
+ amount: String,
5093
+ created_at: Time,
5094
+ currency:
5095
+ Increase::Transaction::Source::CardFinancial::SchemeFee::Currency::OrSymbol,
5096
+ fee_type:
5097
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::OrSymbol,
5098
+ fixed_component: T.nilable(String),
5099
+ variable_rate: T.nilable(String)
5100
+ ).returns(T.attached_class)
5101
+ end
5102
+ def self.new(
5103
+ # The fee amount given as a string containing a decimal number.
5104
+ amount:,
5105
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
5106
+ # created.
5107
+ created_at:,
5108
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
5109
+ # reimbursement.
5110
+ currency:,
5111
+ # The type of fee being assessed.
5112
+ fee_type:,
5113
+ # The fixed component of the fee, if applicable, given in major units of the fee
5114
+ # amount.
5115
+ fixed_component:,
5116
+ # The variable rate component of the fee, if applicable, given as a decimal (e.g.,
5117
+ # 0.015 for 1.5%).
5118
+ variable_rate:
5119
+ )
5120
+ end
5121
+
5122
+ sig do
5123
+ override.returns(
5124
+ {
5125
+ amount: String,
5126
+ created_at: Time,
5127
+ currency:
5128
+ Increase::Transaction::Source::CardFinancial::SchemeFee::Currency::TaggedSymbol,
5129
+ fee_type:
5130
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol,
5131
+ fixed_component: T.nilable(String),
5132
+ variable_rate: T.nilable(String)
5133
+ }
5134
+ )
5135
+ end
5136
+ def to_hash
5137
+ end
5138
+
5139
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
5140
+ # reimbursement.
5141
+ module Currency
5142
+ extend Increase::Internal::Type::Enum
5143
+
5144
+ TaggedSymbol =
5145
+ T.type_alias do
5146
+ T.all(
5147
+ Symbol,
5148
+ Increase::Transaction::Source::CardFinancial::SchemeFee::Currency
5149
+ )
5150
+ end
5151
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
5152
+
5153
+ # US Dollar (USD)
5154
+ USD =
5155
+ T.let(
5156
+ :USD,
5157
+ Increase::Transaction::Source::CardFinancial::SchemeFee::Currency::TaggedSymbol
5158
+ )
5159
+
5160
+ sig do
5161
+ override.returns(
5162
+ T::Array[
5163
+ Increase::Transaction::Source::CardFinancial::SchemeFee::Currency::TaggedSymbol
5164
+ ]
5165
+ )
5166
+ end
5167
+ def self.values
5168
+ end
5169
+ end
5170
+
5171
+ # The type of fee being assessed.
5172
+ module FeeType
5173
+ extend Increase::Internal::Type::Enum
5174
+
5175
+ TaggedSymbol =
5176
+ T.type_alias do
5177
+ T.all(
5178
+ Symbol,
5179
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType
5180
+ )
5181
+ end
5182
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
5183
+
5184
+ # International Service Assessment (ISA) single-currency is a fee assessed by the card network for cross-border transactions presented and settled in the same currency.
5185
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_SINGLE_CURRENCY =
5186
+ T.let(
5187
+ :visa_international_service_assessment_single_currency,
5188
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5189
+ )
5190
+
5191
+ # International Service Assessment (ISA) cross-currency is a fee assessed by the card network for cross-border transactions presented and settled in different currencies.
5192
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_CROSS_CURRENCY =
5193
+ T.let(
5194
+ :visa_international_service_assessment_cross_currency,
5195
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5196
+ )
5197
+
5198
+ # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
5199
+ VISA_AUTHORIZATION_DOMESTIC_POINT_OF_SALE =
5200
+ T.let(
5201
+ :visa_authorization_domestic_point_of_sale,
5202
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5203
+ )
5204
+
5205
+ # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) International authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
5206
+ VISA_AUTHORIZATION_INTERNATIONAL_POINT_OF_SALE =
5207
+ T.let(
5208
+ :visa_authorization_international_point_of_sale,
5209
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5210
+ )
5211
+
5212
+ # Activity and charges for Visa Settlement System processing for Canada Region POS (Point-of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified.
5213
+ VISA_AUTHORIZATION_CANADA_POINT_OF_SALE =
5214
+ T.let(
5215
+ :visa_authorization_canada_point_of_sale,
5216
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5217
+ )
5218
+
5219
+ # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
5220
+ VISA_AUTHORIZATION_REVERSAL_POINT_OF_SALE =
5221
+ T.let(
5222
+ :visa_authorization_reversal_point_of_sale,
5223
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5224
+ )
5225
+
5226
+ # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) International reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
5227
+ VISA_AUTHORIZATION_REVERSAL_INTERNATIONAL_POINT_OF_SALE =
5228
+ T.let(
5229
+ :visa_authorization_reversal_international_point_of_sale,
5230
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5231
+ )
5232
+
5233
+ # A per Address Verification Service (AVS) result fee. Applies to all usable AVS result codes.
5234
+ VISA_AUTHORIZATION_ADDRESS_VERIFICATION_SERVICE =
5235
+ T.let(
5236
+ :visa_authorization_address_verification_service,
5237
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5238
+ )
5239
+
5240
+ # Advanced Authorization is a fraud detection tool that monitors and risk evaluates 100 percent of US VisaNet authorizations in real-time. Activity related to Purchase (includes Signature Authenticated Visa and PIN Authenticated Visa Debit (PAVD) transactions).
5241
+ VISA_ADVANCED_AUTHORIZATION =
5242
+ T.let(
5243
+ :visa_advanced_authorization,
5244
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5245
+ )
5246
+
5247
+ # Issuer Transactions Visa represents a charge based on total actual monthly processing (Visa transactions only) through a VisaNet Access Point (VAP). Charges are assessed to the processor for each VisaNet Access Point.
5248
+ VISA_MESSAGE_TRANSMISSION =
5249
+ T.let(
5250
+ :visa_message_transmission,
5251
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5252
+ )
5253
+
5254
+ # Activity, per inquiry, related to the domestic Issuer for Account Number Verification.
5255
+ VISA_ACCOUNT_VERIFICATION_DOMESTIC =
5256
+ T.let(
5257
+ :visa_account_verification_domestic,
5258
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5259
+ )
5260
+
5261
+ # Activity, per inquiry, related to the international Issuer for Account Number Verification.
5262
+ VISA_ACCOUNT_VERIFICATION_INTERNATIONAL =
5263
+ T.let(
5264
+ :visa_account_verification_international,
5265
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5266
+ )
5267
+
5268
+ # Activity, per inquiry, related to the US-Canada Issuer for Account Number Verification.
5269
+ VISA_ACCOUNT_VERIFICATION_CANADA =
5270
+ T.let(
5271
+ :visa_account_verification_canada,
5272
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5273
+ )
5274
+
5275
+ # The Corporate Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
5276
+ VISA_CORPORATE_ACCEPTANCE_FEE =
5277
+ T.let(
5278
+ :visa_corporate_acceptance_fee,
5279
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5280
+ )
5281
+
5282
+ # The Consumer Debit Acceptance Fee is charged to issuers and is based on the monthly sales volume of Consumer Debit or Prepaid card transactions. The cashback portion of a Debit and Prepaid card transaction is excluded from the sales volume calculation.
5283
+ VISA_CONSUMER_DEBIT_ACCEPTANCE_FEE =
5284
+ T.let(
5285
+ :visa_consumer_debit_acceptance_fee,
5286
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5287
+ )
5288
+
5289
+ # The Business Acceptance Fee is charged to issuers and is based on the monthly sales volume on Business Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions. The cashback portion is included in the sales volume calculation with the exception of a Debit and Prepaid card transactions.
5290
+ VISA_BUSINESS_DEBIT_ACCEPTANCE_FEE =
5291
+ T.let(
5292
+ :visa_business_debit_acceptance_fee,
5293
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5294
+ )
5295
+
5296
+ # The Purchasing Card Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
5297
+ VISA_PURCHASING_ACCEPTANCE_FEE =
5298
+ T.let(
5299
+ :visa_purchasing_acceptance_fee,
5300
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5301
+ )
5302
+
5303
+ # Activity and fees for the processing of a sales draft original for a purchase transaction.
5304
+ VISA_PURCHASE_DOMESTIC =
5305
+ T.let(
5306
+ :visa_purchase_domestic,
5307
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5308
+ )
5309
+
5310
+ # Activity and fees for the processing of an international sales draft original for a purchase transaction.
5311
+ VISA_PURCHASE_INTERNATIONAL =
5312
+ T.let(
5313
+ :visa_purchase_international,
5314
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5315
+ )
5316
+
5317
+ # Apple Pay Credit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
5318
+ VISA_CREDIT_PURCHASE_TOKEN =
5319
+ T.let(
5320
+ :visa_credit_purchase_token,
5321
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5322
+ )
5323
+
5324
+ # Apple Pay Debit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
5325
+ VISA_DEBIT_PURCHASE_TOKEN =
5326
+ T.let(
5327
+ :visa_debit_purchase_token,
5328
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5329
+ )
5330
+
5331
+ # A per transaction fee assessed for Base II financial draft - Issuer.
5332
+ VISA_CLEARING_TRANSMISSION =
5333
+ T.let(
5334
+ :visa_clearing_transmission,
5335
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5336
+ )
5337
+
5338
+ # Issuer charge for Non-Financial OCT/AFT Authorization 0100 and Declined Financial OCT/AFT 0200 transactions.
5339
+ VISA_DIRECT_AUTHORIZATION =
5340
+ T.let(
5341
+ :visa_direct_authorization,
5342
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5343
+ )
5344
+
5345
+ # Data processing charge for Visa Direct OCTs for all business application identifiers (BAIs) other than money transfer-bank initiated (BI). BASE II transactions.
5346
+ VISA_DIRECT_TRANSACTION_DOMESTIC =
5347
+ T.let(
5348
+ :visa_direct_transaction_domestic,
5349
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5350
+ )
5351
+
5352
+ # Issuer card service fee for Commercial Credit cards.
5353
+ VISA_SERVICE_COMMERCIAL_CREDIT =
5354
+ T.let(
5355
+ :visa_service_commercial_credit,
5356
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5357
+ )
5358
+
5359
+ # Issuer Advertising Service Fee for Commercial Credit cards.
5360
+ VISA_ADVERTISING_SERVICE_COMMERCIAL_CREDIT =
5361
+ T.let(
5362
+ :visa_advertising_service_commercial_credit,
5363
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5364
+ )
5365
+
5366
+ # Issuer Community Growth Acceleration Program Fee.
5367
+ VISA_COMMUNITY_GROWTH_ACCELERATION_PROGRAM =
5368
+ T.let(
5369
+ :visa_community_growth_acceleration_program,
5370
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5371
+ )
5372
+
5373
+ # Issuer Processing Guarantee for Commercial Credit cards.
5374
+ VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT =
5375
+ T.let(
5376
+ :visa_processing_guarantee_commercial_credit,
5377
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5378
+ )
5379
+
5380
+ # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
5381
+ PULSE_SWITCH_FEE =
5382
+ T.let(
5383
+ :pulse_switch_fee,
5384
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5385
+ )
5386
+
5387
+ sig do
5388
+ override.returns(
5389
+ T::Array[
5390
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5391
+ ]
5392
+ )
5393
+ end
5394
+ def self.values
5395
+ end
5396
+ end
5397
+ end
5398
+
5027
5399
  # A constant representing the object's type. For this resource it will always be
5028
5400
  # `card_financial`.
5029
5401
  module Type
@@ -5631,6 +6003,14 @@ module Increase
5631
6003
  end
5632
6004
  attr_writer :purchase_details
5633
6005
 
6006
+ # The scheme fees associated with this card refund.
6007
+ sig do
6008
+ returns(
6009
+ T::Array[Increase::Transaction::Source::CardRefund::SchemeFee]
6010
+ )
6011
+ end
6012
+ attr_accessor :scheme_fees
6013
+
5634
6014
  # The identifier of the Transaction associated with this Transaction.
5635
6015
  sig { returns(String) }
5636
6016
  attr_accessor :transaction_id
@@ -5679,6 +6059,10 @@ module Increase
5679
6059
  T.nilable(
5680
6060
  Increase::Transaction::Source::CardRefund::PurchaseDetails::OrHash
5681
6061
  ),
6062
+ scheme_fees:
6063
+ T::Array[
6064
+ Increase::Transaction::Source::CardRefund::SchemeFee::OrHash
6065
+ ],
5682
6066
  transaction_id: String,
5683
6067
  type: Increase::Transaction::Source::CardRefund::Type::OrSymbol
5684
6068
  ).returns(T.attached_class)
@@ -5724,6 +6108,8 @@ module Increase
5724
6108
  # Additional details about the card purchase, such as tax and industry-specific
5725
6109
  # fields.
5726
6110
  purchase_details:,
6111
+ # The scheme fees associated with this card refund.
6112
+ scheme_fees:,
5727
6113
  # The identifier of the Transaction associated with this Transaction.
5728
6114
  transaction_id:,
5729
6115
  # A constant representing the object's type. For this resource it will always be
@@ -5763,6 +6149,10 @@ module Increase
5763
6149
  T.nilable(
5764
6150
  Increase::Transaction::Source::CardRefund::PurchaseDetails
5765
6151
  ),
6152
+ scheme_fees:
6153
+ T::Array[
6154
+ Increase::Transaction::Source::CardRefund::SchemeFee
6155
+ ],
5766
6156
  transaction_id: String,
5767
6157
  type:
5768
6158
  Increase::Transaction::Source::CardRefund::Type::TaggedSymbol
@@ -7787,60 +8177,414 @@ module Increase
7787
8177
  end
7788
8178
  end
7789
8179
 
7790
- # A constant representing the object's type. For this resource it will always be
7791
- # `card_refund`.
7792
- module Type
7793
- extend Increase::Internal::Type::Enum
7794
-
7795
- TaggedSymbol =
8180
+ class SchemeFee < Increase::Internal::Type::BaseModel
8181
+ OrHash =
7796
8182
  T.type_alias do
7797
- T.all(Symbol, Increase::Transaction::Source::CardRefund::Type)
8183
+ T.any(
8184
+ Increase::Transaction::Source::CardRefund::SchemeFee,
8185
+ Increase::Internal::AnyHash
8186
+ )
7798
8187
  end
7799
- OrSymbol = T.type_alias { T.any(Symbol, String) }
7800
8188
 
7801
- CARD_REFUND =
7802
- T.let(
7803
- :card_refund,
7804
- Increase::Transaction::Source::CardRefund::Type::TaggedSymbol
7805
- )
8189
+ # The fee amount given as a string containing a decimal number.
8190
+ sig { returns(String) }
8191
+ attr_accessor :amount
7806
8192
 
8193
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
8194
+ # created.
8195
+ sig { returns(Time) }
8196
+ attr_accessor :created_at
8197
+
8198
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
8199
+ # reimbursement.
7807
8200
  sig do
7808
- override.returns(
7809
- T::Array[
7810
- Increase::Transaction::Source::CardRefund::Type::TaggedSymbol
7811
- ]
8201
+ returns(
8202
+ Increase::Transaction::Source::CardRefund::SchemeFee::Currency::TaggedSymbol
7812
8203
  )
7813
8204
  end
7814
- def self.values
7815
- end
7816
- end
7817
- end
8205
+ attr_accessor :currency
7818
8206
 
7819
- class CardRevenuePayment < Increase::Internal::Type::BaseModel
7820
- OrHash =
7821
- T.type_alias do
7822
- T.any(
7823
- Increase::Transaction::Source::CardRevenuePayment,
7824
- Increase::Internal::AnyHash
8207
+ # The type of fee being assessed.
8208
+ sig do
8209
+ returns(
8210
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
7825
8211
  )
7826
8212
  end
8213
+ attr_accessor :fee_type
7827
8214
 
7828
- # The amount in the minor unit of the transaction's currency. For dollars, for
7829
- # example, this is cents.
7830
- sig { returns(Integer) }
7831
- attr_accessor :amount
8215
+ # The fixed component of the fee, if applicable, given in major units of the fee
8216
+ # amount.
8217
+ sig { returns(T.nilable(String)) }
8218
+ attr_accessor :fixed_component
7832
8219
 
7833
- # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
7834
- # currency.
7835
- sig do
7836
- returns(
7837
- Increase::Transaction::Source::CardRevenuePayment::Currency::TaggedSymbol
7838
- )
7839
- end
7840
- attr_accessor :currency
8220
+ # The variable rate component of the fee, if applicable, given as a decimal (e.g.,
8221
+ # 0.015 for 1.5%).
8222
+ sig { returns(T.nilable(String)) }
8223
+ attr_accessor :variable_rate
7841
8224
 
7842
- # The end of the period for which this transaction paid interest.
7843
- sig { returns(Time) }
8225
+ sig do
8226
+ params(
8227
+ amount: String,
8228
+ created_at: Time,
8229
+ currency:
8230
+ Increase::Transaction::Source::CardRefund::SchemeFee::Currency::OrSymbol,
8231
+ fee_type:
8232
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::OrSymbol,
8233
+ fixed_component: T.nilable(String),
8234
+ variable_rate: T.nilable(String)
8235
+ ).returns(T.attached_class)
8236
+ end
8237
+ def self.new(
8238
+ # The fee amount given as a string containing a decimal number.
8239
+ amount:,
8240
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
8241
+ # created.
8242
+ created_at:,
8243
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
8244
+ # reimbursement.
8245
+ currency:,
8246
+ # The type of fee being assessed.
8247
+ fee_type:,
8248
+ # The fixed component of the fee, if applicable, given in major units of the fee
8249
+ # amount.
8250
+ fixed_component:,
8251
+ # The variable rate component of the fee, if applicable, given as a decimal (e.g.,
8252
+ # 0.015 for 1.5%).
8253
+ variable_rate:
8254
+ )
8255
+ end
8256
+
8257
+ sig do
8258
+ override.returns(
8259
+ {
8260
+ amount: String,
8261
+ created_at: Time,
8262
+ currency:
8263
+ Increase::Transaction::Source::CardRefund::SchemeFee::Currency::TaggedSymbol,
8264
+ fee_type:
8265
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol,
8266
+ fixed_component: T.nilable(String),
8267
+ variable_rate: T.nilable(String)
8268
+ }
8269
+ )
8270
+ end
8271
+ def to_hash
8272
+ end
8273
+
8274
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
8275
+ # reimbursement.
8276
+ module Currency
8277
+ extend Increase::Internal::Type::Enum
8278
+
8279
+ TaggedSymbol =
8280
+ T.type_alias do
8281
+ T.all(
8282
+ Symbol,
8283
+ Increase::Transaction::Source::CardRefund::SchemeFee::Currency
8284
+ )
8285
+ end
8286
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
8287
+
8288
+ # US Dollar (USD)
8289
+ USD =
8290
+ T.let(
8291
+ :USD,
8292
+ Increase::Transaction::Source::CardRefund::SchemeFee::Currency::TaggedSymbol
8293
+ )
8294
+
8295
+ sig do
8296
+ override.returns(
8297
+ T::Array[
8298
+ Increase::Transaction::Source::CardRefund::SchemeFee::Currency::TaggedSymbol
8299
+ ]
8300
+ )
8301
+ end
8302
+ def self.values
8303
+ end
8304
+ end
8305
+
8306
+ # The type of fee being assessed.
8307
+ module FeeType
8308
+ extend Increase::Internal::Type::Enum
8309
+
8310
+ TaggedSymbol =
8311
+ T.type_alias do
8312
+ T.all(
8313
+ Symbol,
8314
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType
8315
+ )
8316
+ end
8317
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
8318
+
8319
+ # International Service Assessment (ISA) single-currency is a fee assessed by the card network for cross-border transactions presented and settled in the same currency.
8320
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_SINGLE_CURRENCY =
8321
+ T.let(
8322
+ :visa_international_service_assessment_single_currency,
8323
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8324
+ )
8325
+
8326
+ # International Service Assessment (ISA) cross-currency is a fee assessed by the card network for cross-border transactions presented and settled in different currencies.
8327
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_CROSS_CURRENCY =
8328
+ T.let(
8329
+ :visa_international_service_assessment_cross_currency,
8330
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8331
+ )
8332
+
8333
+ # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
8334
+ VISA_AUTHORIZATION_DOMESTIC_POINT_OF_SALE =
8335
+ T.let(
8336
+ :visa_authorization_domestic_point_of_sale,
8337
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8338
+ )
8339
+
8340
+ # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) International authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
8341
+ VISA_AUTHORIZATION_INTERNATIONAL_POINT_OF_SALE =
8342
+ T.let(
8343
+ :visa_authorization_international_point_of_sale,
8344
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8345
+ )
8346
+
8347
+ # Activity and charges for Visa Settlement System processing for Canada Region POS (Point-of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified.
8348
+ VISA_AUTHORIZATION_CANADA_POINT_OF_SALE =
8349
+ T.let(
8350
+ :visa_authorization_canada_point_of_sale,
8351
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8352
+ )
8353
+
8354
+ # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
8355
+ VISA_AUTHORIZATION_REVERSAL_POINT_OF_SALE =
8356
+ T.let(
8357
+ :visa_authorization_reversal_point_of_sale,
8358
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8359
+ )
8360
+
8361
+ # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) International reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
8362
+ VISA_AUTHORIZATION_REVERSAL_INTERNATIONAL_POINT_OF_SALE =
8363
+ T.let(
8364
+ :visa_authorization_reversal_international_point_of_sale,
8365
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8366
+ )
8367
+
8368
+ # A per Address Verification Service (AVS) result fee. Applies to all usable AVS result codes.
8369
+ VISA_AUTHORIZATION_ADDRESS_VERIFICATION_SERVICE =
8370
+ T.let(
8371
+ :visa_authorization_address_verification_service,
8372
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8373
+ )
8374
+
8375
+ # Advanced Authorization is a fraud detection tool that monitors and risk evaluates 100 percent of US VisaNet authorizations in real-time. Activity related to Purchase (includes Signature Authenticated Visa and PIN Authenticated Visa Debit (PAVD) transactions).
8376
+ VISA_ADVANCED_AUTHORIZATION =
8377
+ T.let(
8378
+ :visa_advanced_authorization,
8379
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8380
+ )
8381
+
8382
+ # Issuer Transactions Visa represents a charge based on total actual monthly processing (Visa transactions only) through a VisaNet Access Point (VAP). Charges are assessed to the processor for each VisaNet Access Point.
8383
+ VISA_MESSAGE_TRANSMISSION =
8384
+ T.let(
8385
+ :visa_message_transmission,
8386
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8387
+ )
8388
+
8389
+ # Activity, per inquiry, related to the domestic Issuer for Account Number Verification.
8390
+ VISA_ACCOUNT_VERIFICATION_DOMESTIC =
8391
+ T.let(
8392
+ :visa_account_verification_domestic,
8393
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8394
+ )
8395
+
8396
+ # Activity, per inquiry, related to the international Issuer for Account Number Verification.
8397
+ VISA_ACCOUNT_VERIFICATION_INTERNATIONAL =
8398
+ T.let(
8399
+ :visa_account_verification_international,
8400
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8401
+ )
8402
+
8403
+ # Activity, per inquiry, related to the US-Canada Issuer for Account Number Verification.
8404
+ VISA_ACCOUNT_VERIFICATION_CANADA =
8405
+ T.let(
8406
+ :visa_account_verification_canada,
8407
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8408
+ )
8409
+
8410
+ # The Corporate Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
8411
+ VISA_CORPORATE_ACCEPTANCE_FEE =
8412
+ T.let(
8413
+ :visa_corporate_acceptance_fee,
8414
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8415
+ )
8416
+
8417
+ # The Consumer Debit Acceptance Fee is charged to issuers and is based on the monthly sales volume of Consumer Debit or Prepaid card transactions. The cashback portion of a Debit and Prepaid card transaction is excluded from the sales volume calculation.
8418
+ VISA_CONSUMER_DEBIT_ACCEPTANCE_FEE =
8419
+ T.let(
8420
+ :visa_consumer_debit_acceptance_fee,
8421
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8422
+ )
8423
+
8424
+ # The Business Acceptance Fee is charged to issuers and is based on the monthly sales volume on Business Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions. The cashback portion is included in the sales volume calculation with the exception of a Debit and Prepaid card transactions.
8425
+ VISA_BUSINESS_DEBIT_ACCEPTANCE_FEE =
8426
+ T.let(
8427
+ :visa_business_debit_acceptance_fee,
8428
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8429
+ )
8430
+
8431
+ # The Purchasing Card Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
8432
+ VISA_PURCHASING_ACCEPTANCE_FEE =
8433
+ T.let(
8434
+ :visa_purchasing_acceptance_fee,
8435
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8436
+ )
8437
+
8438
+ # Activity and fees for the processing of a sales draft original for a purchase transaction.
8439
+ VISA_PURCHASE_DOMESTIC =
8440
+ T.let(
8441
+ :visa_purchase_domestic,
8442
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8443
+ )
8444
+
8445
+ # Activity and fees for the processing of an international sales draft original for a purchase transaction.
8446
+ VISA_PURCHASE_INTERNATIONAL =
8447
+ T.let(
8448
+ :visa_purchase_international,
8449
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8450
+ )
8451
+
8452
+ # Apple Pay Credit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
8453
+ VISA_CREDIT_PURCHASE_TOKEN =
8454
+ T.let(
8455
+ :visa_credit_purchase_token,
8456
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8457
+ )
8458
+
8459
+ # Apple Pay Debit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
8460
+ VISA_DEBIT_PURCHASE_TOKEN =
8461
+ T.let(
8462
+ :visa_debit_purchase_token,
8463
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8464
+ )
8465
+
8466
+ # A per transaction fee assessed for Base II financial draft - Issuer.
8467
+ VISA_CLEARING_TRANSMISSION =
8468
+ T.let(
8469
+ :visa_clearing_transmission,
8470
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8471
+ )
8472
+
8473
+ # Issuer charge for Non-Financial OCT/AFT Authorization 0100 and Declined Financial OCT/AFT 0200 transactions.
8474
+ VISA_DIRECT_AUTHORIZATION =
8475
+ T.let(
8476
+ :visa_direct_authorization,
8477
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8478
+ )
8479
+
8480
+ # Data processing charge for Visa Direct OCTs for all business application identifiers (BAIs) other than money transfer-bank initiated (BI). BASE II transactions.
8481
+ VISA_DIRECT_TRANSACTION_DOMESTIC =
8482
+ T.let(
8483
+ :visa_direct_transaction_domestic,
8484
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8485
+ )
8486
+
8487
+ # Issuer card service fee for Commercial Credit cards.
8488
+ VISA_SERVICE_COMMERCIAL_CREDIT =
8489
+ T.let(
8490
+ :visa_service_commercial_credit,
8491
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8492
+ )
8493
+
8494
+ # Issuer Advertising Service Fee for Commercial Credit cards.
8495
+ VISA_ADVERTISING_SERVICE_COMMERCIAL_CREDIT =
8496
+ T.let(
8497
+ :visa_advertising_service_commercial_credit,
8498
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8499
+ )
8500
+
8501
+ # Issuer Community Growth Acceleration Program Fee.
8502
+ VISA_COMMUNITY_GROWTH_ACCELERATION_PROGRAM =
8503
+ T.let(
8504
+ :visa_community_growth_acceleration_program,
8505
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8506
+ )
8507
+
8508
+ # Issuer Processing Guarantee for Commercial Credit cards.
8509
+ VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT =
8510
+ T.let(
8511
+ :visa_processing_guarantee_commercial_credit,
8512
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8513
+ )
8514
+
8515
+ # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
8516
+ PULSE_SWITCH_FEE =
8517
+ T.let(
8518
+ :pulse_switch_fee,
8519
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8520
+ )
8521
+
8522
+ sig do
8523
+ override.returns(
8524
+ T::Array[
8525
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
8526
+ ]
8527
+ )
8528
+ end
8529
+ def self.values
8530
+ end
8531
+ end
8532
+ end
8533
+
8534
+ # A constant representing the object's type. For this resource it will always be
8535
+ # `card_refund`.
8536
+ module Type
8537
+ extend Increase::Internal::Type::Enum
8538
+
8539
+ TaggedSymbol =
8540
+ T.type_alias do
8541
+ T.all(Symbol, Increase::Transaction::Source::CardRefund::Type)
8542
+ end
8543
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
8544
+
8545
+ CARD_REFUND =
8546
+ T.let(
8547
+ :card_refund,
8548
+ Increase::Transaction::Source::CardRefund::Type::TaggedSymbol
8549
+ )
8550
+
8551
+ sig do
8552
+ override.returns(
8553
+ T::Array[
8554
+ Increase::Transaction::Source::CardRefund::Type::TaggedSymbol
8555
+ ]
8556
+ )
8557
+ end
8558
+ def self.values
8559
+ end
8560
+ end
8561
+ end
8562
+
8563
+ class CardRevenuePayment < Increase::Internal::Type::BaseModel
8564
+ OrHash =
8565
+ T.type_alias do
8566
+ T.any(
8567
+ Increase::Transaction::Source::CardRevenuePayment,
8568
+ Increase::Internal::AnyHash
8569
+ )
8570
+ end
8571
+
8572
+ # The amount in the minor unit of the transaction's currency. For dollars, for
8573
+ # example, this is cents.
8574
+ sig { returns(Integer) }
8575
+ attr_accessor :amount
8576
+
8577
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
8578
+ # currency.
8579
+ sig do
8580
+ returns(
8581
+ Increase::Transaction::Source::CardRevenuePayment::Currency::TaggedSymbol
8582
+ )
8583
+ end
8584
+ attr_accessor :currency
8585
+
8586
+ # The end of the period for which this transaction paid interest.
8587
+ sig { returns(Time) }
7844
8588
  attr_accessor :period_end
7845
8589
 
7846
8590
  # The start of the period for which this transaction paid interest.
@@ -8090,6 +8834,14 @@ module Increase
8090
8834
  end
8091
8835
  attr_writer :purchase_details
8092
8836
 
8837
+ # The scheme fees associated with this card settlement.
8838
+ sig do
8839
+ returns(
8840
+ T::Array[Increase::Transaction::Source::CardSettlement::SchemeFee]
8841
+ )
8842
+ end
8843
+ attr_accessor :scheme_fees
8844
+
8093
8845
  # Surcharge amount details, if applicable. The amount is positive if the surcharge
8094
8846
  # is added to the overall transaction amount (surcharge), and negative if the
8095
8847
  # surcharge is deducted from the overall transaction amount (discount).
@@ -8164,6 +8916,10 @@ module Increase
8164
8916
  T.nilable(
8165
8917
  Increase::Transaction::Source::CardSettlement::PurchaseDetails::OrHash
8166
8918
  ),
8919
+ scheme_fees:
8920
+ T::Array[
8921
+ Increase::Transaction::Source::CardSettlement::SchemeFee::OrHash
8922
+ ],
8167
8923
  surcharge:
8168
8924
  T.nilable(
8169
8925
  Increase::Transaction::Source::CardSettlement::Surcharge::OrHash
@@ -8221,6 +8977,8 @@ module Increase
8221
8977
  # Additional details about the card purchase, such as tax and industry-specific
8222
8978
  # fields.
8223
8979
  purchase_details:,
8980
+ # The scheme fees associated with this card settlement.
8981
+ scheme_fees:,
8224
8982
  # Surcharge amount details, if applicable. The amount is positive if the surcharge
8225
8983
  # is added to the overall transaction amount (surcharge), and negative if the
8226
8984
  # surcharge is deducted from the overall transaction amount (discount).
@@ -8268,6 +9026,10 @@ module Increase
8268
9026
  T.nilable(
8269
9027
  Increase::Transaction::Source::CardSettlement::PurchaseDetails
8270
9028
  ),
9029
+ scheme_fees:
9030
+ T::Array[
9031
+ Increase::Transaction::Source::CardSettlement::SchemeFee
9032
+ ],
8271
9033
  surcharge:
8272
9034
  T.nilable(
8273
9035
  Increase::Transaction::Source::CardSettlement::Surcharge
@@ -10334,6 +11096,360 @@ module Increase
10334
11096
  end
10335
11097
  end
10336
11098
 
11099
+ class SchemeFee < Increase::Internal::Type::BaseModel
11100
+ OrHash =
11101
+ T.type_alias do
11102
+ T.any(
11103
+ Increase::Transaction::Source::CardSettlement::SchemeFee,
11104
+ Increase::Internal::AnyHash
11105
+ )
11106
+ end
11107
+
11108
+ # The fee amount given as a string containing a decimal number.
11109
+ sig { returns(String) }
11110
+ attr_accessor :amount
11111
+
11112
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
11113
+ # created.
11114
+ sig { returns(Time) }
11115
+ attr_accessor :created_at
11116
+
11117
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
11118
+ # reimbursement.
11119
+ sig do
11120
+ returns(
11121
+ Increase::Transaction::Source::CardSettlement::SchemeFee::Currency::TaggedSymbol
11122
+ )
11123
+ end
11124
+ attr_accessor :currency
11125
+
11126
+ # The type of fee being assessed.
11127
+ sig do
11128
+ returns(
11129
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11130
+ )
11131
+ end
11132
+ attr_accessor :fee_type
11133
+
11134
+ # The fixed component of the fee, if applicable, given in major units of the fee
11135
+ # amount.
11136
+ sig { returns(T.nilable(String)) }
11137
+ attr_accessor :fixed_component
11138
+
11139
+ # The variable rate component of the fee, if applicable, given as a decimal (e.g.,
11140
+ # 0.015 for 1.5%).
11141
+ sig { returns(T.nilable(String)) }
11142
+ attr_accessor :variable_rate
11143
+
11144
+ sig do
11145
+ params(
11146
+ amount: String,
11147
+ created_at: Time,
11148
+ currency:
11149
+ Increase::Transaction::Source::CardSettlement::SchemeFee::Currency::OrSymbol,
11150
+ fee_type:
11151
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::OrSymbol,
11152
+ fixed_component: T.nilable(String),
11153
+ variable_rate: T.nilable(String)
11154
+ ).returns(T.attached_class)
11155
+ end
11156
+ def self.new(
11157
+ # The fee amount given as a string containing a decimal number.
11158
+ amount:,
11159
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
11160
+ # created.
11161
+ created_at:,
11162
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
11163
+ # reimbursement.
11164
+ currency:,
11165
+ # The type of fee being assessed.
11166
+ fee_type:,
11167
+ # The fixed component of the fee, if applicable, given in major units of the fee
11168
+ # amount.
11169
+ fixed_component:,
11170
+ # The variable rate component of the fee, if applicable, given as a decimal (e.g.,
11171
+ # 0.015 for 1.5%).
11172
+ variable_rate:
11173
+ )
11174
+ end
11175
+
11176
+ sig do
11177
+ override.returns(
11178
+ {
11179
+ amount: String,
11180
+ created_at: Time,
11181
+ currency:
11182
+ Increase::Transaction::Source::CardSettlement::SchemeFee::Currency::TaggedSymbol,
11183
+ fee_type:
11184
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol,
11185
+ fixed_component: T.nilable(String),
11186
+ variable_rate: T.nilable(String)
11187
+ }
11188
+ )
11189
+ end
11190
+ def to_hash
11191
+ end
11192
+
11193
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
11194
+ # reimbursement.
11195
+ module Currency
11196
+ extend Increase::Internal::Type::Enum
11197
+
11198
+ TaggedSymbol =
11199
+ T.type_alias do
11200
+ T.all(
11201
+ Symbol,
11202
+ Increase::Transaction::Source::CardSettlement::SchemeFee::Currency
11203
+ )
11204
+ end
11205
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
11206
+
11207
+ # US Dollar (USD)
11208
+ USD =
11209
+ T.let(
11210
+ :USD,
11211
+ Increase::Transaction::Source::CardSettlement::SchemeFee::Currency::TaggedSymbol
11212
+ )
11213
+
11214
+ sig do
11215
+ override.returns(
11216
+ T::Array[
11217
+ Increase::Transaction::Source::CardSettlement::SchemeFee::Currency::TaggedSymbol
11218
+ ]
11219
+ )
11220
+ end
11221
+ def self.values
11222
+ end
11223
+ end
11224
+
11225
+ # The type of fee being assessed.
11226
+ module FeeType
11227
+ extend Increase::Internal::Type::Enum
11228
+
11229
+ TaggedSymbol =
11230
+ T.type_alias do
11231
+ T.all(
11232
+ Symbol,
11233
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType
11234
+ )
11235
+ end
11236
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
11237
+
11238
+ # International Service Assessment (ISA) single-currency is a fee assessed by the card network for cross-border transactions presented and settled in the same currency.
11239
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_SINGLE_CURRENCY =
11240
+ T.let(
11241
+ :visa_international_service_assessment_single_currency,
11242
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11243
+ )
11244
+
11245
+ # International Service Assessment (ISA) cross-currency is a fee assessed by the card network for cross-border transactions presented and settled in different currencies.
11246
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_CROSS_CURRENCY =
11247
+ T.let(
11248
+ :visa_international_service_assessment_cross_currency,
11249
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11250
+ )
11251
+
11252
+ # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
11253
+ VISA_AUTHORIZATION_DOMESTIC_POINT_OF_SALE =
11254
+ T.let(
11255
+ :visa_authorization_domestic_point_of_sale,
11256
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11257
+ )
11258
+
11259
+ # Activity and charges for Visa Settlement System processing for POS (Point-Of-Sale) International authorization transactions. Authorization is the process of approving or declining the transaction amount specified. The fee is assessed to the Issuer.
11260
+ VISA_AUTHORIZATION_INTERNATIONAL_POINT_OF_SALE =
11261
+ T.let(
11262
+ :visa_authorization_international_point_of_sale,
11263
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11264
+ )
11265
+
11266
+ # Activity and charges for Visa Settlement System processing for Canada Region POS (Point-of-Sale) authorization transactions. Authorization is the process of approving or declining the transaction amount specified.
11267
+ VISA_AUTHORIZATION_CANADA_POINT_OF_SALE =
11268
+ T.let(
11269
+ :visa_authorization_canada_point_of_sale,
11270
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11271
+ )
11272
+
11273
+ # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
11274
+ VISA_AUTHORIZATION_REVERSAL_POINT_OF_SALE =
11275
+ T.let(
11276
+ :visa_authorization_reversal_point_of_sale,
11277
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11278
+ )
11279
+
11280
+ # Activity only for Visa Settlement System authorization processing of POS (Point-Of-Sale) International reversal transactions. Authorization reversal represents a VSS message that undoes the complete or partial actions of a previous authorization request.
11281
+ VISA_AUTHORIZATION_REVERSAL_INTERNATIONAL_POINT_OF_SALE =
11282
+ T.let(
11283
+ :visa_authorization_reversal_international_point_of_sale,
11284
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11285
+ )
11286
+
11287
+ # A per Address Verification Service (AVS) result fee. Applies to all usable AVS result codes.
11288
+ VISA_AUTHORIZATION_ADDRESS_VERIFICATION_SERVICE =
11289
+ T.let(
11290
+ :visa_authorization_address_verification_service,
11291
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11292
+ )
11293
+
11294
+ # Advanced Authorization is a fraud detection tool that monitors and risk evaluates 100 percent of US VisaNet authorizations in real-time. Activity related to Purchase (includes Signature Authenticated Visa and PIN Authenticated Visa Debit (PAVD) transactions).
11295
+ VISA_ADVANCED_AUTHORIZATION =
11296
+ T.let(
11297
+ :visa_advanced_authorization,
11298
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11299
+ )
11300
+
11301
+ # Issuer Transactions Visa represents a charge based on total actual monthly processing (Visa transactions only) through a VisaNet Access Point (VAP). Charges are assessed to the processor for each VisaNet Access Point.
11302
+ VISA_MESSAGE_TRANSMISSION =
11303
+ T.let(
11304
+ :visa_message_transmission,
11305
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11306
+ )
11307
+
11308
+ # Activity, per inquiry, related to the domestic Issuer for Account Number Verification.
11309
+ VISA_ACCOUNT_VERIFICATION_DOMESTIC =
11310
+ T.let(
11311
+ :visa_account_verification_domestic,
11312
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11313
+ )
11314
+
11315
+ # Activity, per inquiry, related to the international Issuer for Account Number Verification.
11316
+ VISA_ACCOUNT_VERIFICATION_INTERNATIONAL =
11317
+ T.let(
11318
+ :visa_account_verification_international,
11319
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11320
+ )
11321
+
11322
+ # Activity, per inquiry, related to the US-Canada Issuer for Account Number Verification.
11323
+ VISA_ACCOUNT_VERIFICATION_CANADA =
11324
+ T.let(
11325
+ :visa_account_verification_canada,
11326
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11327
+ )
11328
+
11329
+ # The Corporate Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
11330
+ VISA_CORPORATE_ACCEPTANCE_FEE =
11331
+ T.let(
11332
+ :visa_corporate_acceptance_fee,
11333
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11334
+ )
11335
+
11336
+ # The Consumer Debit Acceptance Fee is charged to issuers and is based on the monthly sales volume of Consumer Debit or Prepaid card transactions. The cashback portion of a Debit and Prepaid card transaction is excluded from the sales volume calculation.
11337
+ VISA_CONSUMER_DEBIT_ACCEPTANCE_FEE =
11338
+ T.let(
11339
+ :visa_consumer_debit_acceptance_fee,
11340
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11341
+ )
11342
+
11343
+ # The Business Acceptance Fee is charged to issuers and is based on the monthly sales volume on Business Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions. The cashback portion is included in the sales volume calculation with the exception of a Debit and Prepaid card transactions.
11344
+ VISA_BUSINESS_DEBIT_ACCEPTANCE_FEE =
11345
+ T.let(
11346
+ :visa_business_debit_acceptance_fee,
11347
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11348
+ )
11349
+
11350
+ # The Purchasing Card Acceptance Fee is charged to issuers and is based on the monthly sales volume on Commercial and Government Debit, Prepaid, Credit, Charge, or Deferred Debit card transactions.
11351
+ VISA_PURCHASING_ACCEPTANCE_FEE =
11352
+ T.let(
11353
+ :visa_purchasing_acceptance_fee,
11354
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11355
+ )
11356
+
11357
+ # Activity and fees for the processing of a sales draft original for a purchase transaction.
11358
+ VISA_PURCHASE_DOMESTIC =
11359
+ T.let(
11360
+ :visa_purchase_domestic,
11361
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11362
+ )
11363
+
11364
+ # Activity and fees for the processing of an international sales draft original for a purchase transaction.
11365
+ VISA_PURCHASE_INTERNATIONAL =
11366
+ T.let(
11367
+ :visa_purchase_international,
11368
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11369
+ )
11370
+
11371
+ # Apple Pay Credit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
11372
+ VISA_CREDIT_PURCHASE_TOKEN =
11373
+ T.let(
11374
+ :visa_credit_purchase_token,
11375
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11376
+ )
11377
+
11378
+ # Apple Pay Debit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
11379
+ VISA_DEBIT_PURCHASE_TOKEN =
11380
+ T.let(
11381
+ :visa_debit_purchase_token,
11382
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11383
+ )
11384
+
11385
+ # A per transaction fee assessed for Base II financial draft - Issuer.
11386
+ VISA_CLEARING_TRANSMISSION =
11387
+ T.let(
11388
+ :visa_clearing_transmission,
11389
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11390
+ )
11391
+
11392
+ # Issuer charge for Non-Financial OCT/AFT Authorization 0100 and Declined Financial OCT/AFT 0200 transactions.
11393
+ VISA_DIRECT_AUTHORIZATION =
11394
+ T.let(
11395
+ :visa_direct_authorization,
11396
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11397
+ )
11398
+
11399
+ # Data processing charge for Visa Direct OCTs for all business application identifiers (BAIs) other than money transfer-bank initiated (BI). BASE II transactions.
11400
+ VISA_DIRECT_TRANSACTION_DOMESTIC =
11401
+ T.let(
11402
+ :visa_direct_transaction_domestic,
11403
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11404
+ )
11405
+
11406
+ # Issuer card service fee for Commercial Credit cards.
11407
+ VISA_SERVICE_COMMERCIAL_CREDIT =
11408
+ T.let(
11409
+ :visa_service_commercial_credit,
11410
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11411
+ )
11412
+
11413
+ # Issuer Advertising Service Fee for Commercial Credit cards.
11414
+ VISA_ADVERTISING_SERVICE_COMMERCIAL_CREDIT =
11415
+ T.let(
11416
+ :visa_advertising_service_commercial_credit,
11417
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11418
+ )
11419
+
11420
+ # Issuer Community Growth Acceleration Program Fee.
11421
+ VISA_COMMUNITY_GROWTH_ACCELERATION_PROGRAM =
11422
+ T.let(
11423
+ :visa_community_growth_acceleration_program,
11424
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11425
+ )
11426
+
11427
+ # Issuer Processing Guarantee for Commercial Credit cards.
11428
+ VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT =
11429
+ T.let(
11430
+ :visa_processing_guarantee_commercial_credit,
11431
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11432
+ )
11433
+
11434
+ # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
11435
+ PULSE_SWITCH_FEE =
11436
+ T.let(
11437
+ :pulse_switch_fee,
11438
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11439
+ )
11440
+
11441
+ sig do
11442
+ override.returns(
11443
+ T::Array[
11444
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
11445
+ ]
11446
+ )
11447
+ end
11448
+ def self.values
11449
+ end
11450
+ end
11451
+ end
11452
+
10337
11453
  class Surcharge < Increase::Internal::Type::BaseModel
10338
11454
  OrHash =
10339
11455
  T.type_alias do