increase 1.263.0 → 1.266.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.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +196 -0
  3. data/README.md +1 -1
  4. data/lib/increase/models/card_token_capabilities.rb +9 -1
  5. data/lib/increase/models/declined_transaction.rb +9 -9
  6. data/lib/increase/models/inbound_mail_item_action_params.rb +4 -4
  7. data/lib/increase/models/inbound_real_time_payments_transfer.rb +9 -9
  8. data/lib/increase/models/real_time_payments_transfer.rb +22 -22
  9. data/lib/increase/models/real_time_payments_transfer_create_params.rb +29 -16
  10. data/lib/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rb +9 -9
  11. data/lib/increase/models/transaction.rb +29 -29
  12. data/lib/increase/resources/real_time_payments_transfers.rb +9 -5
  13. data/lib/increase/resources/simulations/inbound_real_time_payments_transfers.rb +3 -3
  14. data/lib/increase/version.rb +1 -1
  15. data/rbi/increase/models/card_token_capabilities.rbi +8 -0
  16. data/rbi/increase/models/declined_transaction.rbi +11 -11
  17. data/rbi/increase/models/inbound_mail_item_action_params.rbi +6 -6
  18. data/rbi/increase/models/inbound_real_time_payments_transfer.rbi +11 -11
  19. data/rbi/increase/models/real_time_payments_transfer.rbi +27 -27
  20. data/rbi/increase/models/real_time_payments_transfer_create_params.rbi +34 -18
  21. data/rbi/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rbi +11 -11
  22. data/rbi/increase/models/transaction.rbi +34 -34
  23. data/rbi/increase/resources/real_time_payments_transfers.rbi +11 -8
  24. data/rbi/increase/resources/simulations/inbound_real_time_payments_transfers.rbi +3 -3
  25. data/sig/increase/models/card_token_capabilities.rbs +5 -0
  26. data/sig/increase/models/declined_transaction.rbs +8 -8
  27. data/sig/increase/models/inbound_mail_item_action_params.rbs +5 -5
  28. data/sig/increase/models/inbound_real_time_payments_transfer.rbs +8 -8
  29. data/sig/increase/models/real_time_payments_transfer.rbs +17 -17
  30. data/sig/increase/models/real_time_payments_transfer_create_params.rbs +19 -5
  31. data/sig/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rbs +8 -8
  32. data/sig/increase/models/transaction.rbs +25 -25
  33. data/sig/increase/resources/real_time_payments_transfers.rbs +3 -1
  34. data/sig/increase/resources/simulations/inbound_real_time_payments_transfers.rbs +1 -1
  35. metadata +2 -2
@@ -45,13 +45,6 @@ module Increase
45
45
  sig { params(debtor_routing_number: String).void }
46
46
  attr_writer :debtor_routing_number
47
47
 
48
- # Additional information included with the transfer.
49
- sig { returns(T.nilable(String)) }
50
- attr_reader :remittance_information
51
-
52
- sig { params(remittance_information: String).void }
53
- attr_writer :remittance_information
54
-
55
48
  # The identifier of a pending Request for Payment that this transfer will fulfill.
56
49
  sig { returns(T.nilable(String)) }
57
50
  attr_reader :request_for_payment_id
@@ -59,6 +52,13 @@ module Increase
59
52
  sig { params(request_for_payment_id: String).void }
60
53
  attr_writer :request_for_payment_id
61
54
 
55
+ # Additional information included with the transfer.
56
+ sig { returns(T.nilable(String)) }
57
+ attr_reader :unstructured_remittance_information
58
+
59
+ sig { params(unstructured_remittance_information: String).void }
60
+ attr_writer :unstructured_remittance_information
61
+
62
62
  sig do
63
63
  params(
64
64
  account_number_id: String,
@@ -66,8 +66,8 @@ module Increase
66
66
  debtor_account_number: String,
67
67
  debtor_name: String,
68
68
  debtor_routing_number: String,
69
- remittance_information: String,
70
69
  request_for_payment_id: String,
70
+ unstructured_remittance_information: String,
71
71
  request_options: Increase::RequestOptions::OrHash
72
72
  ).returns(T.attached_class)
73
73
  end
@@ -83,10 +83,10 @@ module Increase
83
83
  debtor_name: nil,
84
84
  # The routing number of the account that sent the transfer.
85
85
  debtor_routing_number: nil,
