increase 1.274.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.
@@ -1612,6 +1612,13 @@ module Increase
1612
1612
  # @return [String, nil]
1613
1613
  required :real_time_decision_id, String, nil?: true
1614
1614
 
1615
+ # @!attribute scheme_fees
1616
+ # The scheme fees associated with this card financial.
1617
+ #
1618
+ # @return [Array<Increase::Models::Transaction::Source::CardFinancial::SchemeFee>]
1619
+ required :scheme_fees,
1620
+ -> { Increase::Internal::Type::ArrayOf[Increase::Transaction::Source::CardFinancial::SchemeFee] }
1621
+
1615
1622
  # @!attribute terminal_id
1616
1623
  # The terminal identifier (commonly abbreviated as TID) of the terminal the card
1617
1624
  # is transacting with.
@@ -1638,7 +1645,7 @@ module Increase
1638
1645
  # @return [Increase::Models::Transaction::Source::CardFinancial::Verification]
1639
1646
  required :verification, -> { Increase::Transaction::Source::CardFinancial::Verification }
1640
1647
 
1641
- # @!method initialize(id:, actioner:, additional_amounts:, amount:, card_payment_id:, currency:, digital_wallet_token_id:, direction:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_descriptor:, merchant_postal_code:, merchant_state:, network_details:, network_identifiers:, network_risk_score:, physical_card_id:, presentment_amount:, presentment_currency:, processing_category:, real_time_decision_id:, terminal_id:, transaction_id:, type:, verification:)
1648
+ # @!method initialize(id:, actioner:, additional_amounts:, amount:, card_payment_id:, currency:, digital_wallet_token_id:, direction:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_descriptor:, merchant_postal_code:, merchant_state:, network_details:, network_identifiers:, network_risk_score:, physical_card_id:, presentment_amount:, presentment_currency:, processing_category:, real_time_decision_id:, scheme_fees:, terminal_id:, transaction_id:, type:, verification:)
1642
1649
  # Some parameter documentations has been truncated, see
1643
1650
  # {Increase::Models::Transaction::Source::CardFinancial} for more details.
1644
1651
  #
@@ -1692,6 +1699,8 @@ module Increase
1692
1699
  #
1693
1700
  # @param real_time_decision_id [String, nil] The identifier of the Real-Time Decision sent to approve or decline this transac
1694
1701
  #
1702
+ # @param scheme_fees [Array<Increase::Models::Transaction::Source::CardFinancial::SchemeFee>] The scheme fees associated with this card financial.
1703
+ #
1695
1704
  # @param terminal_id [String, nil] The terminal identifier (commonly abbreviated as TID) of the terminal the card i
1696
1705
  #
1697
1706
  # @param transaction_id [String] The identifier of the Transaction associated with this Transaction.
@@ -2520,6 +2529,179 @@ module Increase
2520
2529
  # @return [Array<Symbol>]
2521
2530
  end
2522
2531
 
