increase 1.304.0 → 1.305.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 (87) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +9 -0
  3. data/README.md +1 -1
  4. data/lib/increase/client.rb +7 -3
  5. data/lib/increase/models/card_push_transfer.rb +3 -0
  6. data/lib/increase/models/card_token_capabilities.rb +3 -0
  7. data/lib/increase/models/card_validation.rb +3 -0
  8. data/lib/increase/models/check_deposit.rb +7 -6
  9. data/lib/increase/models/inbound_mail_item.rb +22 -7
  10. data/lib/increase/models/inbound_mail_item_list_params.rb +13 -5
  11. data/lib/increase/models/lockbox_address.rb +162 -0
  12. data/lib/increase/models/lockbox_address_create_params.rb +22 -0
  13. data/lib/increase/models/{lockbox_list_params.rb → lockbox_address_list_params.rb} +8 -16
  14. data/lib/increase/models/lockbox_address_retrieve_params.rb +22 -0
  15. data/lib/increase/models/lockbox_address_update_params.rb +55 -0
  16. data/lib/increase/models/lockbox_recipient.rb +135 -0
  17. data/lib/increase/models/lockbox_recipient_create_params.rb +49 -0
  18. data/lib/increase/models/lockbox_recipient_list_params.rb +110 -0
  19. data/lib/increase/models/lockbox_recipient_retrieve_params.rb +22 -0
  20. data/lib/increase/models/lockbox_recipient_update_params.rb +63 -0
  21. data/lib/increase/models/simulations/card_token_create_params.rb +3 -0
  22. data/lib/increase/models/simulations/inbound_mail_item_create_params.rb +17 -9
  23. data/lib/increase/models.rb +15 -5
  24. data/lib/increase/resources/inbound_mail_items.rb +4 -2
  25. data/lib/increase/resources/lockbox_addresses.rb +115 -0
  26. data/lib/increase/resources/lockbox_recipients.rb +130 -0
  27. data/lib/increase/resources/simulations/inbound_mail_items.rb +5 -3
  28. data/lib/increase/version.rb +1 -1
  29. data/lib/increase.rb +12 -6
  30. data/rbi/increase/client.rbi +5 -2
  31. data/rbi/increase/models/card_push_transfer.rbi +3 -0
  32. data/rbi/increase/models/card_token_capabilities.rbi +7 -0
  33. data/rbi/increase/models/card_validation.rbi +3 -0
  34. data/rbi/increase/models/check_deposit.rbi +10 -8
  35. data/rbi/increase/models/inbound_mail_item.rbi +32 -9
  36. data/rbi/increase/models/inbound_mail_item_list_params.rbi +19 -8
  37. data/rbi/increase/models/lockbox_address.rbi +228 -0
  38. data/rbi/increase/models/lockbox_address_create_params.rbi +46 -0
  39. data/rbi/increase/models/{lockbox_list_params.rbi → lockbox_address_list_params.rbi} +9 -18
  40. data/rbi/increase/models/{lockbox_retrieve_params.rbi → lockbox_address_retrieve_params.rbi} +14 -8
  41. data/rbi/increase/models/lockbox_address_update_params.rbi +116 -0
  42. data/rbi/increase/models/lockbox_recipient.rbi +182 -0
  43. data/rbi/increase/models/{lockbox_create_params.rbi → lockbox_recipient_create_params.rbi} +19 -8
  44. data/rbi/increase/models/lockbox_recipient_list_params.rbi +190 -0
  45. data/rbi/increase/models/lockbox_recipient_retrieve_params.rbi +46 -0
  46. data/rbi/increase/models/lockbox_recipient_update_params.rbi +129 -0
  47. data/rbi/increase/models/simulations/card_token_create_params.rbi +7 -0
  48. data/rbi/increase/models/simulations/inbound_mail_item_create_params.rbi +22 -8
  49. data/rbi/increase/models.rbi +16 -5
  50. data/rbi/increase/resources/inbound_mail_items.rbi +6 -3
  51. data/rbi/increase/resources/lockbox_addresses.rbi +86 -0
  52. data/rbi/increase/resources/{lockboxes.rbi → lockbox_recipients.rbi} +31 -26
  53. data/rbi/increase/resources/simulations/inbound_mail_items.rbi +6 -3
  54. data/sig/increase/client.rbs +3 -1
  55. data/sig/increase/models/card_push_transfer.rbs +4 -1
  56. data/sig/increase/models/card_token_capabilities.rbs +4 -1
  57. data/sig/increase/models/card_validation.rbs +4 -1
  58. data/sig/increase/models/check_deposit.rbs +4 -4
  59. data/sig/increase/models/inbound_mail_item.rbs +20 -5
  60. data/sig/increase/models/inbound_mail_item_list_params.rbs +12 -5
  61. data/sig/increase/models/lockbox_address.rbs +117 -0
  62. data/sig/increase/models/lockbox_address_create_params.rbs +25 -0
  63. data/sig/increase/models/{lockbox_list_params.rbs → lockbox_address_list_params.rbs} +8 -15
  64. data/sig/increase/models/{lockbox_retrieve_params.rbs → lockbox_address_retrieve_params.rbs} +7 -6
  65. data/sig/increase/models/lockbox_address_update_params.rbs +59 -0
  66. data/sig/increase/models/lockbox_recipient.rbs +92 -0
  67. data/sig/increase/models/{lockbox_create_params.rbs → lockbox_recipient_create_params.rbs} +12 -3
  68. data/sig/increase/models/lockbox_recipient_list_params.rbs +100 -0
  69. data/sig/increase/models/lockbox_recipient_retrieve_params.rbs +24 -0
  70. data/sig/increase/models/lockbox_recipient_update_params.rbs +66 -0
  71. data/sig/increase/models/simulations/card_token_create_params.rbs +4 -1
  72. data/sig/increase/models/simulations/inbound_mail_item_create_params.rbs +18 -5
  73. data/sig/increase/models.rbs +15 -5
  74. data/sig/increase/resources/inbound_mail_items.rbs +2 -1
  75. data/sig/increase/resources/lockbox_addresses.rbs +32 -0
  76. data/sig/increase/resources/{lockboxes.rbs → lockbox_recipients.rbs} +11 -9
  77. data/sig/increase/resources/simulations/inbound_mail_items.rbs +2 -1
  78. metadata +38 -20
  79. data/lib/increase/models/lockbox.rb +0 -185
  80. data/lib/increase/models/lockbox_create_params.rb +0 -38
  81. data/lib/increase/models/lockbox_retrieve_params.rb +0 -22
  82. data/lib/increase/models/lockbox_update_params.rb +0 -63
  83. data/lib/increase/resources/lockboxes.rb +0 -123
  84. data/rbi/increase/models/lockbox.rbi +0 -251
  85. data/rbi/increase/models/lockbox_update_params.rbi +0 -131
  86. data/sig/increase/models/lockbox.rbs +0 -129
  87. data/sig/increase/models/lockbox_update_params.rbs +0 -66