86
- # Additional information included with the transfer.
87
- remittance_information: nil,
88
86
  # The identifier of a pending Request for Payment that this transfer will fulfill.
89
87
  request_for_payment_id: nil,
88
+ # Additional information included with the transfer.
89
+ unstructured_remittance_information: nil,
90
90
  request_options: {}
91
91
  )
92
92
  end
@@ -99,8 +99,8 @@ module Increase
99
99
  debtor_account_number: String,
100
100
  debtor_name: String,
101
101
  debtor_routing_number: String,
102
- remittance_information: String,
103
102
  request_for_payment_id: String,
103
+ unstructured_remittance_information: String,
104
104
  request_options: Increase::RequestOptions
105
105
  }
106
106
  )
@@ -11880,10 +11880,6 @@ module Increase
11880
11880
  sig { returns(String) }
11881
11881
  attr_accessor :debtor_routing_number
11882
11882
 
11883
- # Additional information included with the transfer.
11884
- sig { returns(T.nilable(String)) }
11885
- attr_accessor :remittance_information
11886
-
11887
11883
  # The Real-Time Payments network identification of the transfer.
11888
11884
  sig { returns(String) }
11889
11885
  attr_accessor :transaction_identification
@@ -11892,6 +11888,10 @@ module Increase
11892
11888
  sig { returns(String) }
11893
11889
  attr_accessor :transfer_id
11894
11890
 
11891
+ # Additional information included with the transfer.
11892
+ sig { returns(T.nilable(String)) }
11893
+ attr_accessor :unstructured_remittance_information
11894
+
11895
11895
  # An Inbound Real-Time Payments Transfer Confirmation object. This field will be
11896
11896
  # present in the JSON response if and only if `category` is equal to
11897
11897
  # `inbound_real_time_payments_transfer_confirmation`. An Inbound Real-Time
@@ -11906,9 +11906,9 @@ module Increase
11906
11906
  debtor_account_number: String,
11907
11907
  debtor_name: String,
11908
11908
  debtor_routing_number: String,
11909
- remittance_information: T.nilable(String),
11910
11909
  transaction_identification: String,
11911
- transfer_id: String
11910
+ transfer_id: String,
11911
+ unstructured_remittance_information: T.nilable(String)
11912
11912
  ).returns(T.attached_class)
11913
11913
  end
11914
11914
  def self.new(
@@ -11926,12 +11926,12 @@ module Increase
11926
11926
  debtor_name:,
11927
11927
  # The routing number of the account that sent the transfer.
11928
11928
  debtor_routing_number:,
11929
- # Additional information included with the transfer.
11930
- remittance_information:,
11931
11929
  # The Real-Time Payments network identification of the transfer.
11932
11930
  transaction_identification:,
11933
11931
  # The identifier of the Real-Time Payments Transfer that led to this Transaction.
11934
- transfer_id:
11932
+ transfer_id:,
11933
+ # Additional information included with the transfer.
11934
+ unstructured_remittance_information:
11935
11935
  )
11936
11936
  end
11937
11937
 
@@ -11945,9 +11945,9 @@ module Increase
11945
11945
  debtor_account_number: String,
11946
11946
  debtor_name: String,
11947
11947
  debtor_routing_number: String,
11948
- remittance_information: T.nilable(String),
11949
11948
  transaction_identification: String,
11950
- transfer_id: String
11949
+ transfer_id: String,
11950
+ unstructured_remittance_information: T.nilable(String)
11951
11951
  }
11952
11952
  )
11953
11953
  end
@@ -12745,26 +12745,26 @@ module Increase
12745
12745
  )
12746
12746
  end
12747
12747
 
12748
+ # The destination account number.
12749
+ sig { returns(String) }
12750
+ attr_accessor :account_number
12751
+
12748
12752
  # The transfer amount in USD cents.
12749
12753
  sig { returns(Integer) }
12750
12754
  attr_accessor :amount
12751
12755
 
12752
- # The destination account number.
12753
- sig { returns(String) }
12754
- attr_accessor :destination_account_number
12755
-
12756
12756
  # The American Bankers' Association (ABA) Routing Transit Number (RTN).
12757
12757
  sig { returns(String) }
12758
- attr_accessor :destination_routing_number
12759
-
12760
- # Unstructured information that will show on the recipient's bank statement.
12761
- sig { returns(String) }
12762
- attr_accessor :remittance_information
12758
+ attr_accessor :routing_number
12763
12759
 