2532
+ class SchemeFee < Increase::Internal::Type::BaseModel
2533
+ # @!attribute amount
2534
+ # The fee amount given as a string containing a decimal number.
2535
+ #
2536
+ # @return [String]
2537
+ required :amount, String
2538
+
2539
+ # @!attribute created_at
2540
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
2541
+ # created.
2542
+ #
2543
+ # @return [Time]
2544
+ required :created_at, Time
2545
+
2546
+ # @!attribute currency
2547
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
2548
+ # reimbursement.
2549
+ #
2550
+ # @return [Symbol, Increase::Models::Transaction::Source::CardFinancial::SchemeFee::Currency]
2551
+ required :currency, enum: -> { Increase::Transaction::Source::CardFinancial::SchemeFee::Currency }
2552
+
2553
+ # @!attribute fee_type
2554
+ # The type of fee being assessed.
2555
+ #
2556
+ # @return [Symbol, Increase::Models::Transaction::Source::CardFinancial::SchemeFee::FeeType]
2557
+ required :fee_type, enum: -> { Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType }
2558
+
2559
+ # @!attribute fixed_component
2560
+ # The fixed component of the fee, if applicable, given in major units of the fee
2561
+ # amount.
2562
+ #
2563
+ # @return [String, nil]
2564
+ required :fixed_component, String, nil?: true
2565
+
2566
+ # @!attribute variable_rate
2567
+ # The variable rate component of the fee, if applicable, given as a decimal (e.g.,
2568
+ # 0.015 for 1.5%).
2569
+ #
2570
+ # @return [String, nil]
2571
+ required :variable_rate, String, nil?: true
2572
+
2573
+ # @!method initialize(amount:, created_at:, currency:, fee_type:, fixed_component:, variable_rate:)
2574
+ # Some parameter documentations has been truncated, see
2575
+ # {Increase::Models::Transaction::Source::CardFinancial::SchemeFee} for more
2576
+ # details.
2577
+ #
2578
+ # @param amount [String] The fee amount given as a string containing a decimal number.
2579
+ #
2580
+ # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
2581
+ #
2582
+ # @param currency [Symbol, Increase::Models::Transaction::Source::CardFinancial::SchemeFee::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee reimburs
2583
+ #
2584
+ # @param fee_type [Symbol, Increase::Models::Transaction::Source::CardFinancial::SchemeFee::FeeType] The type of fee being assessed.
2585
+ #
2586
+ # @param fixed_component [String, nil] The fixed component of the fee, if applicable, given in major units of the fee a
2587
+ #
2588
+ # @param variable_rate [String, nil] The variable rate component of the fee, if applicable, given as a decimal (e.g.,
2589
+
2590
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
2591
+ # reimbursement.
2592
+ #
2593
+ # @see Increase::Models::Transaction::Source::CardFinancial::SchemeFee#currency
2594
+ module Currency
2595
+ extend Increase::Internal::Type::Enum
2596
+
2597
+ # US Dollar (USD)
2598
+ USD = :USD
2599
+
2600
+ # @!method self.values
2601
+ # @return [Array<Symbol>]
2602
+ end
2603
+
2604
+ # The type of fee being assessed.
2605
+ #
2606
+ # @see Increase::Models::Transaction::Source::CardFinancial::SchemeFee#fee_type
2607
+ module FeeType
2608
+ extend Increase::Internal::Type::Enum
2609
+
2610
+ # 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.
2611
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_SINGLE_CURRENCY =
2612
+ :visa_international_service_assessment_single_currency
2613
+
2614
+ # International Service Assessment (ISA) cross-currency is a fee assessed by the card network for cross-border transactions presented and settled in different currencies.
2615
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_CROSS_CURRENCY =
2616
+ :visa_international_service_assessment_cross_currency
2617
+
2618
+ # 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.
2619
+ VISA_AUTHORIZATION_DOMESTIC_POINT_OF_SALE = :visa_authorization_domestic_point_of_sale
2620
+
2621
+ # 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.
2622
+ VISA_AUTHORIZATION_INTERNATIONAL_POINT_OF_SALE = :visa_authorization_international_point_of_sale
2623
+
2624
+ # 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.
2625
+ VISA_AUTHORIZATION_CANADA_POINT_OF_SALE = :visa_authorization_canada_point_of_sale
2626
+
2627
+ # 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.
2628
+ VISA_AUTHORIZATION_REVERSAL_POINT_OF_SALE = :visa_authorization_reversal_point_of_sale
2629
+
2630
+ # 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.
2631
+ VISA_AUTHORIZATION_REVERSAL_INTERNATIONAL_POINT_OF_SALE =
2632
+ :visa_authorization_reversal_international_point_of_sale
2633
+
2634
+ # A per Address Verification Service (AVS) result fee. Applies to all usable AVS result codes.
2635
+ VISA_AUTHORIZATION_ADDRESS_VERIFICATION_SERVICE = :visa_authorization_address_verification_service
2636
+
2637
+ # 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).
2638
+ VISA_ADVANCED_AUTHORIZATION = :visa_advanced_authorization
2639
+
2640
+ # 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.
2641
+ VISA_MESSAGE_TRANSMISSION = :visa_message_transmission
2642
+
2643
+ # Activity, per inquiry, related to the domestic Issuer for Account Number Verification.
2644
+ VISA_ACCOUNT_VERIFICATION_DOMESTIC = :visa_account_verification_domestic
2645
+
2646
+ # Activity, per inquiry, related to the international Issuer for Account Number Verification.
2647
+ VISA_ACCOUNT_VERIFICATION_INTERNATIONAL = :visa_account_verification_international
2648
+
2649
+ # Activity, per inquiry, related to the US-Canada Issuer for Account Number Verification.
2650
+ VISA_ACCOUNT_VERIFICATION_CANADA = :visa_account_verification_canada
2651
+
2652
+ # 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.
2653
+ VISA_CORPORATE_ACCEPTANCE_FEE = :visa_corporate_acceptance_fee
2654
+
2655
+ # 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.
2656
+ VISA_CONSUMER_DEBIT_ACCEPTANCE_FEE = :visa_consumer_debit_acceptance_fee
2657
+
2658
+ # 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.
2659
+ VISA_BUSINESS_DEBIT_ACCEPTANCE_FEE = :visa_business_debit_acceptance_fee
2660
+
2661
+ # 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.
2662
+ VISA_PURCHASING_ACCEPTANCE_FEE = :visa_purchasing_acceptance_fee
2663
+
2664
+ # Activity and fees for the processing of a sales draft original for a purchase transaction.
2665
+ VISA_PURCHASE_DOMESTIC = :visa_purchase_domestic
2666
+
2667
+ # Activity and fees for the processing of an international sales draft original for a purchase transaction.
2668
+ VISA_PURCHASE_INTERNATIONAL = :visa_purchase_international
2669
+
2670
+ # Apple Pay Credit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
2671
+ VISA_CREDIT_PURCHASE_TOKEN = :visa_credit_purchase_token
2672
+
2673
+ # Apple Pay Debit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
2674
+ VISA_DEBIT_PURCHASE_TOKEN = :visa_debit_purchase_token
2675
+
2676
+ # A per transaction fee assessed for Base II financial draft - Issuer.
2677
+ VISA_CLEARING_TRANSMISSION = :visa_clearing_transmission
2678
+
2679
+ # Issuer charge for Non-Financial OCT/AFT Authorization 0100 and Declined Financial OCT/AFT 0200 transactions.
2680
+ VISA_DIRECT_AUTHORIZATION = :visa_direct_authorization
2681
+
2682
+ # Data processing charge for Visa Direct OCTs for all business application identifiers (BAIs) other than money transfer-bank initiated (BI). BASE II transactions.
2683
+ VISA_DIRECT_TRANSACTION_DOMESTIC = :visa_direct_transaction_domestic
2684
+
2685
+ # Issuer card service fee for Commercial Credit cards.
2686
+ VISA_SERVICE_COMMERCIAL_CREDIT = :visa_service_commercial_credit
2687
+
2688
+ # Issuer Advertising Service Fee for Commercial Credit cards.
2689
+ VISA_ADVERTISING_SERVICE_COMMERCIAL_CREDIT = :visa_advertising_service_commercial_credit
2690
+
2691
+ # Issuer Community Growth Acceleration Program Fee.
2692
+ VISA_COMMUNITY_GROWTH_ACCELERATION_PROGRAM = :visa_community_growth_acceleration_program
2693
+
2694
+ # Issuer Processing Guarantee for Commercial Credit cards.
2695
+ VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = :visa_processing_guarantee_commercial_credit
2696
+
2697
+ # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
2698
+ PULSE_SWITCH_FEE = :pulse_switch_fee
2699
+
2700
+ # @!method self.values
2701
+ # @return [Array<Symbol>]
2702
+ end
2703
+ end
2704
+
2523
2705
  # A constant representing the object's type. For this resource it will always be