@@ -0,0 +1,46 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Models
5
+ class LockboxAddressCreateParams < Increase::Internal::Type::BaseModel
6
+ extend Increase::Internal::Type::RequestParameters::Converter
7
+ include Increase::Internal::Type::RequestParameters
8
+
9
+ OrHash =
10
+ T.type_alias do
11
+ T.any(
12
+ Increase::LockboxAddressCreateParams,
13
+ Increase::Internal::AnyHash
14
+ )
15
+ end
16
+
17
+ # The description you choose for the Lockbox Address.
18
+ sig { returns(T.nilable(String)) }
19
+ attr_reader :description
20
+
21
+ sig { params(description: String).void }
22
+ attr_writer :description
23
+
24
+ sig do
25
+ params(
26
+ description: String,
27
+ request_options: Increase::RequestOptions::OrHash
28
+ ).returns(T.attached_class)
29
+ end
30
+ def self.new(
31
+ # The description you choose for the Lockbox Address.
32
+ description: nil,
33
+ request_options: {}
34
+ )
35
+ end
36
+
37
+ sig do
38
+ override.returns(
39
+ { description: String, request_options: Increase::RequestOptions }
40
+ )
41
+ end
42
+ def to_hash
43
+ end
44
+ end
45
+ end
46
+ end
@@ -2,27 +2,22 @@
2
2
 
3
3
  module Increase
4
4
  module Models
5
- class LockboxListParams < Increase::Internal::Type::BaseModel
5
+ class LockboxAddressListParams < Increase::Internal::Type::BaseModel
6
6
  extend Increase::Internal::Type::RequestParameters::Converter
7
7
  include Increase::Internal::Type::RequestParameters
8
8
 
9
9
  OrHash =
10
10
  T.type_alias do
11
- T.any(Increase::LockboxListParams, Increase::Internal::AnyHash)
11
+ T.any(Increase::LockboxAddressListParams, Increase::Internal::AnyHash)
12
12
  end