12764
12760
  # The identifier of the Real-Time Payments Transfer that led to this Transaction.
12765
12761
  sig { returns(String) }
12766
12762
  attr_accessor :transfer_id
12767
12763
 
12764
+ # Unstructured information that will show on the recipient's bank statement.
12765
+ sig { returns(String) }
12766
+ attr_accessor :unstructured_remittance_information
12767
+
12768
12768
  # A Real-Time Payments Transfer Acknowledgement object. This field will be present
12769
12769
  # in the JSON response if and only if `category` is equal to
12770
12770
  # `real_time_payments_transfer_acknowledgement`. A Real-Time Payments Transfer
@@ -12772,35 +12772,35 @@ module Increase
12772
12772
  # is acknowledged by the receiving bank.
12773
12773
  sig do
12774
12774
  params(
12775
+ account_number: String,
12775
12776
  amount: Integer,
12776
- destination_account_number: String,
12777
- destination_routing_number: String,
12778
- remittance_information: String,
12779
- transfer_id: String
12777
+ routing_number: String,
12778
+ transfer_id: String,
12779
+ unstructured_remittance_information: String
12780
12780
  ).returns(T.attached_class)
12781
12781
  end
12782
12782
  def self.new(
12783
+ # The destination account number.
12784
+ account_number:,
12783
12785
  # The transfer amount in USD cents.
12784
12786
  amount:,
12785
- # The destination account number.
12786
- destination_account_number:,
12787
12787
  # The American Bankers' Association (ABA) Routing Transit Number (RTN).
12788
- destination_routing_number:,
12789
- # Unstructured information that will show on the recipient's bank statement.
12790
- remittance_information:,
12788
+ routing_number:,
12791
12789
  # The identifier of the Real-Time Payments Transfer that led to this Transaction.
12792
- transfer_id:
12790
+ transfer_id:,
12791
+ # Unstructured information that will show on the recipient's bank statement.
12792
+ unstructured_remittance_information:
12793
12793
  )
12794
12794
  end
12795
12795
 
12796
12796
  sig do
12797
12797
  override.returns(
12798
12798
  {
12799
+ account_number: String,
12799
12800
  amount: Integer,
12800
- destination_account_number: String,
12801
- destination_routing_number: String,
12802
- remittance_information: String,
12803
- transfer_id: String
12801
+ routing_number: String,
12802
+ transfer_id: String,
12803
+ unstructured_remittance_information: String
12804
12804
  }
12805
12805
  )
12806
12806
  end
@@ -8,13 +8,15 @@ module Increase
8
8
  params(
9
9
  amount: Integer,
10
10
  creditor_name: String,
11
- remittance_information: String,
12
11
  source_account_number_id: String,
12
+ unstructured_remittance_information: String,
13
+ account_number: String,
13
14
  debtor_name: String,
14
15
  destination_account_number: String,
15
16
  destination_routing_number: String,
16
17
  external_account_id: String,
17
18
  require_approval: T::Boolean,
19
+ routing_number: String,
18
20
  ultimate_creditor_name: String,
19
21
  ultimate_debtor_name: String,
20
22
  request_options: Increase::RequestOptions::OrHash
@@ -26,24 +28,25 @@ module Increase
26
28
  amount:,
27
29
  # The name of the transfer's recipient.
28
30
  creditor_name:,
29
- # Unstructured information that will show on the recipient's bank statement.
30
- remittance_information:,
31
31
  # The identifier of the Account Number from which to send the transfer.
32
32
  source_account_number_id:,
33
+ # Unstructured information that will show on the recipient's bank statement.
34
+ unstructured_remittance_information:,
35
+ # The destination account number.
36
+ account_number: nil,
33
37
  # The name of the transfer's sender. If not provided, defaults to the name of the
34
38
  # account's entity.
35
39
  debtor_name: nil,
36
- # The destination account number.
37
40
  destination_account_number: nil,
38
- # The destination American Bankers' Association (ABA) Routing Transit Number
39
- # (RTN).
40
41
  destination_routing_number: nil,
41
42
  # The ID of an External Account to initiate a transfer to. If this parameter is
42
- # provided, `destination_account_number` and `destination_routing_number` must be
43
- # absent.
43
+ # provided, `account_number` and `routing_number` must be absent.
44
44
  external_account_id: nil,
45
45
  # Whether the transfer requires explicit approval via the dashboard or API.
46
46
  require_approval: nil,
47
+ # The destination American Bankers' Association (ABA) Routing Transit Number
48
+ # (RTN).
49
+ routing_number: nil,
47
50
  # The name of the ultimate recipient of the transfer. Set this if the creditor is
48
51
  # an intermediary receiving the payment for someone else.
49
52
  ultimate_creditor_name: nil,
@@ -14,8 +14,8 @@ module Increase
14
14
  debtor_account_number: String,
15
15
  debtor_name: String,
16
16
  debtor_routing_number: String,
17
- remittance_information: String,
18
17
  request_for_payment_id: String,
18
+ unstructured_remittance_information: String,
19
19
  request_options: Increase::RequestOptions::OrHash
20
20
  ).returns(Increase::InboundRealTimePaymentsTransfer)