2524
2706
  # `card_financial`.
2525
2707
  #
@@ -2859,6 +3041,13 @@ module Increase
2859
3041
  },
2860
3042
  nil?: true
2861
3043
 
3044
+ # @!attribute scheme_fees
3045
+ # The scheme fees associated with this card refund.
3046
+ #
3047
+ # @return [Array<Increase::Models::Transaction::Source::CardRefund::SchemeFee>]
3048
+ required :scheme_fees,
3049
+ -> { Increase::Internal::Type::ArrayOf[Increase::Transaction::Source::CardRefund::SchemeFee] }
3050
+
2862
3051
  # @!attribute transaction_id
2863
3052
  # The identifier of the Transaction associated with this Transaction.
2864
3053
  #
@@ -2872,7 +3061,7 @@ module Increase
2872
3061
  # @return [Symbol, Increase::Models::Transaction::Source::CardRefund::Type]
2873
3062
  required :type, enum: -> { Increase::Transaction::Source::CardRefund::Type }
2874
3063
 
2875
- # @!method initialize(id:, amount:, card_payment_id:, cashback:, currency:, interchange:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_name:, merchant_postal_code:, merchant_state:, network_identifiers:, presentment_amount:, presentment_currency:, purchase_details:, transaction_id:, type:)
3064
+ # @!method initialize(id:, amount:, card_payment_id:, cashback:, currency:, interchange:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_name:, merchant_postal_code:, merchant_state:, network_identifiers:, presentment_amount:, presentment_currency:, purchase_details:, scheme_fees:, transaction_id:, type:)
2876
3065
  # Some parameter documentations has been truncated, see
