increase 1.142.0 → 1.144.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_push_transfer.rb +538 -33
- data/lib/increase/models/card_push_transfer_create_params.rb +532 -9
- data/lib/increase/models/file.rb +1 -1
- data/lib/increase/models/file_create_params.rb +1 -1
- data/lib/increase/models/file_list_params.rb +1 -1
- data/lib/increase/models/transaction.rb +4 -4
- data/lib/increase/resources/card_push_transfers.rb +3 -3
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/card_push_transfer.rbi +1230 -42
- data/rbi/increase/models/card_push_transfer_create_params.rbi +1226 -8
- data/rbi/increase/models/file.rbi +1 -1
- data/rbi/increase/models/file_create_params.rbi +1 -1
- data/rbi/increase/models/file_list_params.rbi +1 -1
- data/rbi/increase/models/transaction.rbi +8 -4
- data/rbi/increase/resources/card_push_transfers.rbi +6 -3
- data/sig/increase/models/card_push_transfer.rbs +683 -24
- data/sig/increase/models/card_push_transfer_create_params.rbs +675 -5
- data/sig/increase/models/file.rbs +1 -1
- data/sig/increase/models/file_create_params.rbs +1 -1
- data/sig/increase/models/file_list_params.rbs +1 -1
- data/sig/increase/models/transaction.rbs +7 -4
- data/sig/increase/resources/card_push_transfers.rbs +1 -1
- metadata +2 -2
|
@@ -222,7 +222,7 @@ module Increase
|
|
|
222
222
|
DIGITAL_WALLET_APP_ICON =
|
|
223
223
|
T.let(:digital_wallet_app_icon, Increase::File::Purpose::TaggedSymbol)
|
|
224
224
|
|
|
225
|
-
# A card image to be printed on the front of a physical card. This must be a
|
|
225
|
+
# A card image to be printed on the front of a physical card. This must be a 2100x1344 pixel PNG with no other color but black.
|
|
226
226
|
PHYSICAL_CARD_FRONT =
|
|
227
227
|
T.let(:physical_card_front, Increase::File::Purpose::TaggedSymbol)
|
|
228
228
|
|
|
@@ -147,7 +147,7 @@ module Increase
|
|
|
147
147
|
Increase::FileCreateParams::Purpose::TaggedSymbol
|
|
148
148
|
)
|
|
149
149
|
|
|
150
|
-
# A card image to be printed on the front of a physical card. This must be a
|
|
150
|
+
# A card image to be printed on the front of a physical card. This must be a 2100x1344 pixel PNG with no other color but black.
|
|
151
151
|
PHYSICAL_CARD_FRONT =
|
|
152
152
|
T.let(
|
|
153
153
|
:physical_card_front,
|
|
@@ -343,7 +343,7 @@ module Increase
|
|
|
343
343
|
Increase::FileListParams::Purpose::In::TaggedSymbol
|
|
344
344
|
)
|
|
345
345
|
|
|
346
|
-
# A card image to be printed on the front of a physical card. This must be a
|
|
346
|
+
# A card image to be printed on the front of a physical card. This must be a 2100x1344 pixel PNG with no other color but black.
|
|
347
347
|
PHYSICAL_CARD_FRONT =
|
|
348
348
|
T.let(
|
|
349
349
|
:physical_card_front,
|
|
@@ -4811,7 +4811,7 @@ module Increase
|
|
|
4811
4811
|
|
|
4812
4812
|
# The transfer amount in USD cents.
|
|
4813
4813
|
sig { returns(Integer) }
|
|
4814
|
-
attr_accessor :
|
|
4814
|
+
attr_accessor :settlement_amount
|
|
4815
4815
|
|
|
4816
4816
|
# The identifier of the Card Push Transfer that led to this Transaction.
|
|
4817
4817
|
sig { returns(String) }
|
|
@@ -4822,19 +4822,23 @@ module Increase
|
|
|
4822
4822
|
# A Card Push Transfer Acceptance is created when an Outbound Card Push Transfer
|
|
4823
4823
|
# sent from Increase is accepted by the receiving bank.
|
|
4824
4824
|
sig do
|
|
4825
|
-
params(
|
|
4825
|
+
params(settlement_amount: Integer, transfer_id: String).returns(
|
|
4826
4826
|
T.attached_class
|
|
4827
4827
|
)
|
|
4828
4828
|
end
|
|
4829
4829
|
def self.new(
|
|
4830
4830
|
# The transfer amount in USD cents.
|
|
4831
|
-
|
|
4831
|
+
settlement_amount:,
|
|
4832
4832
|
# The identifier of the Card Push Transfer that led to this Transaction.
|
|
4833
4833
|
transfer_id:
|
|
4834
4834
|
)
|
|
4835
4835
|
end
|
|
4836
4836
|
|
|
4837
|
-
sig
|
|
4837
|
+
sig do
|
|
4838
|
+
override.returns(
|
|
4839
|
+
{ settlement_amount: Integer, transfer_id: String }
|
|
4840
|
+
)
|
|
4841
|
+
end
|
|
4838
4842
|
def to_hash
|
|
4839
4843
|
end
|
|
4840
4844
|
end
|
|
@@ -6,7 +6,6 @@ module Increase
|
|
|
6
6
|
# Create a Card Push Transfer
|
|
7
7
|
sig do
|
|
8
8
|
params(
|
|
9
|
-
amount: Integer,
|
|
10
9
|
business_application_identifier:
|
|
11
10
|
Increase::CardPushTransferCreateParams::BusinessApplicationIdentifier::OrSymbol,
|
|
12
11
|
card_token_id: String,
|
|
@@ -16,6 +15,8 @@ module Increase
|
|
|
16
15
|
merchant_name_prefix: String,
|
|
17
16
|
merchant_postal_code: String,
|
|
18
17
|
merchant_state: String,
|
|
18
|
+
presentment_amount:
|
|
19
|
+
Increase::CardPushTransferCreateParams::PresentmentAmount::OrHash,
|
|
19
20
|
recipient_name: String,
|
|
20
21
|
sender_address_city: String,
|
|
21
22
|
sender_address_line1: String,
|
|
@@ -28,8 +29,6 @@ module Increase
|
|
|
28
29
|
).returns(Increase::CardPushTransfer)
|
|
29
30
|
end
|
|
30
31
|
def create(
|
|
31
|
-
# The transfer amount in USD cents. For Card Push transfers, must be positive.
|
|
32
|
-
amount:,
|
|
33
32
|
# The Business Application Identifier describes the type of transaction being
|
|
34
33
|
# performed. Your program must be approved for the specified Business Application
|
|
35
34
|
# Identifier in order to use it.
|
|
@@ -55,6 +54,10 @@ module Increase
|
|
|
55
54
|
merchant_postal_code:,
|
|
56
55
|
# The state of the merchant (generally your business) sending the transfer.
|
|
57
56
|
merchant_state:,
|
|
57
|
+
# The amount to transfer. The receiving bank will convert this to the cardholder's
|
|
58
|
+
# currency. The amount that is applied to your Increase account matches the
|
|
59
|
+
# currency of your account.
|
|
60
|
+
presentment_amount:,
|
|
58
61
|
# The name of the funds recipient.
|
|
59
62
|
recipient_name:,
|
|
60
63
|
# The city of the sender.
|