21
21
  end
@@ -31,10 +31,10 @@ module Increase
31
31
  debtor_name: nil,
32
32
  # The routing number of the account that sent the transfer.
33
33
  debtor_routing_number: nil,
34
- # Additional information included with the transfer.
35
- remittance_information: nil,
36
34
  # The identifier of a pending Request for Payment that this transfer will fulfill.
37
35
  request_for_payment_id: nil,
36
+ # Additional information included with the transfer.
37
+ unstructured_remittance_information: nil,
38
38
  request_options: {}
39
39
  )
40
40
  end
@@ -25,6 +25,7 @@ module Increase
25
25
  {
26
26
  cross_border_push_transfers: Increase::Models::CardTokenCapabilities::Route::cross_border_push_transfers,
27
27
  domestic_push_transfers: Increase::Models::CardTokenCapabilities::Route::domestic_push_transfers,
28
+ issuer_country: String,
28
29
  route: Increase::Models::CardTokenCapabilities::Route::route
29
30
  }
30
31
 
@@ -33,17 +34,21 @@ module Increase
33
34
 
34
35
  attr_accessor domestic_push_transfers: Increase::Models::CardTokenCapabilities::Route::domestic_push_transfers
35
36
 
37
+ attr_accessor issuer_country: String
38
+
36
39
  attr_accessor route: Increase::Models::CardTokenCapabilities::Route::route
37
40
 
38
41
  def initialize: (
39
42
  cross_border_push_transfers: Increase::Models::CardTokenCapabilities::Route::cross_border_push_transfers,
40
43
  domestic_push_transfers: Increase::Models::CardTokenCapabilities::Route::domestic_push_transfers,
44
+ issuer_country: String,
41
45
  route: Increase::Models::CardTokenCapabilities::Route::route
42
46
  ) -> void
43
47
 
44
48
  def to_hash: -> {
45
49
  cross_border_push_transfers: Increase::Models::CardTokenCapabilities::Route::cross_border_push_transfers,
46
50
  domestic_push_transfers: Increase::Models::CardTokenCapabilities::Route::domestic_push_transfers,
51
+ issuer_country: String,
47
52
  route: Increase::Models::CardTokenCapabilities::Route::route
48
53
  }
49
54
 
@@ -1633,9 +1633,9 @@ module Increase
1633
1633
  debtor_name: String,
1634
1634
  debtor_routing_number: String,
1635
1635
  reason: Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::reason,
1636
- remittance_information: String?,
1637
1636
  transaction_identification: String,
1638
- transfer_id: String
1637
+ transfer_id: String,
1638
+ unstructured_remittance_information: String?
1639
1639
  }
1640
1640
 
1641
1641
  class InboundRealTimePaymentsTransferDecline < Increase::Internal::Type::BaseModel
@@ -1653,12 +1653,12 @@ module Increase
1653
1653
 
1654
1654
  attr_accessor reason: Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::reason
1655
1655
 
1656
- attr_accessor remittance_information: String?
1657
-
1658
1656
  attr_accessor transaction_identification: String
1659
1657
 
1660
1658
  attr_accessor transfer_id: String
1661
1659
 
1660
+ attr_accessor unstructured_remittance_information: String?
1661
+
1662
1662
  def initialize: (
1663
1663
  amount: Integer,
1664
1664
  creditor_name: String,
@@ -1667,9 +1667,9 @@ module Increase
1667
1667
  debtor_name: String,
1668
1668
  debtor_routing_number: String,
1669
1669
  reason: Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::reason,
1670
- remittance_information: String?,
1671
1670
  transaction_identification: String,
1672
- transfer_id: String
1671
+ transfer_id: String,
1672
+ unstructured_remittance_information: String?
1673
1673
  ) -> void