2877
3066
  # {Increase::Models::Transaction::Source::CardRefund} for more details.
2878
3067
  #
@@ -2916,6 +3105,8 @@ module Increase
2916
3105
  #
2917
3106
  # @param purchase_details [Increase::Models::Transaction::Source::CardRefund::PurchaseDetails, nil] Additional details about the card purchase, such as tax and industry-specific fi
2918
3107
  #
3108
+ # @param scheme_fees [Array<Increase::Models::Transaction::Source::CardRefund::SchemeFee>] The scheme fees associated with this card refund.
3109
+ #
2919
3110
  # @param transaction_id [String] The identifier of the Transaction associated with this Transaction.
2920
3111
  #
2921
3112
  # @param type [Symbol, Increase::Models::Transaction::Source::CardRefund::Type] A constant representing the object's type. For this resource it will always be `
@@ -4049,6 +4240,178 @@ module Increase
4049
4240
  end
4050
4241
  end
4051
4242
 
4243
+ class SchemeFee < Increase::Internal::Type::BaseModel
4244
+ # @!attribute amount
4245
+ # The fee amount given as a string containing a decimal number.
4246
+ #
4247
+ # @return [String]
4248
+ required :amount, String
4249
+
4250
+ # @!attribute created_at
4251
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
4252
+ # created.
4253
+ #
4254
+ # @return [Time]
4255
+ required :created_at, Time
4256
+
4257
+ # @!attribute currency
4258
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
4259
+ # reimbursement.
4260
+ #
4261
+ # @return [Symbol, Increase::Models::Transaction::Source::CardRefund::SchemeFee::Currency]
4262
+ required :currency, enum: -> { Increase::Transaction::Source::CardRefund::SchemeFee::Currency }
4263
+
4264
+ # @!attribute fee_type
4265
+ # The type of fee being assessed.
4266
+ #
4267
+ # @return [Symbol, Increase::Models::Transaction::Source::CardRefund::SchemeFee::FeeType]
4268
+ required :fee_type, enum: -> { Increase::Transaction::Source::CardRefund::SchemeFee::FeeType }
4269
+
4270
+ # @!attribute fixed_component
4271
+ # The fixed component of the fee, if applicable, given in major units of the fee
4272
+ # amount.
4273
+ #
4274
+ # @return [String, nil]
4275
+ required :fixed_component, String, nil?: true
4276
+
4277
+ # @!attribute variable_rate
4278
+ # The variable rate component of the fee, if applicable, given as a decimal (e.g.,
4279
+ # 0.015 for 1.5%).
4280
+ #
4281
+ # @return [String, nil]
4282
+ required :variable_rate, String, nil?: true
4283
+
4284
+ # @!method initialize(amount:, created_at:, currency:, fee_type:, fixed_component:, variable_rate:)
4285
+ # Some parameter documentations has been truncated, see
4286
+ # {Increase::Models::Transaction::Source::CardRefund::SchemeFee} for more details.
4287
+ #
4288
+ # @param amount [String] The fee amount given as a string containing a decimal number.
4289
+ #
4290
+ # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
4291
+ #
4292
+ # @param currency [Symbol, Increase::Models::Transaction::Source::CardRefund::SchemeFee::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee reimburs
4293
+ #
4294
+ # @param fee_type [Symbol, Increase::Models::Transaction::Source::CardRefund::SchemeFee::FeeType] The type of fee being assessed.
4295
+ #
4296
+ # @param fixed_component [String, nil] The fixed component of the fee, if applicable, given in major units of the fee a
4297
+ #
4298
+ # @param variable_rate [String, nil] The variable rate component of the fee, if applicable, given as a decimal (e.g.,
4299
+
4300
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
4301
+ # reimbursement.
4302
+ #
4303
+ # @see Increase::Models::Transaction::Source::CardRefund::SchemeFee#currency
4304
+ module Currency
4305
+ extend Increase::Internal::Type::Enum
4306
+
4307
+ # US Dollar (USD)
4308
+ USD = :USD
4309
+
4310
+ # @!method self.values
4311
+ # @return [Array<Symbol>]
4312
+ end
4313
+
4314
+ # The type of fee being assessed.
4315
+ #
4316
+ # @see Increase::Models::Transaction::Source::CardRefund::SchemeFee#fee_type
4317
+ module FeeType
4318
+ extend Increase::Internal::Type::Enum
4319
+
4320
+ # 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.
4321
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_SINGLE_CURRENCY =
4322
+ :visa_international_service_assessment_single_currency
4323
+
4324
+ # International Service Assessment (ISA) cross-currency is a fee assessed by the card network for cross-border transactions presented and settled in different currencies.
4325
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_CROSS_CURRENCY =
4326
+ :visa_international_service_assessment_cross_currency
4327
+
4328
+ # 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.
4329
+ VISA_AUTHORIZATION_DOMESTIC_POINT_OF_SALE = :visa_authorization_domestic_point_of_sale
4330
+
4331
+ # 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.
4332
+ VISA_AUTHORIZATION_INTERNATIONAL_POINT_OF_SALE = :visa_authorization_international_point_of_sale
4333
+
4334
+ # 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.
4335
+ VISA_AUTHORIZATION_CANADA_POINT_OF_SALE = :visa_authorization_canada_point_of_sale
4336
+
4337
+ # 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.
4338
+ VISA_AUTHORIZATION_REVERSAL_POINT_OF_SALE = :visa_authorization_reversal_point_of_sale
4339
+
4340
+ # 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.
4341
+ VISA_AUTHORIZATION_REVERSAL_INTERNATIONAL_POINT_OF_SALE =
4342
+ :visa_authorization_reversal_international_point_of_sale
4343
+
4344
+ # A per Address Verification Service (AVS) result fee. Applies to all usable AVS result codes.
4345
+ VISA_AUTHORIZATION_ADDRESS_VERIFICATION_SERVICE = :visa_authorization_address_verification_service
4346
+
4347
+ # 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).
4348
+ VISA_ADVANCED_AUTHORIZATION = :visa_advanced_authorization
4349
+
4350
+ # 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.
4351
+ VISA_MESSAGE_TRANSMISSION = :visa_message_transmission
4352
+
4353
+ # Activity, per inquiry, related to the domestic Issuer for Account Number Verification.
4354
+ VISA_ACCOUNT_VERIFICATION_DOMESTIC = :visa_account_verification_domestic
4355
+
4356
+ # Activity, per inquiry, related to the international Issuer for Account Number Verification.
4357
+ VISA_ACCOUNT_VERIFICATION_INTERNATIONAL = :visa_account_verification_international
4358
+
4359
+ # Activity, per inquiry, related to the US-Canada Issuer for Account Number Verification.
4360
+ VISA_ACCOUNT_VERIFICATION_CANADA = :visa_account_verification_canada
4361
+
4362
+ # 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.
4363
+ VISA_CORPORATE_ACCEPTANCE_FEE = :visa_corporate_acceptance_fee
4364
+
4365
+ # 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.
4366
+ VISA_CONSUMER_DEBIT_ACCEPTANCE_FEE = :visa_consumer_debit_acceptance_fee
4367
+
4368
+ # 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.
4369
+ VISA_BUSINESS_DEBIT_ACCEPTANCE_FEE = :visa_business_debit_acceptance_fee
4370
+
4371
+ # 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.
4372
+ VISA_PURCHASING_ACCEPTANCE_FEE = :visa_purchasing_acceptance_fee
4373
+
4374
+ # Activity and fees for the processing of a sales draft original for a purchase transaction.
4375
+ VISA_PURCHASE_DOMESTIC = :visa_purchase_domestic
4376
+
4377
+ # Activity and fees for the processing of an international sales draft original for a purchase transaction.
4378
+ VISA_PURCHASE_INTERNATIONAL = :visa_purchase_international
4379
+
4380
+ # Apple Pay Credit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
4381
+ VISA_CREDIT_PURCHASE_TOKEN = :visa_credit_purchase_token
4382
+
4383
+ # Apple Pay Debit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
4384
+ VISA_DEBIT_PURCHASE_TOKEN = :visa_debit_purchase_token
4385
+
4386
+ # A per transaction fee assessed for Base II financial draft - Issuer.
4387
+ VISA_CLEARING_TRANSMISSION = :visa_clearing_transmission
4388
+
4389
+ # Issuer charge for Non-Financial OCT/AFT Authorization 0100 and Declined Financial OCT/AFT 0200 transactions.
4390
+ VISA_DIRECT_AUTHORIZATION = :visa_direct_authorization
4391
+
4392
+ # Data processing charge for Visa Direct OCTs for all business application identifiers (BAIs) other than money transfer-bank initiated (BI). BASE II transactions.
4393
+ VISA_DIRECT_TRANSACTION_DOMESTIC = :visa_direct_transaction_domestic
4394
+
4395
+ # Issuer card service fee for Commercial Credit cards.
4396
+ VISA_SERVICE_COMMERCIAL_CREDIT = :visa_service_commercial_credit
4397
+
4398
+ # Issuer Advertising Service Fee for Commercial Credit cards.
4399
+ VISA_ADVERTISING_SERVICE_COMMERCIAL_CREDIT = :visa_advertising_service_commercial_credit
4400
+
4401
+ # Issuer Community Growth Acceleration Program Fee.
4402
+ VISA_COMMUNITY_GROWTH_ACCELERATION_PROGRAM = :visa_community_growth_acceleration_program
4403
+
4404
+ # Issuer Processing Guarantee for Commercial Credit cards.
4405
+ VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = :visa_processing_guarantee_commercial_credit
4406
+
4407
+ # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
4408
+ PULSE_SWITCH_FEE = :pulse_switch_fee
4409
+
4410
+ # @!method self.values
4411
+ # @return [Array<Symbol>]
4412
+ end
4413
+ end
4414
+
4052
4415
  # A constant representing the object's type. For this resource it will always be