13
13
 
14
- # Filter Lockboxes to those associated with the provided Account.
15
- sig { returns(T.nilable(String)) }
16
- attr_reader :account_id
17
-
18
- sig { params(account_id: String).void }
19
- attr_writer :account_id
20
-
21
- sig { returns(T.nilable(Increase::LockboxListParams::CreatedAt)) }
14
+ sig { returns(T.nilable(Increase::LockboxAddressListParams::CreatedAt)) }
22
15
  attr_reader :created_at
23
16
 
24
17
  sig do
25
- params(created_at: Increase::LockboxListParams::CreatedAt::OrHash).void
18
+ params(
19
+ created_at: Increase::LockboxAddressListParams::CreatedAt::OrHash
20
+ ).void
26
21
  end
27
22
  attr_writer :created_at
28
23
 
@@ -53,8 +48,7 @@ module Increase
53
48
 
54
49
  sig do
55
50
  params(
56
- account_id: String,
57
- created_at: Increase::LockboxListParams::CreatedAt::OrHash,
51
+ created_at: Increase::LockboxAddressListParams::CreatedAt::OrHash,
58
52
  cursor: String,
59
53
  idempotency_key: String,
60
54
  limit: Integer,
@@ -62,8 +56,6 @@ module Increase
62
56
  ).returns(T.attached_class)
63
57
  end
