increase 1.143.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.
@@ -4811,7 +4811,7 @@ module Increase
4811
4811
 
4812
4812
  # The transfer amount in USD cents.
4813
4813
  sig { returns(Integer) }
4814
- attr_accessor :amount
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(amount: Integer, transfer_id: String).returns(
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
- amount:,
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 { override.returns({ amount: Integer, transfer_id: String }) }
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.