4053
4416
  # `card_refund`.
4054
4417
  #
@@ -4261,6 +4624,13 @@ module Increase
4261
4624
  -> { Increase::Transaction::Source::CardSettlement::PurchaseDetails },
4262
4625
  nil?: true
4263
4626
 
4627
+ # @!attribute scheme_fees
4628
+ # The scheme fees associated with this card settlement.
4629
+ #
4630
+ # @return [Array<Increase::Models::Transaction::Source::CardSettlement::SchemeFee>]
4631
+ required :scheme_fees,
4632
+ -> { Increase::Internal::Type::ArrayOf[Increase::Transaction::Source::CardSettlement::SchemeFee] }
4633
+
4264
4634
  # @!attribute surcharge
4265
4635
  # Surcharge amount details, if applicable. The amount is positive if the surcharge
4266
4636
  # is added to the overall transaction amount (surcharge), and negative if the
@@ -4282,7 +4652,7 @@ module Increase
4282
4652
  # @return [Symbol, Increase::Models::Transaction::Source::CardSettlement::Type]
4283
4653
  required :type, enum: -> { Increase::Transaction::Source::CardSettlement::Type }
4284
4654
 
4285
- # @!method initialize(id:, amount:, card_authorization:, card_payment_id:, cashback:, currency:, interchange:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_name:, merchant_postal_code:, merchant_state:, network:, network_identifiers:, pending_transaction_id:, presentment_amount:, presentment_currency:, purchase_details:, surcharge:, transaction_id:, type:)
4655
+ # @!method initialize(id:, amount:, card_authorization:, card_payment_id:, cashback:, currency:, interchange:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_name:, merchant_postal_code:, merchant_state:, network:, network_identifiers:, pending_transaction_id:, presentment_amount:, presentment_currency:, purchase_details:, scheme_fees:, surcharge:, transaction_id:, type:)
4286
4656
  # Some parameter documentations has been truncated, see
