increase 1.211.0 → 1.213.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/increase/models/card_payment.rb +181 -1
- data/lib/increase/models/check_deposit.rb +3 -0
- data/lib/increase/models/declined_transaction.rb +3 -0
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/card_payment.rbi +340 -0
- data/rbi/increase/models/check_deposit.rbi +7 -0
- data/rbi/increase/models/declined_transaction.rbi +7 -0
- data/sig/increase/models/card_payment.rbs +182 -0
- data/sig/increase/models/check_deposit.rbs +4 -0
- data/sig/increase/models/declined_transaction.rbs +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 23a2a4e5541e0bffeba25be5f07e757a4c77c3b300c5f0ef23c17b7b2d2f4877
|
|
4
|
+
data.tar.gz: 98125d92a2c9fc61f0b3760495116225ead6d997cbadf5c9e8af73522dd775f8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6e6b7619a2e44531574857d0b2e2fb0730e377f1ad811d0873b85b24ab09ddaf3608e8688aadf91c865444b6ecbfb889d43b3a357401755b8bb2be76bc2915fc
|
|
7
|
+
data.tar.gz: 681ccf0c6296325449c6f2f663c819c329717d0187e11adc31bee5a325b11a0a89ab09cd5a56279dc3ca466cb078ca3857c29ebce7b804bae3f165c783831e2f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.213.0 (2026-02-23)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.212.0...v1.213.0](https://github.com/Increase/increase-ruby/compare/v1.212.0...v1.213.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([27ad253](https://github.com/Increase/increase-ruby/commit/27ad253d411648e5e305016495f73495c31ccb0d))
|
|
10
|
+
|
|
11
|
+
## 1.212.0 (2026-02-23)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v1.211.0...v1.212.0](https://github.com/Increase/increase-ruby/compare/v1.211.0...v1.212.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([5b533a4](https://github.com/Increase/increase-ruby/commit/5b533a43964e40c6f7668a6614ea8275ca5686ba))
|
|
18
|
+
|
|
3
19
|
## 1.211.0 (2026-02-23)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v1.210.0...v1.211.0](https://github.com/Increase/increase-ruby/compare/v1.210.0...v1.211.0)
|
data/README.md
CHANGED
|
@@ -47,6 +47,12 @@ module Increase
|
|
|
47
47
|
# @return [String, nil]
|
|
48
48
|
required :physical_card_id, String, nil?: true
|
|
49
49
|
|
|
50
|
+
# @!attribute scheme_fees
|
|
51
|
+
# The scheme fees associated with this card payment.
|
|
52
|
+
#
|
|
53
|
+
# @return [Array<Increase::Models::CardPayment::SchemeFee>]
|
|
54
|
+
required :scheme_fees, -> { Increase::Internal::Type::ArrayOf[Increase::CardPayment::SchemeFee] }
|
|
55
|
+
|
|
50
56
|
# @!attribute state
|
|
51
57
|
# The summarized state of this card payment.
|
|
52
58
|
#
|
|
@@ -60,7 +66,7 @@ module Increase
|
|
|
60
66
|
# @return [Symbol, Increase::Models::CardPayment::Type]
|
|
61
67
|
required :type, enum: -> { Increase::CardPayment::Type }
|
|
62
68
|
|
|
63
|
-
# @!method initialize(id:, account_id:, card_id:, created_at:, digital_wallet_token_id:, elements:, physical_card_id:, state:, type:)
|
|
69
|
+
# @!method initialize(id:, account_id:, card_id:, created_at:, digital_wallet_token_id:, elements:, physical_card_id:, scheme_fees:, state:, type:)
|
|
64
70
|
# Some parameter documentations has been truncated, see
|
|
65
71
|
# {Increase::Models::CardPayment} for more details.
|
|
66
72
|
#
|
|
@@ -81,6 +87,8 @@ module Increase
|
|
|
81
87
|
#
|
|
82
88
|
# @param physical_card_id [String, nil] The Physical Card identifier for this payment.
|
|
83
89
|
#
|
|
90
|
+
# @param scheme_fees [Array<Increase::Models::CardPayment::SchemeFee>] The scheme fees associated with this card payment.
|
|
91
|
+
#
|
|
84
92
|
# @param state [Increase::Models::CardPayment::State] The summarized state of this card payment.
|
|
85
93
|
#
|
|
86
94
|
# @param type [Symbol, Increase::Models::CardPayment::Type] A constant representing the object's type. For this resource it will always be `
|
|
@@ -10854,6 +10862,178 @@ module Increase
|
|
|
10854
10862
|
end
|
|
10855
10863
|
end
|
|
10856
10864
|
|
|
10865
|
+
class SchemeFee < Increase::Internal::Type::BaseModel
|
|
10866
|
+
# @!attribute amount
|
|
10867
|
+
# The fee amount given as a string containing a decimal number.
|
|
10868
|
+
#
|
|
10869
|
+
# @return [String]
|
|
10870
|
+
required :amount, String
|
|
10871
|
+
|
|
10872
|
+
# @!attribute created_at
|
|
10873
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
|
|
10874
|
+
# created.
|
|
10875
|
+
#
|
|
10876
|
+
# @return [Time]
|
|
10877
|
+
required :created_at, Time
|
|
10878
|
+
|
|
10879
|
+
# @!attribute currency
|
|
10880
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
|
|
10881
|
+
# reimbursement.
|
|
10882
|
+
#
|
|
10883
|
+
# @return [Symbol, Increase::Models::CardPayment::SchemeFee::Currency]
|
|
10884
|
+
required :currency, enum: -> { Increase::CardPayment::SchemeFee::Currency }
|
|
10885
|
+
|
|
10886
|
+
# @!attribute fee_type
|
|
10887
|
+
# The type of fee being assessed.
|
|
10888
|
+
#
|
|
10889
|
+
# @return [Symbol, Increase::Models::CardPayment::SchemeFee::FeeType]
|
|
10890
|
+
required :fee_type, enum: -> { Increase::CardPayment::SchemeFee::FeeType }
|
|
10891
|
+
|
|
10892
|
+
# @!attribute fixed_component
|
|
10893
|
+
# The fixed component of the fee, if applicable, given in major units of the fee
|
|
10894
|
+
# amount.
|
|
10895
|
+
#
|
|
10896
|
+
# @return [String, nil]
|
|
10897
|
+
required :fixed_component, String, nil?: true
|
|
10898
|
+
|
|
10899
|
+
# @!attribute variable_rate
|
|
10900
|
+
# The variable rate component of the fee, if applicable, given as a decimal (e.g.,
|
|
10901
|
+
# 0.015 for 1.5%).
|
|
10902
|
+
#
|
|
10903
|
+
# @return [String, nil]
|
|
10904
|
+
required :variable_rate, String, nil?: true
|
|
10905
|
+
|
|
10906
|
+
# @!method initialize(amount:, created_at:, currency:, fee_type:, fixed_component:, variable_rate:)
|
|
10907
|
+
# Some parameter documentations has been truncated, see
|
|
10908
|
+
# {Increase::Models::CardPayment::SchemeFee} for more details.
|
|
10909
|
+
#
|
|
10910
|
+
# @param amount [String] The fee amount given as a string containing a decimal number.
|
|
10911
|
+
#
|
|
10912
|
+
# @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
|
|
10913
|
+
#
|
|
10914
|
+
# @param currency [Symbol, Increase::Models::CardPayment::SchemeFee::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee reimburs
|
|
10915
|
+
#
|
|
10916
|
+
# @param fee_type [Symbol, Increase::Models::CardPayment::SchemeFee::FeeType] The type of fee being assessed.
|
|
10917
|
+
#
|
|
10918
|
+
# @param fixed_component [String, nil] The fixed component of the fee, if applicable, given in major units of the fee a
|
|
10919
|
+
#
|
|
10920
|
+
# @param variable_rate [String, nil] The variable rate component of the fee, if applicable, given as a decimal (e.g.,
|
|
10921
|
+
|
|
10922
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
|
|
10923
|
+
# reimbursement.
|
|
10924
|
+
#
|
|
10925
|
+
# @see Increase::Models::CardPayment::SchemeFee#currency
|
|
10926
|
+
module Currency
|
|
10927
|
+
extend Increase::Internal::Type::Enum
|
|
10928
|
+
|
|
10929
|
+
# US Dollar (USD)
|
|
10930
|
+
USD = :USD
|
|
10931
|
+
|
|
10932
|
+
# @!method self.values
|
|
10933
|
+
# @return [Array<Symbol>]
|
|
10934
|
+
end
|
|
10935
|
+
|
|
10936
|
+
# The type of fee being assessed.
|
|
10937
|
+
#
|
|
10938
|
+
# @see Increase::Models::CardPayment::SchemeFee#fee_type
|
|
10939
|
+
module FeeType
|
|
10940
|
+
extend Increase::Internal::Type::Enum
|
|
10941
|
+
|
|
10942
|
+
# 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.
|
|
10943
|
+
VISA_INTERNATIONAL_SERVICE_ASSESSMENT_SINGLE_CURRENCY =
|
|
10944
|
+
:visa_international_service_assessment_single_currency
|
|
10945
|
+
|
|
10946
|
+
# International Service Assessment (ISA) cross-currency is a fee assessed by the card network for cross-border transactions presented and settled in different currencies.
|
|
10947
|
+
VISA_INTERNATIONAL_SERVICE_ASSESSMENT_CROSS_CURRENCY =
|
|
10948
|
+
:visa_international_service_assessment_cross_currency
|
|
10949
|
+
|
|
10950
|
+
# 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.
|
|
10951
|
+
VISA_AUTHORIZATION_DOMESTIC_POINT_OF_SALE = :visa_authorization_domestic_point_of_sale
|
|
10952
|
+
|
|
10953
|
+
# 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.
|
|
10954
|
+
VISA_AUTHORIZATION_INTERNATIONAL_POINT_OF_SALE = :visa_authorization_international_point_of_sale
|
|
10955
|
+
|
|
10956
|
+
# 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.
|
|
10957
|
+
VISA_AUTHORIZATION_CANADA_POINT_OF_SALE = :visa_authorization_canada_point_of_sale
|
|
10958
|
+
|
|
10959
|
+
# 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.
|
|
10960
|
+
VISA_AUTHORIZATION_REVERSAL_POINT_OF_SALE = :visa_authorization_reversal_point_of_sale
|
|
10961
|
+
|
|
10962
|
+
# 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.
|
|
10963
|
+
VISA_AUTHORIZATION_REVERSAL_INTERNATIONAL_POINT_OF_SALE =
|
|
10964
|
+
:visa_authorization_reversal_international_point_of_sale
|
|
10965
|
+
|
|
10966
|
+
# A per Address Verification Service (AVS) result fee. Applies to all usable AVS result codes.
|
|
10967
|
+
VISA_AUTHORIZATION_ADDRESS_VERIFICATION_SERVICE = :visa_authorization_address_verification_service
|
|
10968
|
+
|
|
10969
|
+
# 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).
|
|
10970
|
+
VISA_ADVANCED_AUTHORIZATION = :visa_advanced_authorization
|
|
10971
|
+
|
|
10972
|
+
# 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.
|
|
10973
|
+
VISA_MESSAGE_TRANSMISSION = :visa_message_transmission
|
|
10974
|
+
|
|
10975
|
+
# Activity, per inquiry, related to the domestic Issuer for Account Number Verification.
|
|
10976
|
+
VISA_ACCOUNT_VERIFICATION_DOMESTIC = :visa_account_verification_domestic
|
|
10977
|
+
|
|
10978
|
+
# Activity, per inquiry, related to the international Issuer for Account Number Verification.
|
|
10979
|
+
VISA_ACCOUNT_VERIFICATION_INTERNATIONAL = :visa_account_verification_international
|
|
10980
|
+
|
|
10981
|
+
# Activity, per inquiry, related to the US-Canada Issuer for Account Number Verification.
|
|
10982
|
+
VISA_ACCOUNT_VERIFICATION_CANADA = :visa_account_verification_canada
|
|
10983
|
+
|
|
10984
|
+
# 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.
|
|
10985
|
+
VISA_CORPORATE_ACCEPTANCE_FEE = :visa_corporate_acceptance_fee
|
|
10986
|
+
|
|
10987
|
+
# 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.
|
|
10988
|
+
VISA_CONSUMER_DEBIT_ACCEPTANCE_FEE = :visa_consumer_debit_acceptance_fee
|
|
10989
|
+
|
|
10990
|
+
# 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.
|
|
10991
|
+
VISA_BUSINESS_DEBIT_ACCEPTANCE_FEE = :visa_business_debit_acceptance_fee
|
|
10992
|
+
|
|
10993
|
+
# 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.
|
|
10994
|
+
VISA_PURCHASING_ACCEPTANCE_FEE = :visa_purchasing_acceptance_fee
|
|
10995
|
+
|
|
10996
|
+
# Activity and fees for the processing of a sales draft original for a purchase transaction.
|
|
10997
|
+
VISA_PURCHASE_DOMESTIC = :visa_purchase_domestic
|
|
10998
|
+
|
|
10999
|
+
# Activity and fees for the processing of an international sales draft original for a purchase transaction.
|
|
11000
|
+
VISA_PURCHASE_INTERNATIONAL = :visa_purchase_international
|
|
11001
|
+
|
|
11002
|
+
# Apple Pay Credit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
|
|
11003
|
+
VISA_CREDIT_PURCHASE_TOKEN = :visa_credit_purchase_token
|
|
11004
|
+
|
|
11005
|
+
# Apple Pay Debit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
|
|
11006
|
+
VISA_DEBIT_PURCHASE_TOKEN = :visa_debit_purchase_token
|
|
11007
|
+
|
|
11008
|
+
# A per transaction fee assessed for Base II financial draft - Issuer.
|
|
11009
|
+
VISA_CLEARING_TRANSMISSION = :visa_clearing_transmission
|
|
11010
|
+
|
|
11011
|
+
# Issuer charge for Non-Financial OCT/AFT Authorization 0100 and Declined Financial OCT/AFT 0200 transactions.
|
|
11012
|
+
VISA_DIRECT_AUTHORIZATION = :visa_direct_authorization
|
|
11013
|
+
|
|
11014
|
+
# Data processing charge for Visa Direct OCTs for all business application identifiers (BAIs) other than money transfer-bank initiated (BI). BASE II transactions.
|
|
11015
|
+
VISA_DIRECT_TRANSACTION_DOMESTIC = :visa_direct_transaction_domestic
|
|
11016
|
+
|
|
11017
|
+
# Issuer card service fee for Commercial Credit cards.
|
|
11018
|
+
VISA_SERVICE_COMMERCIAL_CREDIT = :visa_service_commercial_credit
|
|
11019
|
+
|
|
11020
|
+
# Issuer Advertising Service Fee for Commercial Credit cards.
|
|
11021
|
+
VISA_ADVERTISING_SERVICE_COMMERCIAL_CREDIT = :visa_advertising_service_commercial_credit
|
|
11022
|
+
|
|
11023
|
+
# Issuer Community Growth Acceleration Program Fee.
|
|
11024
|
+
VISA_COMMUNITY_GROWTH_ACCELERATION_PROGRAM = :visa_community_growth_acceleration_program
|
|
11025
|
+
|
|
11026
|
+
# Issuer Processing Guarantee for Commercial Credit cards.
|
|
11027
|
+
VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT = :visa_processing_guarantee_commercial_credit
|
|
11028
|
+
|
|
11029
|
+
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
11030
|
+
PULSE_SWITCH_FEE = :pulse_switch_fee
|
|
11031
|
+
|
|
11032
|
+
# @!method self.values
|
|
11033
|
+
# @return [Array<Symbol>]
|
|
11034
|
+
end
|
|
11035
|
+
end
|
|
11036
|
+
|
|
10857
11037
|
# @see Increase::Models::CardPayment#state
|
|
10858
11038
|
class State < Increase::Internal::Type::BaseModel
|
|
10859
11039
|
# @!attribute authorized_amount
|
|
@@ -361,6 +361,9 @@ module Increase
|
|
|
361
361
|
# The check was rejected at the user's request.
|
|
362
362
|
REQUESTED_BY_USER = :requested_by_user
|
|
363
363
|
|
|
364
|
+
# The check is not a U.S. domestic check and cannot be processed.
|
|
365
|
+
INTERNATIONAL = :international
|
|
366
|
+
|
|
364
367
|
# The check was rejected for an unknown reason.
|
|
365
368
|
UNKNOWN = :unknown
|
|
366
369
|
|
|
@@ -2070,6 +2070,9 @@ module Increase
|
|
|
2070
2070
|
# The check was rejected at the user's request.
|
|
2071
2071
|
REQUESTED_BY_USER = :requested_by_user
|
|
2072
2072
|
|
|
2073
|
+
# The check is not a U.S. domestic check and cannot be processed.
|
|
2074
|
+
INTERNATIONAL = :international
|
|
2075
|
+
|
|
2073
2076
|
# The check was rejected for an unknown reason.
|
|
2074
2077
|
UNKNOWN = :unknown
|
|
2075
2078
|
|
data/lib/increase/version.rb
CHANGED
|
@@ -37,6 +37,10 @@ module Increase
|
|
|
37
37
|
sig { returns(T.nilable(String)) }
|
|
38
38
|
attr_accessor :physical_card_id
|
|
39
39
|
|
|
40
|
+
# The scheme fees associated with this card payment.
|
|
41
|
+
sig { returns(T::Array[Increase::CardPayment::SchemeFee]) }
|
|
42
|
+
attr_accessor :scheme_fees
|
|
43
|
+
|
|
40
44
|
# The summarized state of this card payment.
|
|
41
45
|
sig { returns(Increase::CardPayment::State) }
|
|
42
46
|
attr_reader :state
|
|
@@ -60,6 +64,7 @@ module Increase
|
|
|
60
64
|
digital_wallet_token_id: T.nilable(String),
|
|
61
65
|
elements: T::Array[Increase::CardPayment::Element::OrHash],
|
|
62
66
|
physical_card_id: T.nilable(String),
|
|
67
|
+
scheme_fees: T::Array[Increase::CardPayment::SchemeFee::OrHash],
|
|
63
68
|
state: Increase::CardPayment::State::OrHash,
|
|
64
69
|
type: Increase::CardPayment::Type::OrSymbol
|
|
65
70
|
).returns(T.attached_class)
|
|
@@ -80,6 +85,8 @@ module Increase
|
|
|
80
85
|
elements:,
|
|
81
86
|
# The Physical Card identifier for this payment.
|
|
82
87
|
physical_card_id:,
|
|
88
|
+
# The scheme fees associated with this card payment.
|
|
89
|
+
scheme_fees:,
|
|
83
90
|
# The summarized state of this card payment.
|
|
84
91
|
state:,
|
|
85
92
|
# A constant representing the object's type. For this resource it will always be
|
|
@@ -98,6 +105,7 @@ module Increase
|
|
|
98
105
|
digital_wallet_token_id: T.nilable(String),
|
|
99
106
|
elements: T::Array[Increase::CardPayment::Element],
|
|
100
107
|
physical_card_id: T.nilable(String),
|
|
108
|
+
scheme_fees: T::Array[Increase::CardPayment::SchemeFee],
|
|
101
109
|
state: Increase::CardPayment::State,
|
|
102
110
|
type: Increase::CardPayment::Type::TaggedSymbol
|
|
103
111
|
}
|
|
@@ -20334,6 +20342,338 @@ module Increase
|
|
|
20334
20342
|
end
|
|
20335
20343
|
end
|
|
20336
20344
|
|
|
20345
|
+
class SchemeFee < Increase::Internal::Type::BaseModel
|
|
20346
|
+
OrHash =
|
|
20347
|
+
T.type_alias do
|
|
20348
|
+
T.any(Increase::CardPayment::SchemeFee, Increase::Internal::AnyHash)
|
|
20349
|
+
end
|
|
20350
|
+
|
|
20351
|
+
# The fee amount given as a string containing a decimal number.
|
|
20352
|
+
sig { returns(String) }
|
|
20353
|
+
attr_accessor :amount
|
|
20354
|
+
|
|
20355
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
|
|
20356
|
+
# created.
|
|
20357
|
+
sig { returns(Time) }
|
|
20358
|
+
attr_accessor :created_at
|
|
20359
|
+
|
|
20360
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
|
|
20361
|
+
# reimbursement.
|
|
20362
|
+
sig do
|
|
20363
|
+
returns(Increase::CardPayment::SchemeFee::Currency::TaggedSymbol)
|
|
20364
|
+
end
|
|
20365
|
+
attr_accessor :currency
|
|
20366
|
+
|
|
20367
|
+
# The type of fee being assessed.
|
|
20368
|
+
sig { returns(Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol) }
|
|
20369
|
+
attr_accessor :fee_type
|
|
20370
|
+
|
|
20371
|
+
# The fixed component of the fee, if applicable, given in major units of the fee
|
|
20372
|
+
# amount.
|
|
20373
|
+
sig { returns(T.nilable(String)) }
|
|
20374
|
+
attr_accessor :fixed_component
|
|
20375
|
+
|
|
20376
|
+
# The variable rate component of the fee, if applicable, given as a decimal (e.g.,
|
|
20377
|
+
# 0.015 for 1.5%).
|
|
20378
|
+
sig { returns(T.nilable(String)) }
|
|
20379
|
+
attr_accessor :variable_rate
|
|
20380
|
+
|
|
20381
|
+
sig do
|
|
20382
|
+
params(
|
|
20383
|
+
amount: String,
|
|
20384
|
+
created_at: Time,
|
|
20385
|
+
currency: Increase::CardPayment::SchemeFee::Currency::OrSymbol,
|
|
20386
|
+
fee_type: Increase::CardPayment::SchemeFee::FeeType::OrSymbol,
|
|
20387
|
+
fixed_component: T.nilable(String),
|
|
20388
|
+
variable_rate: T.nilable(String)
|
|
20389
|
+
).returns(T.attached_class)
|
|
20390
|
+
end
|
|
20391
|
+
def self.new(
|
|
20392
|
+
# The fee amount given as a string containing a decimal number.
|
|
20393
|
+
amount:,
|
|
20394
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the fee was
|
|
20395
|
+
# created.
|
|
20396
|
+
created_at:,
|
|
20397
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
|
|
20398
|
+
# reimbursement.
|
|
20399
|
+
currency:,
|
|
20400
|
+
# The type of fee being assessed.
|
|
20401
|
+
fee_type:,
|
|
20402
|
+
# The fixed component of the fee, if applicable, given in major units of the fee
|
|
20403
|
+
# amount.
|
|
20404
|
+
fixed_component:,
|
|
20405
|
+
# The variable rate component of the fee, if applicable, given as a decimal (e.g.,
|
|
20406
|
+
# 0.015 for 1.5%).
|
|
20407
|
+
variable_rate:
|
|
20408
|
+
)
|
|
20409
|
+
end
|
|
20410
|
+
|
|
20411
|
+
sig do
|
|
20412
|
+
override.returns(
|
|
20413
|
+
{
|
|
20414
|
+
amount: String,
|
|
20415
|
+
created_at: Time,
|
|
20416
|
+
currency:
|
|
20417
|
+
Increase::CardPayment::SchemeFee::Currency::TaggedSymbol,
|
|
20418
|
+
fee_type: Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol,
|
|
20419
|
+
fixed_component: T.nilable(String),
|
|
20420
|
+
variable_rate: T.nilable(String)
|
|
20421
|
+
}
|
|
20422
|
+
)
|
|
20423
|
+
end
|
|
20424
|
+
def to_hash
|
|
20425
|
+
end
|
|
20426
|
+
|
|
20427
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the fee
|
|
20428
|
+
# reimbursement.
|
|
20429
|
+
module Currency
|
|
20430
|
+
extend Increase::Internal::Type::Enum
|
|
20431
|
+
|
|
20432
|
+
TaggedSymbol =
|
|
20433
|
+
T.type_alias do
|
|
20434
|
+
T.all(Symbol, Increase::CardPayment::SchemeFee::Currency)
|
|
20435
|
+
end
|
|
20436
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
20437
|
+
|
|
20438
|
+
# US Dollar (USD)
|
|
20439
|
+
USD =
|
|
20440
|
+
T.let(
|
|
20441
|
+
:USD,
|
|
20442
|
+
Increase::CardPayment::SchemeFee::Currency::TaggedSymbol
|
|
20443
|
+
)
|
|
20444
|
+
|
|
20445
|
+
sig do
|
|
20446
|
+
override.returns(
|
|
20447
|
+
T::Array[Increase::CardPayment::SchemeFee::Currency::TaggedSymbol]
|
|
20448
|
+
)
|
|
20449
|
+
end
|
|
20450
|
+
def self.values
|
|
20451
|
+
end
|
|
20452
|
+
end
|
|
20453
|
+
|
|
20454
|
+
# The type of fee being assessed.
|
|
20455
|
+
module FeeType
|
|
20456
|
+
extend Increase::Internal::Type::Enum
|
|
20457
|
+
|
|
20458
|
+
TaggedSymbol =
|
|
20459
|
+
T.type_alias do
|
|
20460
|
+
T.all(Symbol, Increase::CardPayment::SchemeFee::FeeType)
|
|
20461
|
+
end
|
|
20462
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
20463
|
+
|
|
20464
|
+
# 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.
|
|
20465
|
+
VISA_INTERNATIONAL_SERVICE_ASSESSMENT_SINGLE_CURRENCY =
|
|
20466
|
+
T.let(
|
|
20467
|
+
:visa_international_service_assessment_single_currency,
|
|
20468
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20469
|
+
)
|
|
20470
|
+
|
|
20471
|
+
# International Service Assessment (ISA) cross-currency is a fee assessed by the card network for cross-border transactions presented and settled in different currencies.
|
|
20472
|
+
VISA_INTERNATIONAL_SERVICE_ASSESSMENT_CROSS_CURRENCY =
|
|
20473
|
+
T.let(
|
|
20474
|
+
:visa_international_service_assessment_cross_currency,
|
|
20475
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20476
|
+
)
|
|
20477
|
+
|
|
20478
|
+
# 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.
|
|
20479
|
+
VISA_AUTHORIZATION_DOMESTIC_POINT_OF_SALE =
|
|
20480
|
+
T.let(
|
|
20481
|
+
:visa_authorization_domestic_point_of_sale,
|
|
20482
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20483
|
+
)
|
|
20484
|
+
|
|
20485
|
+
# 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.
|
|
20486
|
+
VISA_AUTHORIZATION_INTERNATIONAL_POINT_OF_SALE =
|
|
20487
|
+
T.let(
|
|
20488
|
+
:visa_authorization_international_point_of_sale,
|
|
20489
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20490
|
+
)
|
|
20491
|
+
|
|
20492
|
+
# 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.
|
|
20493
|
+
VISA_AUTHORIZATION_CANADA_POINT_OF_SALE =
|
|
20494
|
+
T.let(
|
|
20495
|
+
:visa_authorization_canada_point_of_sale,
|
|
20496
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20497
|
+
)
|
|
20498
|
+
|
|
20499
|
+
# 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.
|
|
20500
|
+
VISA_AUTHORIZATION_REVERSAL_POINT_OF_SALE =
|
|
20501
|
+
T.let(
|
|
20502
|
+
:visa_authorization_reversal_point_of_sale,
|
|
20503
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20504
|
+
)
|
|
20505
|
+
|
|
20506
|
+
# 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.
|
|
20507
|
+
VISA_AUTHORIZATION_REVERSAL_INTERNATIONAL_POINT_OF_SALE =
|
|
20508
|
+
T.let(
|
|
20509
|
+
:visa_authorization_reversal_international_point_of_sale,
|
|
20510
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20511
|
+
)
|
|
20512
|
+
|
|
20513
|
+
# A per Address Verification Service (AVS) result fee. Applies to all usable AVS result codes.
|
|
20514
|
+
VISA_AUTHORIZATION_ADDRESS_VERIFICATION_SERVICE =
|
|
20515
|
+
T.let(
|
|
20516
|
+
:visa_authorization_address_verification_service,
|
|
20517
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20518
|
+
)
|
|
20519
|
+
|
|
20520
|
+
# 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).
|
|
20521
|
+
VISA_ADVANCED_AUTHORIZATION =
|
|
20522
|
+
T.let(
|
|
20523
|
+
:visa_advanced_authorization,
|
|
20524
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20525
|
+
)
|
|
20526
|
+
|
|
20527
|
+
# 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.
|
|
20528
|
+
VISA_MESSAGE_TRANSMISSION =
|
|
20529
|
+
T.let(
|
|
20530
|
+
:visa_message_transmission,
|
|
20531
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20532
|
+
)
|
|
20533
|
+
|
|
20534
|
+
# Activity, per inquiry, related to the domestic Issuer for Account Number Verification.
|
|
20535
|
+
VISA_ACCOUNT_VERIFICATION_DOMESTIC =
|
|
20536
|
+
T.let(
|
|
20537
|
+
:visa_account_verification_domestic,
|
|
20538
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20539
|
+
)
|
|
20540
|
+
|
|
20541
|
+
# Activity, per inquiry, related to the international Issuer for Account Number Verification.
|
|
20542
|
+
VISA_ACCOUNT_VERIFICATION_INTERNATIONAL =
|
|
20543
|
+
T.let(
|
|
20544
|
+
:visa_account_verification_international,
|
|
20545
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20546
|
+
)
|
|
20547
|
+
|
|
20548
|
+
# Activity, per inquiry, related to the US-Canada Issuer for Account Number Verification.
|
|
20549
|
+
VISA_ACCOUNT_VERIFICATION_CANADA =
|
|
20550
|
+
T.let(
|
|
20551
|
+
:visa_account_verification_canada,
|
|
20552
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20553
|
+
)
|
|
20554
|
+
|
|
20555
|
+
# 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.
|
|
20556
|
+
VISA_CORPORATE_ACCEPTANCE_FEE =
|
|
20557
|
+
T.let(
|
|
20558
|
+
:visa_corporate_acceptance_fee,
|
|
20559
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20560
|
+
)
|
|
20561
|
+
|
|
20562
|
+
# 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.
|
|
20563
|
+
VISA_CONSUMER_DEBIT_ACCEPTANCE_FEE =
|
|
20564
|
+
T.let(
|
|
20565
|
+
:visa_consumer_debit_acceptance_fee,
|
|
20566
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20567
|
+
)
|
|
20568
|
+
|
|
20569
|
+
# 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.
|
|
20570
|
+
VISA_BUSINESS_DEBIT_ACCEPTANCE_FEE =
|
|
20571
|
+
T.let(
|
|
20572
|
+
:visa_business_debit_acceptance_fee,
|
|
20573
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20574
|
+
)
|
|
20575
|
+
|
|
20576
|
+
# 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.
|
|
20577
|
+
VISA_PURCHASING_ACCEPTANCE_FEE =
|
|
20578
|
+
T.let(
|
|
20579
|
+
:visa_purchasing_acceptance_fee,
|
|
20580
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20581
|
+
)
|
|
20582
|
+
|
|
20583
|
+
# Activity and fees for the processing of a sales draft original for a purchase transaction.
|
|
20584
|
+
VISA_PURCHASE_DOMESTIC =
|
|
20585
|
+
T.let(
|
|
20586
|
+
:visa_purchase_domestic,
|
|
20587
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20588
|
+
)
|
|
20589
|
+
|
|
20590
|
+
# Activity and fees for the processing of an international sales draft original for a purchase transaction.
|
|
20591
|
+
VISA_PURCHASE_INTERNATIONAL =
|
|
20592
|
+
T.let(
|
|
20593
|
+
:visa_purchase_international,
|
|
20594
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20595
|
+
)
|
|
20596
|
+
|
|
20597
|
+
# Apple Pay Credit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
|
|
20598
|
+
VISA_CREDIT_PURCHASE_TOKEN =
|
|
20599
|
+
T.let(
|
|
20600
|
+
:visa_credit_purchase_token,
|
|
20601
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20602
|
+
)
|
|
20603
|
+
|
|
20604
|
+
# Apple Pay Debit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
|
|
20605
|
+
VISA_DEBIT_PURCHASE_TOKEN =
|
|
20606
|
+
T.let(
|
|
20607
|
+
:visa_debit_purchase_token,
|
|
20608
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20609
|
+
)
|
|
20610
|
+
|
|
20611
|
+
# A per transaction fee assessed for Base II financial draft - Issuer.
|
|
20612
|
+
VISA_CLEARING_TRANSMISSION =
|
|
20613
|
+
T.let(
|
|
20614
|
+
:visa_clearing_transmission,
|
|
20615
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20616
|
+
)
|
|
20617
|
+
|
|
20618
|
+
# Issuer charge for Non-Financial OCT/AFT Authorization 0100 and Declined Financial OCT/AFT 0200 transactions.
|
|
20619
|
+
VISA_DIRECT_AUTHORIZATION =
|
|
20620
|
+
T.let(
|
|
20621
|
+
:visa_direct_authorization,
|
|
20622
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20623
|
+
)
|
|
20624
|
+
|
|
20625
|
+
# Data processing charge for Visa Direct OCTs for all business application identifiers (BAIs) other than money transfer-bank initiated (BI). BASE II transactions.
|
|
20626
|
+
VISA_DIRECT_TRANSACTION_DOMESTIC =
|
|
20627
|
+
T.let(
|
|
20628
|
+
:visa_direct_transaction_domestic,
|
|
20629
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20630
|
+
)
|
|
20631
|
+
|
|
20632
|
+
# Issuer card service fee for Commercial Credit cards.
|
|
20633
|
+
VISA_SERVICE_COMMERCIAL_CREDIT =
|
|
20634
|
+
T.let(
|
|
20635
|
+
:visa_service_commercial_credit,
|
|
20636
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20637
|
+
)
|
|
20638
|
+
|
|
20639
|
+
# Issuer Advertising Service Fee for Commercial Credit cards.
|
|
20640
|
+
VISA_ADVERTISING_SERVICE_COMMERCIAL_CREDIT =
|
|
20641
|
+
T.let(
|
|
20642
|
+
:visa_advertising_service_commercial_credit,
|
|
20643
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20644
|
+
)
|
|
20645
|
+
|
|
20646
|
+
# Issuer Community Growth Acceleration Program Fee.
|
|
20647
|
+
VISA_COMMUNITY_GROWTH_ACCELERATION_PROGRAM =
|
|
20648
|
+
T.let(
|
|
20649
|
+
:visa_community_growth_acceleration_program,
|
|
20650
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20651
|
+
)
|
|
20652
|
+
|
|
20653
|
+
# Issuer Processing Guarantee for Commercial Credit cards.
|
|
20654
|
+
VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT =
|
|
20655
|
+
T.let(
|
|
20656
|
+
:visa_processing_guarantee_commercial_credit,
|
|
20657
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20658
|
+
)
|
|
20659
|
+
|
|
20660
|
+
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
20661
|
+
PULSE_SWITCH_FEE =
|
|
20662
|
+
T.let(
|
|
20663
|
+
:pulse_switch_fee,
|
|
20664
|
+
Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol
|
|
20665
|
+
)
|
|
20666
|
+
|
|
20667
|
+
sig do
|
|
20668
|
+
override.returns(
|
|
20669
|
+
T::Array[Increase::CardPayment::SchemeFee::FeeType::TaggedSymbol]
|
|
20670
|
+
)
|
|
20671
|
+
end
|
|
20672
|
+
def self.values
|
|
20673
|
+
end
|
|
20674
|
+
end
|
|
20675
|
+
end
|
|
20676
|
+
|
|
20337
20677
|
class State < Increase::Internal::Type::BaseModel
|
|
20338
20678
|
OrHash =
|
|
20339
20679
|
T.type_alias do
|
|
@@ -575,6 +575,13 @@ module Increase
|
|
|
575
575
|
Increase::CheckDeposit::DepositRejection::Reason::TaggedSymbol
|
|
576
576
|
)
|
|
577
577
|
|
|
578
|
+
# The check is not a U.S. domestic check and cannot be processed.
|
|
579
|
+
INTERNATIONAL =
|
|
580
|
+
T.let(
|
|
581
|
+
:international,
|
|
582
|
+
Increase::CheckDeposit::DepositRejection::Reason::TaggedSymbol
|
|
583
|
+
)
|
|
584
|
+
|
|
578
585
|
# The check was rejected for an unknown reason.
|
|
579
586
|
UNKNOWN =
|
|
580
587
|
T.let(
|
|
@@ -3983,6 +3983,13 @@ module Increase
|
|
|
3983
3983
|
Increase::DeclinedTransaction::Source::CheckDepositRejection::Reason::TaggedSymbol
|
|
3984
3984
|
)
|
|
3985
3985
|
|
|
3986
|
+
# The check is not a U.S. domestic check and cannot be processed.
|
|
3987
|
+
INTERNATIONAL =
|
|
3988
|
+
T.let(
|
|
3989
|
+
:international,
|
|
3990
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Reason::TaggedSymbol
|
|
3991
|
+
)
|
|
3992
|
+
|
|
3986
3993
|
# The check was rejected for an unknown reason.
|
|
3987
3994
|
UNKNOWN =
|
|
3988
3995
|
T.let(
|
|
@@ -9,6 +9,7 @@ module Increase
|
|
|
9
9
|
digital_wallet_token_id: String?,
|
|
10
10
|
elements: ::Array[Increase::CardPayment::Element],
|
|
11
11
|
physical_card_id: String?,
|
|
12
|
+
scheme_fees: ::Array[Increase::CardPayment::SchemeFee],
|
|
12
13
|
state: Increase::CardPayment::State,
|
|
13
14
|
type: Increase::Models::CardPayment::type_
|
|
14
15
|
}
|
|
@@ -28,6 +29,8 @@ module Increase
|
|
|
28
29
|
|
|
29
30
|
attr_accessor physical_card_id: String?
|
|
30
31
|
|
|
32
|
+
attr_accessor scheme_fees: ::Array[Increase::CardPayment::SchemeFee]
|
|
33
|
+
|
|
31
34
|
attr_accessor state: Increase::CardPayment::State
|
|
32
35
|
|
|
33
36
|
attr_accessor type: Increase::Models::CardPayment::type_
|
|
@@ -40,6 +43,7 @@ module Increase
|
|
|
40
43
|
digital_wallet_token_id: String?,
|
|
41
44
|
elements: ::Array[Increase::CardPayment::Element],
|
|
42
45
|
physical_card_id: String?,
|
|
46
|
+
scheme_fees: ::Array[Increase::CardPayment::SchemeFee],
|
|
43
47
|
state: Increase::CardPayment::State,
|
|
44
48
|
type: Increase::Models::CardPayment::type_
|
|
45
49
|
) -> void
|
|
@@ -52,6 +56,7 @@ module Increase
|
|
|
52
56
|
digital_wallet_token_id: String?,
|
|
53
57
|
elements: ::Array[Increase::CardPayment::Element],
|
|
54
58
|
physical_card_id: String?,
|
|
59
|
+
scheme_fees: ::Array[Increase::CardPayment::SchemeFee],
|
|
55
60
|
state: Increase::CardPayment::State,
|
|
56
61
|
type: Increase::Models::CardPayment::type_
|
|
57
62
|
}
|
|
@@ -7532,6 +7537,183 @@ module Increase
|
|
|
7532
7537
|
end
|
|
7533
7538
|
end
|
|
7534
7539
|
|
|
7540
|
+
type scheme_fee =
|
|
7541
|
+
{
|
|
7542
|
+
amount: String,
|
|
7543
|
+
created_at: Time,
|
|
7544
|
+
currency: Increase::Models::CardPayment::SchemeFee::currency,
|
|
7545
|
+
fee_type: Increase::Models::CardPayment::SchemeFee::fee_type,
|
|
7546
|
+
fixed_component: String?,
|
|
7547
|
+
variable_rate: String?
|
|
7548
|
+
}
|
|
7549
|
+
|
|
7550
|
+
class SchemeFee < Increase::Internal::Type::BaseModel
|
|
7551
|
+
attr_accessor amount: String
|
|
7552
|
+
|
|
7553
|
+
attr_accessor created_at: Time
|
|
7554
|
+
|
|
7555
|
+
attr_accessor currency: Increase::Models::CardPayment::SchemeFee::currency
|
|
7556
|
+
|
|
7557
|
+
attr_accessor fee_type: Increase::Models::CardPayment::SchemeFee::fee_type
|
|
7558
|
+
|
|
7559
|
+
attr_accessor fixed_component: String?
|
|
7560
|
+
|
|
7561
|
+
attr_accessor variable_rate: String?
|
|
7562
|
+
|
|
7563
|
+
def initialize: (
|
|
7564
|
+
amount: String,
|
|
7565
|
+
created_at: Time,
|
|
7566
|
+
currency: Increase::Models::CardPayment::SchemeFee::currency,
|
|
7567
|
+
fee_type: Increase::Models::CardPayment::SchemeFee::fee_type,
|
|
7568
|
+
fixed_component: String?,
|
|
7569
|
+
variable_rate: String?
|
|
7570
|
+
) -> void
|
|
7571
|
+
|
|
7572
|
+
def to_hash: -> {
|
|
7573
|
+
amount: String,
|
|
7574
|
+
created_at: Time,
|
|
7575
|
+
currency: Increase::Models::CardPayment::SchemeFee::currency,
|
|
7576
|
+
fee_type: Increase::Models::CardPayment::SchemeFee::fee_type,
|
|
7577
|
+
fixed_component: String?,
|
|
7578
|
+
variable_rate: String?
|
|
7579
|
+
}
|
|
7580
|
+
|
|
7581
|
+
type currency = :USD
|
|
7582
|
+
|
|
7583
|
+
module Currency
|
|
7584
|
+
extend Increase::Internal::Type::Enum
|
|
7585
|
+
|
|
7586
|
+
# US Dollar (USD)
|
|
7587
|
+
USD: :USD
|
|
7588
|
+
|
|
7589
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::SchemeFee::currency]
|
|
7590
|
+
end
|
|
7591
|
+
|
|
7592
|
+
type fee_type =
|
|
7593
|
+
:visa_international_service_assessment_single_currency
|
|
7594
|
+
| :visa_international_service_assessment_cross_currency
|
|
7595
|
+
| :visa_authorization_domestic_point_of_sale
|
|
7596
|
+
| :visa_authorization_international_point_of_sale
|
|
7597
|
+
| :visa_authorization_canada_point_of_sale
|
|
7598
|
+
| :visa_authorization_reversal_point_of_sale
|
|
7599
|
+
| :visa_authorization_reversal_international_point_of_sale
|
|
7600
|
+
| :visa_authorization_address_verification_service
|
|
7601
|
+
| :visa_advanced_authorization
|
|
7602
|
+
| :visa_message_transmission
|
|
7603
|
+
| :visa_account_verification_domestic
|
|
7604
|
+
| :visa_account_verification_international
|
|
7605
|
+
| :visa_account_verification_canada
|
|
7606
|
+
| :visa_corporate_acceptance_fee
|
|
7607
|
+
| :visa_consumer_debit_acceptance_fee
|
|
7608
|
+
| :visa_business_debit_acceptance_fee
|
|
7609
|
+
| :visa_purchasing_acceptance_fee
|
|
7610
|
+
| :visa_purchase_domestic
|
|
7611
|
+
| :visa_purchase_international
|
|
7612
|
+
| :visa_credit_purchase_token
|
|
7613
|
+
| :visa_debit_purchase_token
|
|
7614
|
+
| :visa_clearing_transmission
|
|
7615
|
+
| :visa_direct_authorization
|
|
7616
|
+
| :visa_direct_transaction_domestic
|
|
7617
|
+
| :visa_service_commercial_credit
|
|
7618
|
+
| :visa_advertising_service_commercial_credit
|
|
7619
|
+
| :visa_community_growth_acceleration_program
|
|
7620
|
+
| :visa_processing_guarantee_commercial_credit
|
|
7621
|
+
| :pulse_switch_fee
|
|
7622
|
+
|
|
7623
|
+
module FeeType
|
|
7624
|
+
extend Increase::Internal::Type::Enum
|
|
7625
|
+
|
|
7626
|
+
# 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.
|
|
7627
|
+
VISA_INTERNATIONAL_SERVICE_ASSESSMENT_SINGLE_CURRENCY: :visa_international_service_assessment_single_currency
|
|
7628
|
+
|
|
7629
|
+
# International Service Assessment (ISA) cross-currency is a fee assessed by the card network for cross-border transactions presented and settled in different currencies.
|
|
7630
|
+
VISA_INTERNATIONAL_SERVICE_ASSESSMENT_CROSS_CURRENCY: :visa_international_service_assessment_cross_currency
|
|
7631
|
+
|
|
7632
|
+
# 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.
|
|
7633
|
+
VISA_AUTHORIZATION_DOMESTIC_POINT_OF_SALE: :visa_authorization_domestic_point_of_sale
|
|
7634
|
+
|
|
7635
|
+
# 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.
|
|
7636
|
+
VISA_AUTHORIZATION_INTERNATIONAL_POINT_OF_SALE: :visa_authorization_international_point_of_sale
|
|
7637
|
+
|
|
7638
|
+
# 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.
|
|
7639
|
+
VISA_AUTHORIZATION_CANADA_POINT_OF_SALE: :visa_authorization_canada_point_of_sale
|
|
7640
|
+
|
|
7641
|
+
# 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.
|
|
7642
|
+
VISA_AUTHORIZATION_REVERSAL_POINT_OF_SALE: :visa_authorization_reversal_point_of_sale
|
|
7643
|
+
|
|
7644
|
+
# 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.
|
|
7645
|
+
VISA_AUTHORIZATION_REVERSAL_INTERNATIONAL_POINT_OF_SALE: :visa_authorization_reversal_international_point_of_sale
|
|
7646
|
+
|
|
7647
|
+
# A per Address Verification Service (AVS) result fee. Applies to all usable AVS result codes.
|
|
7648
|
+
VISA_AUTHORIZATION_ADDRESS_VERIFICATION_SERVICE: :visa_authorization_address_verification_service
|
|
7649
|
+
|
|
7650
|
+
# 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).
|
|
7651
|
+
VISA_ADVANCED_AUTHORIZATION: :visa_advanced_authorization
|
|
7652
|
+
|
|
7653
|
+
# 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.
|
|
7654
|
+
VISA_MESSAGE_TRANSMISSION: :visa_message_transmission
|
|
7655
|
+
|
|
7656
|
+
# Activity, per inquiry, related to the domestic Issuer for Account Number Verification.
|
|
7657
|
+
VISA_ACCOUNT_VERIFICATION_DOMESTIC: :visa_account_verification_domestic
|
|
7658
|
+
|
|
7659
|
+
# Activity, per inquiry, related to the international Issuer for Account Number Verification.
|
|
7660
|
+
VISA_ACCOUNT_VERIFICATION_INTERNATIONAL: :visa_account_verification_international
|
|
7661
|
+
|
|
7662
|
+
# Activity, per inquiry, related to the US-Canada Issuer for Account Number Verification.
|
|
7663
|
+
VISA_ACCOUNT_VERIFICATION_CANADA: :visa_account_verification_canada
|
|
7664
|
+
|
|
7665
|
+
# 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.
|
|
7666
|
+
VISA_CORPORATE_ACCEPTANCE_FEE: :visa_corporate_acceptance_fee
|
|
7667
|
+
|
|
7668
|
+
# 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.
|
|
7669
|
+
VISA_CONSUMER_DEBIT_ACCEPTANCE_FEE: :visa_consumer_debit_acceptance_fee
|
|
7670
|
+
|
|
7671
|
+
# 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.
|
|
7672
|
+
VISA_BUSINESS_DEBIT_ACCEPTANCE_FEE: :visa_business_debit_acceptance_fee
|
|
7673
|
+
|
|
7674
|
+
# 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.
|
|
7675
|
+
VISA_PURCHASING_ACCEPTANCE_FEE: :visa_purchasing_acceptance_fee
|
|
7676
|
+
|
|
7677
|
+
# Activity and fees for the processing of a sales draft original for a purchase transaction.
|
|
7678
|
+
VISA_PURCHASE_DOMESTIC: :visa_purchase_domestic
|
|
7679
|
+
|
|
7680
|
+
# Activity and fees for the processing of an international sales draft original for a purchase transaction.
|
|
7681
|
+
VISA_PURCHASE_INTERNATIONAL: :visa_purchase_international
|
|
7682
|
+
|
|
7683
|
+
# Apple Pay Credit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
|
|
7684
|
+
VISA_CREDIT_PURCHASE_TOKEN: :visa_credit_purchase_token
|
|
7685
|
+
|
|
7686
|
+
# Apple Pay Debit Product Token Purchase Original Transactions. This fee is billed by Visa on behalf of Apple Inc. for Apple Pay transactions.
|
|
7687
|
+
VISA_DEBIT_PURCHASE_TOKEN: :visa_debit_purchase_token
|
|
7688
|
+
|
|
7689
|
+
# A per transaction fee assessed for Base II financial draft - Issuer.
|
|
7690
|
+
VISA_CLEARING_TRANSMISSION: :visa_clearing_transmission
|
|
7691
|
+
|
|
7692
|
+
# Issuer charge for Non-Financial OCT/AFT Authorization 0100 and Declined Financial OCT/AFT 0200 transactions.
|
|
7693
|
+
VISA_DIRECT_AUTHORIZATION: :visa_direct_authorization
|
|
7694
|
+
|
|
7695
|
+
# Data processing charge for Visa Direct OCTs for all business application identifiers (BAIs) other than money transfer-bank initiated (BI). BASE II transactions.
|
|
7696
|
+
VISA_DIRECT_TRANSACTION_DOMESTIC: :visa_direct_transaction_domestic
|
|
7697
|
+
|
|
7698
|
+
# Issuer card service fee for Commercial Credit cards.
|
|
7699
|
+
VISA_SERVICE_COMMERCIAL_CREDIT: :visa_service_commercial_credit
|
|
7700
|
+
|
|
7701
|
+
# Issuer Advertising Service Fee for Commercial Credit cards.
|
|
7702
|
+
VISA_ADVERTISING_SERVICE_COMMERCIAL_CREDIT: :visa_advertising_service_commercial_credit
|
|
7703
|
+
|
|
7704
|
+
# Issuer Community Growth Acceleration Program Fee.
|
|
7705
|
+
VISA_COMMUNITY_GROWTH_ACCELERATION_PROGRAM: :visa_community_growth_acceleration_program
|
|
7706
|
+
|
|
7707
|
+
# Issuer Processing Guarantee for Commercial Credit cards.
|
|
7708
|
+
VISA_PROCESSING_GUARANTEE_COMMERCIAL_CREDIT: :visa_processing_guarantee_commercial_credit
|
|
7709
|
+
|
|
7710
|
+
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
7711
|
+
PULSE_SWITCH_FEE: :pulse_switch_fee
|
|
7712
|
+
|
|
7713
|
+
def self?.values: -> ::Array[Increase::Models::CardPayment::SchemeFee::fee_type]
|
|
7714
|
+
end
|
|
7715
|
+
end
|
|
7716
|
+
|
|
7535
7717
|
type state =
|
|
7536
7718
|
{
|
|
7537
7719
|
authorized_amount: Integer,
|
|
@@ -222,6 +222,7 @@ module Increase
|
|
|
222
222
|
| :suspected_fraud
|
|
223
223
|
| :deposit_window_expired
|
|
224
224
|
| :requested_by_user
|
|
225
|
+
| :international
|
|
225
226
|
| :unknown
|
|
226
227
|
|
|
227
228
|
module Reason
|
|
@@ -257,6 +258,9 @@ module Increase
|
|
|
257
258
|
# The check was rejected at the user's request.
|
|
258
259
|
REQUESTED_BY_USER: :requested_by_user
|
|
259
260
|
|
|
261
|
+
# The check is not a U.S. domestic check and cannot be processed.
|
|
262
|
+
INTERNATIONAL: :international
|
|
263
|
+
|
|
260
264
|
# The check was rejected for an unknown reason.
|
|
261
265
|
UNKNOWN: :unknown
|
|
262
266
|
|
|
@@ -1516,6 +1516,7 @@ module Increase
|
|
|
1516
1516
|
| :suspected_fraud
|
|
1517
1517
|
| :deposit_window_expired
|
|
1518
1518
|
| :requested_by_user
|
|
1519
|
+
| :international
|
|
1519
1520
|
| :unknown
|
|
1520
1521
|
|
|
1521
1522
|
module Reason
|
|
@@ -1551,6 +1552,9 @@ module Increase
|
|
|
1551
1552
|
# The check was rejected at the user's request.
|
|
1552
1553
|
REQUESTED_BY_USER: :requested_by_user
|
|
1553
1554
|
|
|
1555
|
+
# The check is not a U.S. domestic check and cannot be processed.
|
|
1556
|
+
INTERNATIONAL: :international
|
|
1557
|
+
|
|
1554
1558
|
# The check was rejected for an unknown reason.
|
|
1555
1559
|
UNKNOWN: :unknown
|
|
1556
1560
|
|