1674
1674
 
1675
1675
  def to_hash: -> {
@@ -1680,9 +1680,9 @@ module Increase
1680
1680
  debtor_name: String,
1681
1681
  debtor_routing_number: String,
1682
1682
  reason: Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::reason,
1683
- remittance_information: String?,
1684
1683
  transaction_identification: String,
1685
- transfer_id: String
1684
+ transfer_id: String,
1685
+ unstructured_remittance_information: String?
1686
1686
  }
1687
1687
 
1688
1688
  type currency = :USD
@@ -30,24 +30,24 @@ module Increase
30
30
  type check =
31
31
  {
32
32
  action: Increase::Models::InboundMailItemActionParams::Check::action,
33
- account: String
33
+ account_id: String
34
34
  }
35
35
 
36
36
  class Check < Increase::Internal::Type::BaseModel
37
37
  attr_accessor action: Increase::Models::InboundMailItemActionParams::Check::action
38
38
 
39
- attr_reader account: String?
39
+ attr_reader account_id: String?
40
40
 
41
- def account=: (String) -> String
41
+ def account_id=: (String) -> String
42
42
 
43
43
  def initialize: (
44
44
  action: Increase::Models::InboundMailItemActionParams::Check::action,
45
- ?account: String
45
+ ?account_id: String
46
46
  ) -> void
47
47
 
48
48
  def to_hash: -> {
49
49
  action: Increase::Models::InboundMailItemActionParams::Check::action,
50
- account: String
50
+ account_id: String
51
51
  }
52
52
 
53
53
  type action = :deposit | :ignore
@@ -14,10 +14,10 @@ module Increase
14
14
  debtor_name: String,
15
15
  debtor_routing_number: String,
16
16
  decline: Increase::InboundRealTimePaymentsTransfer::Decline?,
17
- remittance_information: String?,
18
17
  status: Increase::Models::InboundRealTimePaymentsTransfer::status,
19
18
  transaction_identification: String,
20
- type: Increase::Models::InboundRealTimePaymentsTransfer::type_
19
+ type: Increase::Models::InboundRealTimePaymentsTransfer::type_,
20
+ unstructured_remittance_information: String?
21
21
  }
22
22
 
23
23
  class InboundRealTimePaymentsTransfer < Increase::Internal::Type::BaseModel
@@ -45,14 +45,14 @@ module Increase
45
45
 
46
46
  attr_accessor decline: Increase::InboundRealTimePaymentsTransfer::Decline?
47
47
 
48
- attr_accessor remittance_information: String?
49
-
50
48
  attr_accessor status: Increase::Models::InboundRealTimePaymentsTransfer::status
51
49
 
52
50
  attr_accessor transaction_identification: String
53
51
 
54
52
  attr_accessor type: Increase::Models::InboundRealTimePaymentsTransfer::type_
55
53
 
54
+ attr_accessor unstructured_remittance_information: String?
55
+
56
56
  def initialize: (
57
57
  id: String,
58
58
  account_id: String,
@@ -66,10 +66,10 @@ module Increase
66
66
  debtor_name: String,
67
67
  debtor_routing_number: String,
68
68
  decline: Increase::InboundRealTimePaymentsTransfer::Decline?,
69
- remittance_information: String?,
70
69
  status: Increase::Models::InboundRealTimePaymentsTransfer::status,
71
70
  transaction_identification: String,
72
- type: Increase::Models::InboundRealTimePaymentsTransfer::type_
71
+ type: Increase::Models::InboundRealTimePaymentsTransfer::type_,
72
+ unstructured_remittance_information: String?
73
73
  ) -> void
74
74
 
75
75
  def to_hash: -> {
@@ -85,10 +85,10 @@ module Increase
85
85
  debtor_name: String,
86
86
  debtor_routing_number: String,
87
87
  decline: Increase::InboundRealTimePaymentsTransfer::Decline?,
88
- remittance_information: String?,
89
88
  status: Increase::Models::InboundRealTimePaymentsTransfer::status,
90
89
  transaction_identification: String,
91
- type: Increase::Models::InboundRealTimePaymentsTransfer::type_
90
+ type: Increase::Models::InboundRealTimePaymentsTransfer::type_,
91
+ unstructured_remittance_information: String?
92
92
  }