64
58
  def self.new(
65
- # Filter Lockboxes to those associated with the provided Account.
66
- account_id: nil,
67
59
  created_at: nil,
68
60
  # Return the page of entries after this one.
69
61
  cursor: nil,
@@ -82,8 +74,7 @@ module Increase
82
74
  sig do
83
75
  override.returns(
84
76
  {
85
- account_id: String,
86
- created_at: Increase::LockboxListParams::CreatedAt,
77
+ created_at: Increase::LockboxAddressListParams::CreatedAt,
87
78
  cursor: String,
88
79
  idempotency_key: String,
89
80
  limit: Integer,
@@ -98,7 +89,7 @@ module Increase
98
89
  OrHash =
99
90
  T.type_alias do
100
91
  T.any(
101
- Increase::LockboxListParams::CreatedAt,
92
+ Increase::LockboxAddressListParams::CreatedAt,
102
93
  Increase::Internal::AnyHash
103
94
  )
104
95
  end
@@ -2,35 +2,41 @@
2
2
 
3
3
  module Increase
4
4
  module Models
5
- class LockboxRetrieveParams < Increase::Internal::Type::BaseModel
5
+ class LockboxAddressRetrieveParams < Increase::Internal::Type::BaseModel
6
6
  extend Increase::Internal::Type::RequestParameters::Converter
7
7
  include Increase::Internal::Type::RequestParameters
8
8
 
9
9
  OrHash =
10
10
  T.type_alias do
11
- T.any(Increase::LockboxRetrieveParams, Increase::Internal::AnyHash)
11
+ T.any(
12
+ Increase::LockboxAddressRetrieveParams,
13
+ Increase::Internal::AnyHash
14
+ )
12
15
  end
13
16
 
14
- # The identifier of the Lockbox to retrieve.
17
+ # The identifier of the Lockbox Address to retrieve.
15
18
  sig { returns(String) }
16
- attr_accessor :lockbox_id
19
+ attr_accessor :lockbox_address_id
17
20
 
18
21
  sig do
19
22
  params(
20
- lockbox_id: String,
23
+ lockbox_address_id: String,
21
24
  request_options: Increase::RequestOptions::OrHash
22
25
  ).returns(T.attached_class)
23
26
  end
24
27
  def self.new(
25
- # The identifier of the Lockbox to retrieve.
26
- lockbox_id:,
28
+ # The identifier of the Lockbox Address to retrieve.
29
+ lockbox_address_id:,
27
30
  request_options: {}
28
31
  )
29
32
  end
30
33
 
31
34
  sig do
32
35
  override.returns(
33
- { lockbox_id: String, request_options: Increase::RequestOptions }
36
+ {
37
+ lockbox_address_id: String,
38
+ request_options: Increase::RequestOptions
39
+ }
34
40
  )
35
41
  end
36
42
  def to_hash
@@ -0,0 +1,116 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Models
5
+ class LockboxAddressUpdateParams < Increase::Internal::Type::BaseModel
6
+ extend Increase::Internal::Type::RequestParameters::Converter
7
+ include Increase::Internal::Type::RequestParameters
8
+
9
+ OrHash =
10
+ T.type_alias do
11
+ T.any(
12
+ Increase::LockboxAddressUpdateParams,
13
+ Increase::Internal::AnyHash
14
+ )
15
+ end
16
+
17
+ # The identifier of the Lockbox Address.
18
+ sig { returns(String) }
19
+ attr_accessor :lockbox_address_id
20
+
21
+ # The description you choose for the Lockbox Address.
22
+ sig { returns(T.nilable(String)) }
23
+ attr_reader :description
24
+
25
+ sig { params(description: String).void }
26
+ attr_writer :description
27
+
28
+ # The status of the Lockbox Address.
29
+ sig do
30
+ returns(
31
+ T.nilable(Increase::LockboxAddressUpdateParams::Status::OrSymbol)
32
+ )
33
+ end
34
+ attr_reader :status
35
+
36
+ sig do
37
+ params(
38
+ status: Increase::LockboxAddressUpdateParams::Status::OrSymbol
39
+ ).void
40
+ end
41
+ attr_writer :status
42
+
43
+ sig do
44
+ params(
45
+ lockbox_address_id: String,
46
+ description: String,
47
+ status: Increase::LockboxAddressUpdateParams::Status::OrSymbol,
48
+ request_options: Increase::RequestOptions::OrHash
49
+ ).returns(T.attached_class)
50
+ end
51
+ def self.new(
52
+ # The identifier of the Lockbox Address.
53
+ lockbox_address_id:,
54
+ # The description you choose for the Lockbox Address.
55
+ description: nil,
56
+ # The status of the Lockbox Address.
57
+ status: nil,
58
+ request_options: {}
59
+ )
60
+ end
61
+
62
+ sig do
63
+ override.returns(
64
+ {
65
+ lockbox_address_id: String,
66
+ description: String,
67
+ status: Increase::LockboxAddressUpdateParams::Status::OrSymbol,
68
+ request_options: Increase::RequestOptions
69
+ }
70
+ )
71
+ end
72
+ def to_hash
73
+ end
74
+
75
+ # The status of the Lockbox Address.
76
+ module Status
77
+ extend Increase::Internal::Type::Enum
78
+
79
+ TaggedSymbol =
80
+ T.type_alias do
81
+ T.all(Symbol, Increase::LockboxAddressUpdateParams::Status)
82
+ end
83
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
84
+
85
+ # This Lockbox Address is active.
86
+ ACTIVE =
87
+ T.let(
88
+ :active,
89
+ Increase::LockboxAddressUpdateParams::Status::TaggedSymbol
90
+ )
91
+
92
+ # This Lockbox Address is disabled.
93
+ DISABLED =
94
+ T.let(
95
+ :disabled,
96
+ Increase::LockboxAddressUpdateParams::Status::TaggedSymbol
97
+ )
98
+
99
+ # This Lockbox Address is permanently disabled.
100
+ CANCELED =
101
+ T.let(
102
+ :canceled,
103
+ Increase::LockboxAddressUpdateParams::Status::TaggedSymbol
104
+ )
105
+
106
+ sig do
107
+ override.returns(
108
+ T::Array[Increase::LockboxAddressUpdateParams::Status::TaggedSymbol]
109
+ )
110
+ end
111
+ def self.values
112
+ end
113
+ end
114
+ end
115
+ end
116
+ end
@@ -0,0 +1,182 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Models
5
+ class LockboxRecipient < Increase::Internal::Type::BaseModel
6
+ OrHash =
7
+ T.type_alias do
8
+ T.any(Increase::LockboxRecipient, Increase::Internal::AnyHash)
9
+ end
10
+
11
+ # The Lockbox Recipient identifier.
12
+ sig { returns(String) }
13
+ attr_accessor :id
14
+
15
+ # The identifier for the Account that checks sent to this Lockbox Recipient will
16
+ # be deposited into.
17
+ sig { returns(String) }
18
+ attr_accessor :account_id
19
+
20
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Lockbox
21
+ # Recipient was created.
22
+ sig { returns(Time) }
23
+ attr_accessor :created_at
24
+
25
+ # The description of the Lockbox Recipient.
26
+ sig { returns(T.nilable(String)) }
27
+ attr_accessor :description
28
+
29
+ # The idempotency key you chose for this object. This value is unique across
30
+ # Increase and is used to ensure that a request is only processed once. Learn more
31
+ # about [idempotency](https://increase.com/documentation/idempotency-keys).
32
+ sig { returns(T.nilable(String)) }
33
+ attr_accessor :idempotency_key
34
+
35
+ # The identifier for the Lockbox Address where this Lockbox Recipient may receive
36
+ # physical mail.
37
+ sig { returns(String) }
38
+ attr_accessor :lockbox_address_id
39
+
40
+ # The mail stop code uniquely identifying this Lockbox Recipient at its Lockbox
41
+ # Address. It should be included in the mailing address intended for this Lockbox
42
+ # Recipient.
43
+ sig { returns(String) }
44
+ attr_accessor :mail_stop_code
45
+
46
+ # The name of the Lockbox Recipient.
47
+ sig { returns(T.nilable(String)) }
48
+ attr_accessor :recipient_name
49
+
50
+ # The status of the Lockbox Recipient.
51
+ sig do
52
+ returns(T.nilable(Increase::LockboxRecipient::Status::TaggedSymbol))
53
+ end
54
+ attr_accessor :status
55
+
56
+ # A constant representing the object's type. For this resource it will always be
57
+ # `lockbox_recipient`.
58
+ sig { returns(Increase::LockboxRecipient::Type::TaggedSymbol) }
59
+ attr_accessor :type
60
+
61
+ # Lockbox Recipients represent an inbox at a Lockbox Address. Checks received for
62
+ # a Lockbox Recipient are deposited into its associated Account.
63
+ sig do
64
+ params(
65
+ id: String,
66
+ account_id: String,
67
+ created_at: Time,
68
+ description: T.nilable(String),
69
+ idempotency_key: T.nilable(String),
70
+ lockbox_address_id: String,
71
+ mail_stop_code: String,
72
+ recipient_name: T.nilable(String),
73
+ status: T.nilable(Increase::LockboxRecipient::Status::OrSymbol),
74
+ type: Increase::LockboxRecipient::Type::OrSymbol
75
+ ).returns(T.attached_class)
76
+ end
77
+ def self.new(
78
+ # The Lockbox Recipient identifier.
79
+ id:,
80
+ # The identifier for the Account that checks sent to this Lockbox Recipient will
81
+ # be deposited into.
82
+ account_id:,
83
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Lockbox
84
+ # Recipient was created.
85
+ created_at:,
86
+ # The description of the Lockbox Recipient.
87
+ description:,
88
+ # The idempotency key you chose for this object. This value is unique across
89
+ # Increase and is used to ensure that a request is only processed once. Learn more
90
+ # about [idempotency](https://increase.com/documentation/idempotency-keys).
91
+ idempotency_key:,
92
+ # The identifier for the Lockbox Address where this Lockbox Recipient may receive
93
+ # physical mail.
94
+ lockbox_address_id:,
95
+ # The mail stop code uniquely identifying this Lockbox Recipient at its Lockbox
96
+ # Address. It should be included in the mailing address intended for this Lockbox
97
+ # Recipient.
98
+ mail_stop_code:,
99
+ # The name of the Lockbox Recipient.
100
+ recipient_name:,
101
+ # The status of the Lockbox Recipient.
102
+ status:,
103
+ # A constant representing the object's type. For this resource it will always be
104
+ # `lockbox_recipient`.
105
+ type:
106
+ )
107
+ end
108
+
109
+ sig do
110
+ override.returns(
111
+ {
112
+ id: String,
113
+ account_id: String,
114
+ created_at: Time,
115
+ description: T.nilable(String),
116
+ idempotency_key: T.nilable(String),
117
+ lockbox_address_id: String,
118
+ mail_stop_code: String,
119
+ recipient_name: T.nilable(String),
120
+ status: T.nilable(Increase::LockboxRecipient::Status::TaggedSymbol),
121
+ type: Increase::LockboxRecipient::Type::TaggedSymbol
122
+ }
123
+ )
124
+ end
125
+ def to_hash
126
+ end
127
+
128
+ # The status of the Lockbox Recipient.
129
+ module Status
130
+ extend Increase::Internal::Type::Enum
131
+
132
+ TaggedSymbol =
133
+ T.type_alias { T.all(Symbol, Increase::LockboxRecipient::Status) }
134
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
135
+
136
+ # This Lockbox Recipient is active.
137
+ ACTIVE =
138
+ T.let(:active, Increase::LockboxRecipient::Status::TaggedSymbol)
139
+
140
+ # This Lockbox Recipient is disabled. Checks mailed to this Lockbox Recipient will be rejected.
141
+ DISABLED =
142
+ T.let(:disabled, Increase::LockboxRecipient::Status::TaggedSymbol)
143
+
144
+ # This Lockbox Recipient is canceled and cannot be modified. Checks mailed to this Lockbox Recipient will be rejected.
145
+ CANCELED =
146
+ T.let(:canceled, Increase::LockboxRecipient::Status::TaggedSymbol)
147
+
148
+ sig do
149
+ override.returns(
150
+ T::Array[Increase::LockboxRecipient::Status::TaggedSymbol]
151
+ )
152
+ end
153
+ def self.values
154
+ end
155
+ end
156
+
157
+ # A constant representing the object's type. For this resource it will always be
158
+ # `lockbox_recipient`.
159
+ module Type
160
+ extend Increase::Internal::Type::Enum
161
+
162
+ TaggedSymbol =
163
+ T.type_alias { T.all(Symbol, Increase::LockboxRecipient::Type) }
164
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
165
+
166
+ LOCKBOX_RECIPIENT =
167
+ T.let(
168
+ :lockbox_recipient,
169
+ Increase::LockboxRecipient::Type::TaggedSymbol
170
+ )
171
+
172
+ sig do
173
+ override.returns(
174
+ T::Array[Increase::LockboxRecipient::Type::TaggedSymbol]
175
+ )
176
+ end
177
+ def self.values
178
+ end
179
+ end
180
+ end
181
+ end
182
+ end
@@ -2,27 +2,34 @@
2
2
 
3
3
  module Increase
4
4
  module Models
5
- class LockboxCreateParams < Increase::Internal::Type::BaseModel
5
+ class LockboxRecipientCreateParams < Increase::Internal::Type::BaseModel
6
6
  extend Increase::Internal::Type::RequestParameters::Converter
7
7
  include Increase::Internal::Type::RequestParameters
8
8
 
9
9
  OrHash =
10
10
  T.type_alias do
11
- T.any(Increase::LockboxCreateParams, Increase::Internal::AnyHash)
11
+ T.any(
12
+ Increase::LockboxRecipientCreateParams,
13
+ Increase::Internal::AnyHash
14
+ )
12
15
  end
13
16
 
14
- # The Account checks sent to this Lockbox should be deposited into.
17
+ # The Account that checks sent to this Lockbox Recipient should be deposited into.
15
18
  sig { returns(String) }
16
19
  attr_accessor :account_id
17
20
 
18
- # The description you choose for the Lockbox, for display purposes.
21
+ # The Lockbox Address where this Lockbox Recipient may receive mail.
22
+ sig { returns(String) }
23
+ attr_accessor :lockbox_address_id
24
+
25
+ # The description you choose for the Lockbox Recipient.
19
26
  sig { returns(T.nilable(String)) }
20
27
  attr_reader :description
21
28
 
22
29
  sig { params(description: String).void }
23
30
  attr_writer :description
24
31
 
25
- # The name of the recipient that will receive mail at this location.
32
+ # The name of the Lockbox Recipient
26
33
  sig { returns(T.nilable(String)) }
27
34
  attr_reader :recipient_name
28
35
 
@@ -32,17 +39,20 @@ module Increase
32
39
  sig do
33
40
  params(
34
41
  account_id: String,
42
+ lockbox_address_id: String,
35
43
  description: String,
36
44
  recipient_name: String,
37
45
  request_options: Increase::RequestOptions::OrHash
38
46
  ).returns(T.attached_class)
39
47
  end
40
48
  def self.new(
41
- # The Account checks sent to this Lockbox should be deposited into.
49
+ # The Account that checks sent to this Lockbox Recipient should be deposited into.
42
50
  account_id:,
43
- # The description you choose for the Lockbox, for display purposes.
51
+ # The Lockbox Address where this Lockbox Recipient may receive mail.
52
+ lockbox_address_id:,
53
+ # The description you choose for the Lockbox Recipient.
44
54
  description: nil,
45
- # The name of the recipient that will receive mail at this location.
55
+ # The name of the Lockbox Recipient
46
56
  recipient_name: nil,
47
57
  request_options: {}
48
58
  )
@@ -52,6 +62,7 @@ module Increase
52
62
  override.returns(
53
63
  {
54
64
  account_id: String,
65
+ lockbox_address_id: String,
55
66
  description: String,
56
67
  recipient_name: String,
57
68
  request_options: Increase::RequestOptions