dodopayments 2.3.0 → 2.4.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 (114) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +9 -0
  3. data/README.md +1 -1
  4. data/lib/dodopayments/client.rb +0 -8
  5. data/lib/dodopayments/models/customer_delete_payment_method_params.rb +26 -0
  6. data/lib/dodopayments/models/dispute.rb +9 -1
  7. data/lib/dodopayments/models/dispute_list_response.rb +9 -1
  8. data/lib/dodopayments/models/get_dispute.rb +9 -1
  9. data/lib/dodopayments/models.rb +2 -18
  10. data/lib/dodopayments/resources/customers.rb +25 -0
  11. data/lib/dodopayments/resources/invoices/payments.rb +0 -18
  12. data/lib/dodopayments/version.rb +1 -1
  13. data/lib/dodopayments.rb +4 -29
  14. data/rbi/dodopayments/client.rbi +0 -6
  15. data/rbi/dodopayments/models/credit_entitlement_cart_response.rbi +4 -4
  16. data/rbi/dodopayments/models/credit_entitlements/credit_ledger_entry.rbi +2 -2
  17. data/rbi/dodopayments/models/{your_webhook_url_create_params.rbi → customer_delete_payment_method_params.rbi} +9 -19
  18. data/rbi/dodopayments/models/dispute.rbi +12 -4
  19. data/rbi/dodopayments/models/dispute_list_response.rbi +11 -3
  20. data/rbi/dodopayments/models/get_dispute.rbi +12 -4
  21. data/rbi/dodopayments/models/license_key.rbi +2 -2
  22. data/rbi/dodopayments/models/meter_cart_response_item.rbi +2 -2
  23. data/rbi/dodopayments/models/payment.rbi +12 -10
  24. data/rbi/dodopayments/models/refund.rbi +4 -4
  25. data/rbi/dodopayments/models/refund_list_item.rbi +4 -4
  26. data/rbi/dodopayments/models/subscription.rbi +10 -8
  27. data/rbi/dodopayments/models.rbi +3 -25
  28. data/rbi/dodopayments/resources/customers.rbi +16 -0
  29. data/rbi/dodopayments/resources/invoices/payments.rbi +0 -9
  30. data/sig/dodopayments/client.rbs +0 -4
  31. data/sig/dodopayments/models/{product_collection_update_images_params.rbs → customer_delete_payment_method_params.rbs} +9 -9
  32. data/sig/dodopayments/models/dispute.rbs +5 -0
  33. data/sig/dodopayments/models/dispute_list_response.rbs +8 -3
  34. data/sig/dodopayments/models/get_dispute.rbs +5 -0
  35. data/sig/dodopayments/models.rbs +2 -18
  36. data/sig/dodopayments/resources/customers.rbs +6 -0
  37. data/sig/dodopayments/resources/invoices/payments.rbs +0 -5
  38. metadata +4 -79
  39. data/lib/dodopayments/models/invoices/payment_retrieve_payout_params.rb +0 -22
  40. data/lib/dodopayments/models/product_collection_create_params.rb +0 -98
  41. data/lib/dodopayments/models/product_collection_create_response.rb +0 -226
  42. data/lib/dodopayments/models/product_collection_delete_params.rb +0 -20
  43. data/lib/dodopayments/models/product_collection_list_params.rb +0 -46
  44. data/lib/dodopayments/models/product_collection_list_response.rb +0 -65
  45. data/lib/dodopayments/models/product_collection_retrieve_params.rb +0 -20
  46. data/lib/dodopayments/models/product_collection_retrieve_response.rb +0 -226
  47. data/lib/dodopayments/models/product_collection_unarchive_params.rb +0 -20
  48. data/lib/dodopayments/models/product_collection_unarchive_response.rb +0 -33
  49. data/lib/dodopayments/models/product_collection_update_images_params.rb +0 -29
  50. data/lib/dodopayments/models/product_collection_update_images_response.rb +0 -25
  51. data/lib/dodopayments/models/product_collection_update_params.rb +0 -61
  52. data/lib/dodopayments/models/product_collections/group_create_params.rb +0 -71
  53. data/lib/dodopayments/models/product_collections/group_create_response.rb +0 -160
  54. data/lib/dodopayments/models/product_collections/group_delete_params.rb +0 -28
  55. data/lib/dodopayments/models/product_collections/group_update_params.rb +0 -59
  56. data/lib/dodopayments/models/product_collections/groups/item_create_params.rb +0 -60
  57. data/lib/dodopayments/models/product_collections/groups/item_create_response.rb +0 -136
  58. data/lib/dodopayments/models/product_collections/groups/item_delete_params.rb +0 -36
  59. data/lib/dodopayments/models/product_collections/groups/item_update_params.rb +0 -47
  60. data/lib/dodopayments/models/your_webhook_url_create_params.rb +0 -32
  61. data/lib/dodopayments/resources/product_collections/groups/items.rb +0 -111
  62. data/lib/dodopayments/resources/product_collections/groups.rb +0 -109
  63. data/lib/dodopayments/resources/product_collections.rb +0 -179
  64. data/lib/dodopayments/resources/your_webhook_url.rb +0 -56
  65. data/rbi/dodopayments/models/invoices/payment_retrieve_payout_params.rbi +0 -40
  66. data/rbi/dodopayments/models/product_collection_create_params.rbi +0 -180
  67. data/rbi/dodopayments/models/product_collection_create_response.rbi +0 -303
  68. data/rbi/dodopayments/models/product_collection_delete_params.rbi +0 -38
  69. data/rbi/dodopayments/models/product_collection_list_params.rbi +0 -82
  70. data/rbi/dodopayments/models/product_collection_list_response.rbi +0 -88
  71. data/rbi/dodopayments/models/product_collection_retrieve_params.rbi +0 -38
  72. data/rbi/dodopayments/models/product_collection_retrieve_response.rbi +0 -305
  73. data/rbi/dodopayments/models/product_collection_unarchive_params.rbi +0 -38
  74. data/rbi/dodopayments/models/product_collection_unarchive_response.rbi +0 -56
  75. data/rbi/dodopayments/models/product_collection_update_images_params.rbi +0 -52
  76. data/rbi/dodopayments/models/product_collection_update_images_response.rbi +0 -40
  77. data/rbi/dodopayments/models/product_collection_update_params.rbi +0 -84
  78. data/rbi/dodopayments/models/product_collections/group_create_params.rbi +0 -123
  79. data/rbi/dodopayments/models/product_collections/group_create_response.rbi +0 -204
  80. data/rbi/dodopayments/models/product_collections/group_delete_params.rbi +0 -48
  81. data/rbi/dodopayments/models/product_collections/group_update_params.rbi +0 -80
  82. data/rbi/dodopayments/models/product_collections/groups/item_create_params.rbi +0 -113
  83. data/rbi/dodopayments/models/product_collections/groups/item_create_response.rbi +0 -156
  84. data/rbi/dodopayments/models/product_collections/groups/item_delete_params.rbi +0 -55
  85. data/rbi/dodopayments/models/product_collections/groups/item_update_params.rbi +0 -68
  86. data/rbi/dodopayments/resources/product_collections/groups/items.rbi +0 -83
  87. data/rbi/dodopayments/resources/product_collections/groups.rbi +0 -90
  88. data/rbi/dodopayments/resources/product_collections.rbi +0 -149
  89. data/rbi/dodopayments/resources/your_webhook_url.rbi +0 -53
  90. data/sig/dodopayments/models/invoices/payment_retrieve_payout_params.rbs +0 -25
  91. data/sig/dodopayments/models/product_collection_create_params.rbs +0 -80
  92. data/sig/dodopayments/models/product_collection_create_response.rbs +0 -179
  93. data/sig/dodopayments/models/product_collection_delete_params.rbs +0 -23
  94. data/sig/dodopayments/models/product_collection_list_params.rbs +0 -49
  95. data/sig/dodopayments/models/product_collection_list_response.rbs +0 -50
  96. data/sig/dodopayments/models/product_collection_retrieve_params.rbs +0 -23
  97. data/sig/dodopayments/models/product_collection_retrieve_response.rbs +0 -179
  98. data/sig/dodopayments/models/product_collection_unarchive_params.rbs +0 -23
  99. data/sig/dodopayments/models/product_collection_unarchive_response.rbs +0 -30
  100. data/sig/dodopayments/models/product_collection_update_images_response.rbs +0 -16
  101. data/sig/dodopayments/models/product_collection_update_params.rbs +0 -51
  102. data/sig/dodopayments/models/product_collections/group_create_params.rbs +0 -55
  103. data/sig/dodopayments/models/product_collections/group_create_response.rbs +0 -129
  104. data/sig/dodopayments/models/product_collections/group_delete_params.rbs +0 -30
  105. data/sig/dodopayments/models/product_collections/group_update_params.rbs +0 -48
  106. data/sig/dodopayments/models/product_collections/groups/item_create_params.rbs +0 -52
  107. data/sig/dodopayments/models/product_collections/groups/item_create_response.rbs +0 -104
  108. data/sig/dodopayments/models/product_collections/groups/item_delete_params.rbs +0 -36
  109. data/sig/dodopayments/models/product_collections/groups/item_update_params.rbs +0 -40
  110. data/sig/dodopayments/models/your_webhook_url_create_params.rbs +0 -42
  111. data/sig/dodopayments/resources/product_collections/groups/items.rbs +0 -33
  112. data/sig/dodopayments/resources/product_collections/groups.rbs +0 -34
  113. data/sig/dodopayments/resources/product_collections.rbs +0 -56
  114. data/sig/dodopayments/resources/your_webhook_url.rbs +0 -18
