increase 1.143.0 → 1.145.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 +21 -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/check_transfer_create_params.rb +14 -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/lib/increase.rb +1 -0
- data/manifest.yaml +1 -0
- 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/check_transfer_create_params.rbi +16 -3
- 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/check_transfer_create_params.rbs +10 -3
- data/sig/increase/models/transaction.rbs +7 -4
- data/sig/increase/resources/card_push_transfers.rbs +1 -1
- metadata +2 -2
|
@@ -487,6 +487,14 @@ module Increase
|
|
|
487
487
|
sig { params(line2: String).void }
|
|
488
488
|
attr_writer :line2
|
|
489
489
|
|
|
490
|
+
# The name component of the check's destination address. Defaults to the provided
|
|
491
|
+
# `recipient_name` parameter if `name` is not provided.
|
|
492
|
+
sig { returns(T.nilable(String)) }
|
|
493
|
+
attr_reader :name
|
|
494
|
+
|
|
495
|
+
sig { params(name: String).void }
|
|
496
|
+
attr_writer :name
|
|
497
|
+
|
|
490
498
|
# Details for where Increase will mail the check.
|
|
491
499
|
sig do
|
|
492
500
|
params(
|
|
@@ -494,7 +502,8 @@ module Increase
|
|
|
494
502
|
line1: String,
|
|
495
503
|
postal_code: String,
|
|
496
504
|
state: String,
|
|
497
|
-
line2: String
|
|
505
|
+
line2: String,
|
|
506
|
+
name: String
|
|
498
507
|
).returns(T.attached_class)
|
|
499
508
|
end
|
|
500
509
|
def self.new(
|
|
@@ -507,7 +516,10 @@ module Increase
|
|
|
507
516
|
# The US state component of the check's destination address.
|
|
508
517
|
state:,
|
|
509
518
|
# The second line of the address component of the check's destination address.
|
|
510
|
-
line2: nil
|
|
519
|
+
line2: nil,
|
|
520
|
+
# The name component of the check's destination address. Defaults to the provided
|
|
521
|
+
# `recipient_name` parameter if `name` is not provided.
|
|
522
|
+
name: nil
|
|
511
523
|
)
|
|
512
524
|
end
|
|
513
525
|
|
|
@@ -518,7 +530,8 @@ module Increase
|
|
|
518
530
|
line1: String,
|
|
519
531
|
postal_code: String,
|
|
520
532
|
state: String,
|
|
521
|
-
line2: String
|
|
533
|
+
line2: String,
|
|
534
|
+
name: String
|
|
522
535
|
}
|
|
523
536
|
)
|
|
524
537
|
end
|
|
@@ -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.
|