93
93
 
94
94
  type confirmation = { confirmed_at: Time, transaction_id: String }
@@ -4,6 +4,7 @@ module Increase
4
4
  {
5
5
  id: String,
6
6
  account_id: String,
7
+ account_number: String,
7
8
  acknowledgement: Increase::RealTimePaymentsTransfer::Acknowledgement?,
8
9
  amount: Integer,
9
10
  approval: Increase::RealTimePaymentsTransfer::Approval?,
@@ -13,20 +14,19 @@ module Increase
13
14
  creditor_name: String,
14
15
  currency: Increase::Models::RealTimePaymentsTransfer::currency,
15
16
  debtor_name: String?,
16
- destination_account_number: String,
17
- destination_routing_number: String,
18
17
  external_account_id: String?,
19
18
  idempotency_key: String?,
20
19
  pending_transaction_id: String?,
21
20
  rejection: Increase::RealTimePaymentsTransfer::Rejection?,
22
- remittance_information: String,
21
+ routing_number: String,
23
22
  source_account_number_id: String,
24
23
  status: Increase::Models::RealTimePaymentsTransfer::status,
25
24
  submission: Increase::RealTimePaymentsTransfer::Submission?,
26
25
  transaction_id: String?,
27
26
  type: Increase::Models::RealTimePaymentsTransfer::type_,
28
27
  ultimate_creditor_name: String?,
29
- ultimate_debtor_name: String?
28
+ ultimate_debtor_name: String?,
29
+ unstructured_remittance_information: String
30
30
  }
31
31
 
32
32
  class RealTimePaymentsTransfer < Increase::Internal::Type::BaseModel
@@ -34,6 +34,8 @@ module Increase
34
34
 
35
35
  attr_accessor account_id: String
36
36
 
37
+ attr_accessor account_number: String
38
+
37
39
  attr_accessor acknowledgement: Increase::RealTimePaymentsTransfer::Acknowledgement?
38
40
 
39
41
  attr_accessor amount: Integer
@@ -52,10 +54,6 @@ module Increase
52
54
 
53
55
  attr_accessor debtor_name: String?
54
56
 
55
- attr_accessor destination_account_number: String
56
-
57
- attr_accessor destination_routing_number: String
58
-
59
57
  attr_accessor external_account_id: String?
60
58
 
61
59
  attr_accessor idempotency_key: String?
@@ -64,7 +62,7 @@ module Increase
64
62
 
65
63
  attr_accessor rejection: Increase::RealTimePaymentsTransfer::Rejection?
66
64
 
67
- attr_accessor remittance_information: String
65
+ attr_accessor routing_number: String
68
66
 
69
67
  attr_accessor source_account_number_id: String
70
68
 
@@ -80,9 +78,12 @@ module Increase
80
78
 
81
79
  attr_accessor ultimate_debtor_name: String?
82
80
 
81
+ attr_accessor unstructured_remittance_information: String
82
+
83
83
  def initialize: (
84
84
  id: String,
85
85
  account_id: String,
86
+ account_number: String,
86
87
  acknowledgement: Increase::RealTimePaymentsTransfer::Acknowledgement?,
87
88
  amount: Integer,
88
89
  approval: Increase::RealTimePaymentsTransfer::Approval?,
@@ -92,25 +93,25 @@ module Increase
92
93
  creditor_name: String,
93
94
  currency: Increase::Models::RealTimePaymentsTransfer::currency,
94
95
  debtor_name: String?,
95
- destination_account_number: String,
96
- destination_routing_number: String,
97
96
  external_account_id: String?,
98
97
  idempotency_key: String?,
99
98
  pending_transaction_id: String?,
100
99
  rejection: Increase::RealTimePaymentsTransfer::Rejection?,
101
- remittance_information: String,
100
+ routing_number: String,
102
101
  source_account_number_id: String,
103
102
  status: Increase::Models::RealTimePaymentsTransfer::status,
104
103
  submission: Increase::RealTimePaymentsTransfer::Submission?,
105
104
  transaction_id: String?,
106
105
  type: Increase::Models::RealTimePaymentsTransfer::type_,
107
106
  ultimate_creditor_name: String?,
108
- ultimate_debtor_name: String?
107
+ ultimate_debtor_name: String?,
108
+ unstructured_remittance_information: String
109
109
  ) -> void