@@ -1,303 +0,0 @@
1
- # typed: strong
2
-
3
- module Dodopayments
4
- module Models
5
- class ProductCollectionCreateResponse < Dodopayments::Internal::Type::BaseModel
6
- OrHash =
7
- T.type_alias do
8
- T.any(
9
- Dodopayments::Models::ProductCollectionCreateResponse,
10
- Dodopayments::Internal::AnyHash
11
- )
12
- end
13
-
14
- # Unique identifier for the product collection
15
- sig { returns(String) }
16
- attr_accessor :id
17
-
18
- # Brand ID for the collection
19
- sig { returns(String) }
20
- attr_accessor :brand_id
21
-
22
- # Timestamp when the collection was created
23
- sig { returns(Time) }
24
- attr_accessor :created_at
25
-
26
- # Groups in this collection
27
- sig do
28
- returns(
29
- T::Array[Dodopayments::Models::ProductCollectionCreateResponse::Group]
30
- )
31
- end
32
- attr_accessor :groups
33
-
34
- # Name of the collection
35
- sig { returns(String) }
36
- attr_accessor :name
37
-
38
- # Timestamp when the collection was last updated
39
- sig { returns(Time) }
40
- attr_accessor :updated_at
41
-
42
- # Description of the collection
43
- sig { returns(T.nilable(String)) }
44
- attr_accessor :description
45
-
46
- # URL of the collection image
47
- sig { returns(T.nilable(String)) }
48
- attr_accessor :image
49
-
50
- sig do
51
- params(
52
- id: String,
53
- brand_id: String,
54
- created_at: Time,
55
- groups:
56
- T::Array[
57
- Dodopayments::Models::ProductCollectionCreateResponse::Group::OrHash
58
- ],
59
- name: String,
60
- updated_at: Time,
61
- description: T.nilable(String),
62
- image: T.nilable(String)
63
- ).returns(T.attached_class)
64
- end
65
- def self.new(
66
- # Unique identifier for the product collection
67
- id:,
68
- # Brand ID for the collection
69
- brand_id:,
70
- # Timestamp when the collection was created
71
- created_at:,
72
- # Groups in this collection
73
- groups:,
74
- # Name of the collection
75
- name:,
76
- # Timestamp when the collection was last updated
77
- updated_at:,
78
- # Description of the collection
79
- description: nil,
80
- # URL of the collection image
81
- image: nil
82
- )
83
- end
84
-
85
- sig do
86
- override.returns(
87
- {
88
- id: String,
89
- brand_id: String,
90
- created_at: Time,
91
- groups:
92
- T::Array[
93
- Dodopayments::Models::ProductCollectionCreateResponse::Group
94
- ],
95
- name: String,
96
- updated_at: Time,
97
- description: T.nilable(String),
98
- image: T.nilable(String)
99
- }
100
- )
101
- end
102
- def to_hash
103
- end
104
-
105
- class Group < Dodopayments::Internal::Type::BaseModel
106
- OrHash =
107
- T.type_alias do
108
- T.any(
109
- Dodopayments::Models::ProductCollectionCreateResponse::Group,
110
- Dodopayments::Internal::AnyHash
111
- )
112
- end
113
-
114
- sig { returns(String) }
115
- attr_accessor :group_id
116
-
117
- sig do
118
- returns(
119
- T::Array[
120
- Dodopayments::Models::ProductCollectionCreateResponse::Group::Product
121
- ]
122
- )
123
- end
124
- attr_accessor :products
125
-
126
- sig { returns(T::Boolean) }
127
- attr_accessor :status
128
-
129
- sig { returns(T.nilable(String)) }
130
- attr_accessor :group_name
131
-
132
- sig do
133
- params(
134
- group_id: String,
135
- products:
136
- T::Array[
137
- Dodopayments::Models::ProductCollectionCreateResponse::Group::Product::OrHash
138
- ],
139
- status: T::Boolean,
140
- group_name: T.nilable(String)
141
- ).returns(T.attached_class)
142
- end
143
- def self.new(group_id:, products:, status:, group_name: nil)
144
- end
145
-
146
- sig do
147
- override.returns(
148
- {
149
- group_id: String,
150
- products:
151
- T::Array[
152
- Dodopayments::Models::ProductCollectionCreateResponse::Group::Product
153
- ],
154
- status: T::Boolean,
155
- group_name: T.nilable(String)
156
- }
157
- )
158
- end
159
- def to_hash
160
- end
161
-
162
- class Product < Dodopayments::Internal::Type::BaseModel
163
- OrHash =
164
- T.type_alias do
165
- T.any(
166
- Dodopayments::Models::ProductCollectionCreateResponse::Group::Product,
167
- Dodopayments::Internal::AnyHash
168
- )
169
- end
170
-
171
- sig { returns(String) }
172
- attr_accessor :id
173
-
174
- sig { returns(Integer) }
175
- attr_accessor :addons_count
176
-
177
- sig { returns(Integer) }
178
- attr_accessor :files_count
179
-
180
- # Whether this product has any credit entitlements attached
181
- sig { returns(T::Boolean) }
182
- attr_accessor :has_credit_entitlements
183
-
184
- sig { returns(T::Boolean) }
185
- attr_accessor :is_recurring
186
-
187
- sig { returns(T::Boolean) }
188
- attr_accessor :license_key_enabled
189
-
190
- sig { returns(Integer) }
191
- attr_accessor :meters_count
192
-
193
- sig { returns(String) }
194
- attr_accessor :product_id
195
-
196
- sig { returns(T::Boolean) }
197
- attr_accessor :status
198
-
199
- sig { returns(T.nilable(Dodopayments::Currency::TaggedSymbol)) }
200
- attr_accessor :currency
201
-
202
- sig { returns(T.nilable(String)) }
203
- attr_accessor :description
204
-
205
- sig { returns(T.nilable(String)) }
206
- attr_accessor :name
207
-
208
- sig { returns(T.nilable(Integer)) }
209
- attr_accessor :price
210
-
211
- # One-time price details.
212
- sig { returns(T.nilable(Dodopayments::Price::Variants)) }
213
- attr_accessor :price_detail
214
-
215
- # Represents the different categories of taxation applicable to various products
216
- # and services.
217
- sig { returns(T.nilable(Dodopayments::TaxCategory::TaggedSymbol)) }
218
- attr_accessor :tax_category
219
-
220
- sig { returns(T.nilable(T::Boolean)) }
221
- attr_accessor :tax_inclusive
222
-
223
- sig do
224
- params(
225
- id: String,
226
- addons_count: Integer,
227
- files_count: Integer,
228
- has_credit_entitlements: T::Boolean,
229
- is_recurring: T::Boolean,
230
- license_key_enabled: T::Boolean,
231
- meters_count: Integer,
232
- product_id: String,
233
- status: T::Boolean,
234
- currency: T.nilable(Dodopayments::Currency::OrSymbol),
235
- description: T.nilable(String),
236
- name: T.nilable(String),
237
- price: T.nilable(Integer),
238
- price_detail:
239
- T.nilable(
240
- T.any(
241
- Dodopayments::Price::OneTimePrice::OrHash,
242
- Dodopayments::Price::RecurringPrice::OrHash,
243
- Dodopayments::Price::UsageBasedPrice::OrHash
244
- )
245
- ),
246
- tax_category: T.nilable(Dodopayments::TaxCategory::OrSymbol),
247
- tax_inclusive: T.nilable(T::Boolean)
248
- ).returns(T.attached_class)
249
- end
250
- def self.new(
251
- id:,
252
- addons_count:,
253
- files_count:,
254
- # Whether this product has any credit entitlements attached
255
- has_credit_entitlements:,
256
- is_recurring:,
257
- license_key_enabled:,
258
- meters_count:,
259
- product_id:,
260
- status:,
261
- currency: nil,
262
- description: nil,
263
- name: nil,
264
- price: nil,
265
- # One-time price details.
266
- price_detail: nil,
267
- # Represents the different categories of taxation applicable to various products
268
- # and services.
269
- tax_category: nil,
270
- tax_inclusive: nil
271
- )
272
- end
273
-
274
- sig do
275
- override.returns(
276
- {
277
- id: String,
278
- addons_count: Integer,
279
- files_count: Integer,
280
- has_credit_entitlements: T::Boolean,
281
- is_recurring: T::Boolean,
282
- license_key_enabled: T::Boolean,
283
- meters_count: Integer,
284
- product_id: String,
285
- status: T::Boolean,
286
- currency: T.nilable(Dodopayments::Currency::TaggedSymbol),
287
- description: T.nilable(String),
288
- name: T.nilable(String),
289
- price: T.nilable(Integer),
290
- price_detail: T.nilable(Dodopayments::Price::Variants),
291
- tax_category:
292
- T.nilable(Dodopayments::TaxCategory::TaggedSymbol),
293
- tax_inclusive: T.nilable(T::Boolean)
294
- }
295
- )
296
- end
297
- def to_hash
298
- end
299
- end
300
- end
301
- end
302
- end
303
- end
@@ -1,38 +0,0 @@
1
- # typed: strong
2
-
3
- module Dodopayments
4
- module Models
5
- class ProductCollectionDeleteParams < Dodopayments::Internal::Type::BaseModel
6
- extend Dodopayments::Internal::Type::RequestParameters::Converter
7
- include Dodopayments::Internal::Type::RequestParameters
8
-
9
- OrHash =
10
- T.type_alias do
11
- T.any(
12
- Dodopayments::ProductCollectionDeleteParams,
13
- Dodopayments::Internal::AnyHash
14
- )
15
- end
16
-
17
- sig { returns(String) }
18
- attr_accessor :id
19
-
20
- sig do
21
- params(
22
- id: String,
23
- request_options: Dodopayments::RequestOptions::OrHash
24
- ).returns(T.attached_class)
25
- end
26
- def self.new(id:, request_options: {})
27
- end
28
-
29
- sig do
30
- override.returns(
31
- { id: String, request_options: Dodopayments::RequestOptions }
32
- )
33
- end
34
- def to_hash
35
- end
36
- end
37
- end
38
- end
@@ -1,82 +0,0 @@
1
- # typed: strong
2
-
3
- module Dodopayments
4
- module Models
5
- class ProductCollectionListParams < Dodopayments::Internal::Type::BaseModel
6
- extend Dodopayments::Internal::Type::RequestParameters::Converter
7
- include Dodopayments::Internal::Type::RequestParameters
8
-
9
- OrHash =
10
- T.type_alias do
11
- T.any(
12
- Dodopayments::ProductCollectionListParams,
13
- Dodopayments::Internal::AnyHash
14
- )
15
- end
16
-
17
- # List archived collections
18
- sig { returns(T.nilable(T::Boolean)) }
19
- attr_reader :archived
20
-
21
- sig { params(archived: T::Boolean).void }
22
- attr_writer :archived
23
-
24
- # Filter by Brand id
25
- sig { returns(T.nilable(String)) }
26
- attr_reader :brand_id
27
-
28
- sig { params(brand_id: String).void }
29
- attr_writer :brand_id
30
-
31
- # Page number default is 0
32
- sig { returns(T.nilable(Integer)) }
33
- attr_reader :page_number
34
-
35
- sig { params(page_number: Integer).void }
36
- attr_writer :page_number
37
-
38
- # Page size default is 10 max is 100
39
- sig { returns(T.nilable(Integer)) }
40
- attr_reader :page_size
41
-
42
- sig { params(page_size: Integer).void }
43
- attr_writer :page_size
44
-
45
- sig do
46
- params(
47
- archived: T::Boolean,
48
- brand_id: String,
49
- page_number: Integer,
50
- page_size: Integer,
51
- request_options: Dodopayments::RequestOptions::OrHash
52
- ).returns(T.attached_class)
53
- end
54
- def self.new(
55
- # List archived collections
56
- archived: nil,
57
- # Filter by Brand id
58
- brand_id: nil,
59
- # Page number default is 0
60
- page_number: nil,
61
- # Page size default is 10 max is 100
62
- page_size: nil,
63
- request_options: {}
64
- )
65
- end
66
-
67
- sig do
68
- override.returns(
69
- {
70
- archived: T::Boolean,
71
- brand_id: String,
72
- page_number: Integer,
73
- page_size: Integer,
74
- request_options: Dodopayments::RequestOptions
75
- }
76
- )
77
- end
78
- def to_hash
79
- end
80
- end
81
- end
82
- end
@@ -1,88 +0,0 @@
1
- # typed: strong
2
-
3
- module Dodopayments
4
- module Models
5
- class ProductCollectionListResponse < Dodopayments::Internal::Type::BaseModel
6
- OrHash =
7
- T.type_alias do
8
- T.any(
9
- Dodopayments::Models::ProductCollectionListResponse,
10
- Dodopayments::Internal::AnyHash
11
- )
12
- end
13
-
14
- # Collection ID
15
- sig { returns(String) }
16
- attr_accessor :id
17
-
18
- # Timestamp when created
19
- sig { returns(Time) }
20
- attr_accessor :created_at
21
-
22
- # Collection name
23
- sig { returns(String) }
24
- attr_accessor :name
25
-
26
- # Number of products in the collection
27
- sig { returns(Integer) }
28
- attr_accessor :products_count
29
-
30
- # Timestamp when last updated
31
- sig { returns(Time) }
32
- attr_accessor :updated_at
33
-
34
- # Collection description
35
- sig { returns(T.nilable(String)) }
36
- attr_accessor :description
37
-
38
- # Collection image URL
39
- sig { returns(T.nilable(String)) }
40
- attr_accessor :image
41
-
42
- sig do
43
- params(
44
- id: String,
45
- created_at: Time,
46
- name: String,
47
- products_count: Integer,
48
- updated_at: Time,
49
- description: T.nilable(String),
50
- image: T.nilable(String)
51
- ).returns(T.attached_class)
52
- end
53
- def self.new(
54
- # Collection ID
55
- id:,
56
- # Timestamp when created
57
- created_at:,
58
- # Collection name
59
- name:,
60
- # Number of products in the collection
61
- products_count:,
62
- # Timestamp when last updated
63
- updated_at:,
64
- # Collection description
65
- description: nil,
66
- # Collection image URL
67
- image: nil
68
- )
69
- end
70
-
71
- sig do
72
- override.returns(
73
- {
74
- id: String,
75
- created_at: Time,
76
- name: String,
77
- products_count: Integer,
78
- updated_at: Time,
79
- description: T.nilable(String),
80
- image: T.nilable(String)
81
- }
82
- )
83
- end
84
- def to_hash
85
- end
86
- end
87
- end
88
- end
@@ -1,38 +0,0 @@
1
- # typed: strong
2
-
3
- module Dodopayments
4
- module Models
5
- class ProductCollectionRetrieveParams < Dodopayments::Internal::Type::BaseModel
6
- extend Dodopayments::Internal::Type::RequestParameters::Converter
7
- include Dodopayments::Internal::Type::RequestParameters
8
-
9
- OrHash =
10
- T.type_alias do
11
- T.any(
12
- Dodopayments::ProductCollectionRetrieveParams,
13
- Dodopayments::Internal::AnyHash
14
- )
15
- end
16
-
17
- sig { returns(String) }
18
- attr_accessor :id
19
-
20
- sig do
21
- params(
22
- id: String,
23
- request_options: Dodopayments::RequestOptions::OrHash
24
- ).returns(T.attached_class)
25
- end
26
- def self.new(id:, request_options: {})
27
- end
28
-
29
- sig do
30
- override.returns(
31
- { id: String, request_options: Dodopayments::RequestOptions }
32
- )
33
- end
34
- def to_hash
35
- end
36
- end
37
- end
38
- end