4287
4657
  # {Increase::Models::Transaction::Source::CardSettlement} for more details.
4288
4658
  #
@@ -4332,6 +4702,8 @@ module Increase
4332
4702
  #
4333
4703
  # @param purchase_details [Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails, nil] Additional details about the card purchase, such as tax and industry-specific fi
4334
4704
  #
4705
+ # @param scheme_fees [Array<Increase::Models::Transaction::Source::CardSettlement::SchemeFee>] The scheme fees associated with this card settlement.
4706
+ #
4335
4707
  # @param surcharge [Increase::Models::Transaction::Source::CardSettlement::Surcharge, nil] Surcharge amount details, if applicable. The amount is positive if the surcharge
4336
4708
  #
4337
4709
  # @param transaction_id [String] The identifier of the Transaction associated with this Transaction.
@@ -5482,6 +5854,179 @@ module Increase
5482
5854
  end
5483
5855
  end
5484
5856
 
5857
+ class SchemeFee < Increase::Internal::Type::BaseModel
5858
+ # @!attribute amount
5859
+ # The fee amount given as a string containing a decimal number.
5860
+ #
5861
+ # @return [String]
5862
+ required :amount, String
5863
+
5864
+ # @!attribute created_at
5865
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
5866
+ # created.
5867
+ #
5868
+ # @return [Time]
5869
+ required :created_at, Time
5870
+
5871
+ # @!attribute currency
5872
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
5873
+ # reimbursement.
5874
+ #
5875
+ # @return [Symbol, Increase::Models::Transaction::Source::CardSettlement::SchemeFee::Currency]
5876
+ required :currency, enum: -> { Increase::Transaction::Source::CardSettlement::SchemeFee::Currency }
5877
+
5878
+ # @!attribute fee_type
5879
+ # The type of fee being assessed.
5880
+ #
5881
+ # @return [Symbol, Increase::Models::Transaction::Source::CardSettlement::SchemeFee::FeeType]
5882
+ required :fee_type, enum: -> { Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType }
5883
+
5884
+ # @!attribute fixed_component
5885
+ # The fixed component of the fee, if applicable, given in major units of the fee
5886
+ # amount.
5887
+ #
5888
+ # @return [String, nil]
5889
+ required :fixed_component, String, nil?: true
5890
+
5891
+ # @!attribute variable_rate
5892
+ # The variable rate component of the fee, if applicable, given as a decimal (e.g.,
5893
+ # 0.015 for 1.5%).
5894
+ #
5895
+ # @return [String, nil]
5896
+ required :variable_rate, String, nil?: true
5897
+
5898
+ # @!method initialize(amount:, created_at:, currency:, fee_type:, fixed_component:, variable_rate:)
5899
+ # Some parameter documentations has been truncated, see
5900
+ # {Increase::Models::Transaction::Source::CardSettlement::SchemeFee} for more
5901
+ # details.
5902
+ #
5903
+ # @param amount [String] The fee amount given as a string containing a decimal number.
5904
+ #
5905
+ # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
5906
+ #
5907
+ # @param currency [Symbol, Increase::Models::Transaction::Source::CardSettlement::SchemeFee::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee reimburs
5908
+ #
5909
+ # @param fee_type [Symbol, Increase::Models::Transaction::Source::CardSettlement::SchemeFee::FeeType] The type of fee being assessed.
5910
+ #
5911
+ # @param fixed_component [String, nil] The fixed component of the fee, if applicable, given in major units of the fee a
5912
+ #
5913
+ # @param variable_rate [String, nil] The variable rate component of the fee, if applicable, given as a decimal (e.g.,
5914
+
5915
+ # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
5916
+ # reimbursement.
5917
+ #
5918
+ # @see Increase::Models::Transaction::Source::CardSettlement::SchemeFee#currency
5919
+ module Currency
5920
+ extend Increase::Internal::Type::Enum
5921
+
5922
+ # US Dollar (USD)
5923
+ USD = :USD
5924
+
5925
+ # @!method self.values
5926
+ # @return [Array<Symbol>]
5927
+ end
5928
+
5929
+ # The type of fee being assessed.
5930
+ #
5931
+ # @see Increase::Models::Transaction::Source::CardSettlement::SchemeFee#fee_type
5932
+ module FeeType
5933
+ extend Increase::Internal::Type::Enum
5934
+
5935
+ # 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.
5936
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_SINGLE_CURRENCY =
5937
+ :visa_international_service_assessment_single_currency
5938
+
5939
+ # International Service Assessment (ISA) cross-currency is a fee assessed by the card network for cross-border transactions presented and settled in different currencies.
5940
+ VISA_INTERNATIONAL_SERVICE_ASSESSMENT_CROSS_CURRENCY =
5941
+ :visa_international_service_assessment_cross_currency
5942
+
5943
+ # 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.
5944
+ VISA_AUTHORIZATION_DOMESTIC_POINT_OF_SALE = :visa_authorization_domestic_point_of_sale
5945
+
5946
+ # 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.
5947
+ VISA_AUTHORIZATION_INTERNATIONAL_POINT_OF_SALE = :visa_authorization_international_point_of_sale
5948
+
5949
+ # 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.
5950
+ VISA_AUTHORIZATION_CANADA_POINT_OF_SALE = :visa_authorization_canada_point_of_sale
5951
+
5952
+ # 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.
5953
+ VISA_AUTHORIZATION_REVERSAL_POINT_OF_SALE = :visa_authorization_reversal_point_of_sale
5954
+
5955
+ # 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.
5956
+ VISA_AUTHORIZATION_REVERSAL_INTERNATIONAL_POINT_OF_SALE =
5957
+ :visa_authorization_reversal_international_point_of_sale
5958
+
5959
+ # A per Address Verification Service (AVS) result fee. Applies to all usable AVS result codes.
5960
+ VISA_AUTHORIZATION_ADDRESS_VERIFICATION_SERVICE = :visa_authorization_address_verification_service
5961
+
5962
+ # 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).
5963
+ VISA_ADVANCED_AUTHORIZATION = :visa_advanced_authorization
5964
+
5965
+ # 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.
5966
+ VISA_MESSAGE_TRANSMISSION = :visa_message_transmission
5967
+
5968
+ # Activity, per inquiry, related to the domestic Issuer for Account Number Verification.
5969
+ VISA_ACCOUNT_VERIFICATION_DOMESTIC = :visa_account_verification_domestic
5970
+
5971
+ # Activity, per inquiry, related to the international Issuer for Account Number Verification.
5972
+ VISA_ACCOUNT_VERIFICATION_INTERNATIONAL = :visa_account_verification_international
5973
+
5974
+ # Activity, per inquiry, related to the US-Canada Issuer for Account Number Verification.
5975
+ VISA_ACCOUNT_VERIFICATION_CANADA = :visa_account_verification_canada
5976
+
5977
+ # 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.
5978
+ VISA_CORPORATE_ACCEPTANCE_FEE = :visa_corporate_acceptance_fee
5979
+
5980
+ # 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.
5981
+ VISA_CONSUMER_DEBIT_ACCEPTANCE_FEE = :visa_consumer_debit_acceptance_fee
5982
+
5983
+ # 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.
5984
+ VISA_BUSINESS_DEBIT_ACCEPTANCE_FEE = :visa_business_debit_acceptance_fee
5985
+
5986
+ # 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.
5987
+ VISA_PURCHASING_ACCEPTANCE_FEE = :visa_purchasing_acceptance_fee
5988
+
5989
+ # Activity and fees for the processing of a sales draft original for a purchase transaction.
5990
+ VISA_PURCHASE_DOMESTIC = :visa_purchase_domestic
5991
+
5992
+ # Activity and fees for the processing of an international sales draft original for a purchase transaction.
5993
+ VISA_PURCHASE_INTERNATIONAL = :visa_purchase_international
5994
+
5995
+ # Apple Pay Credit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
5996
+ VISA_CREDIT_PURCHASE_TOKEN = :visa_credit_purchase_token
5997
+
5998
+ # Apple Pay Debit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
5999
+ VISA_DEBIT_PURCHASE_TOKEN = :visa_debit_purchase_token
6000
+
6001
+ # A per transaction fee assessed for Base II financial draft - Issuer.
6002
+ VISA_CLEARING_TRANSMISSION = :visa_clearing_transmission
6003
+
6004
+ # Issuer charge for Non-Financial OCT/AFT Authorization 0100 and Declined Financial OCT/AFT 0200 transactions.
6005
+ VISA_DIRECT_AUTHORIZATION = :visa_direct_authorization
6006
+
6007
+ # Data processing charge for Visa Direct OCTs for all business application identifiers (BAIs) other than money transfer-bank initiated (BI). BASE II transactions.
6008
+ VISA_DIRECT_TRANSACTION_DOMESTIC = :visa_direct_transaction_domestic
6009
+
6010
+ # Issuer card service fee for Commercial Credit cards.
6011
+ VISA_SERVICE_COMMERCIAL_CREDIT = :visa_service_commercial_credit
6012
+
6013
+ # Issuer Advertising Service Fee for Commercial Credit cards.
6014
+ VISA_ADVERTISING_SERVICE_COMMERCIAL_CREDIT = :visa_advertising_service_commercial_credit
6015
+
6016
+ # Issuer Community Growth Acceleration Program Fee.
6017
+ VISA_COMMUNITY_GROWTH_ACCELERATION_PROGRAM = :visa_community_growth_acceleration_program
6018
+
6019
+ # Issuer Processing Guarantee for Commercial Credit cards.
6020
+ VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = :visa_processing_guarantee_commercial_credit
6021
+
6022
+ # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
6023
+ PULSE_SWITCH_FEE = :pulse_switch_fee
6024
+
6025
+ # @!method self.values
6026
+ # @return [Array<Symbol>]
6027
+ end
6028
+ end
6029
+
5485
6030
  # @see Increase::Models::Transaction::Source::CardSettlement#surcharge
5486
6031
  class Surcharge < Increase::Internal::Type::BaseModel
5487
6032
  # @!attribute amount
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.274.0"
4
+ VERSION = "1.275.0"
5
5
  end