110
110
 
111
111
  def to_hash: -> {
112
112
  id: String,
113
113
  account_id: String,
114
+ account_number: String,
114
115
  acknowledgement: Increase::RealTimePaymentsTransfer::Acknowledgement?,
115
116
  amount: Integer,
116
117
  approval: Increase::RealTimePaymentsTransfer::Approval?,
@@ -120,20 +121,19 @@ module Increase
120
121
  creditor_name: String,
121
122
  currency: Increase::Models::RealTimePaymentsTransfer::currency,
122
123
  debtor_name: String?,
123
- destination_account_number: String,
124
- destination_routing_number: String,
125
124
  external_account_id: String?,
126
125
  idempotency_key: String?,
127
126
  pending_transaction_id: String?,
128
127
  rejection: Increase::RealTimePaymentsTransfer::Rejection?,
129
- remittance_information: String,
128
+ routing_number: String,
130
129
  source_account_number_id: String,
131
130
  status: Increase::Models::RealTimePaymentsTransfer::status,
132
131
  submission: Increase::RealTimePaymentsTransfer::Submission?,
133
132
  transaction_id: String?,
134
133
  type: Increase::Models::RealTimePaymentsTransfer::type_,
135
134
  ultimate_creditor_name: String?,
136
- ultimate_debtor_name: String?
135
+ ultimate_debtor_name: String?,
136
+ unstructured_remittance_information: String
137
137
  }
138
138
 
139
139
  type acknowledgement = { acknowledged_at: Time }
@@ -4,13 +4,15 @@ module Increase
4
4
  {
5
5
  amount: Integer,
6
6
  creditor_name: String,
7
- remittance_information: String,
8
7
  source_account_number_id: String,
8
+ unstructured_remittance_information: String,
9
+ account_number: String,
9
10
  debtor_name: String,
10
11
  destination_account_number: String,
11
12
  destination_routing_number: String,
12
13
  external_account_id: String,
13
14
  require_approval: bool,
15
+ routing_number: String,
14
16
  ultimate_creditor_name: String,
15
17
  ultimate_debtor_name: String
16
18
  }
@@ -24,10 +26,14 @@ module Increase
24
26
 
25
27
  attr_accessor creditor_name: String
26
28
 
27
- attr_accessor remittance_information: String
28
-
29
29
  attr_accessor source_account_number_id: String
30
30
 
31
+ attr_accessor unstructured_remittance_information: String
32
+
33
+ attr_reader account_number: String?
34
+
35
+ def account_number=: (String) -> String
36
+
31
37
  attr_reader debtor_name: String?
32
38
 
33
39
  def debtor_name=: (String) -> String
@@ -48,6 +54,10 @@ module Increase
48
54
 
49
55
  def require_approval=: (bool) -> bool
50
56
 
57
+ attr_reader routing_number: String?
58
+
59
+ def routing_number=: (String) -> String
60
+
51
61
  attr_reader ultimate_creditor_name: String?
52
62
 
53
63
  def ultimate_creditor_name=: (String) -> String
@@ -59,13 +69,15 @@ module Increase
59
69
  def initialize: (
60
70
  amount: Integer,
61
71
  creditor_name: String,
62
- remittance_information: String,
63
72
  source_account_number_id: String,
73
+ unstructured_remittance_information: String,
74
+ ?account_number: String,
64
75
  ?debtor_name: String,
65
76
  ?destination_account_number: String,
66
77
  ?destination_routing_number: String,
67
78
  ?external_account_id: String,
68
79
  ?require_approval: bool,
80
+ ?routing_number: String,
69
81
  ?ultimate_creditor_name: String,
70
82
  ?ultimate_debtor_name: String,
71
83
  ?request_options: Increase::request_opts
@@ -74,13 +86,15 @@ module Increase
74
86
  def to_hash: -> {
75
87
  amount: Integer,
76
88
  creditor_name: String,
77
- remittance_information: String,
78
89
  source_account_number_id: String,
90
+ unstructured_remittance_information: String,
91
+ account_number: String,
79
92
  debtor_name: String,
80
93
  destination_account_number: String,
81
94
  destination_routing_number: String,
82
95
  external_account_id: String,
83
96
  require_approval: bool,
97
+ routing_number: String,
84
98
  ultimate_creditor_name: String,
85
99
  ultimate_debtor_name: String,
86
100
  request_options: Increase::RequestOptions