dodopayments 2.1.0 → 2.1.1
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 +9 -0
- data/README.md +1 -1
- data/lib/dodopayments/models/addon_retrieve_params.rb +7 -1
- data/lib/dodopayments/models/addon_update_images_params.rb +7 -1
- data/lib/dodopayments/models/addon_update_params.rb +8 -1
- data/lib/dodopayments/models/brand_retrieve_params.rb +7 -1
- data/lib/dodopayments/models/brand_update_images_params.rb +7 -1
- data/lib/dodopayments/models/brand_update_params.rb +8 -1
- data/lib/dodopayments/models/checkout_session_retrieve_params.rb +7 -1
- data/lib/dodopayments/models/credit_entitlement_delete_params.rb +7 -1
- data/lib/dodopayments/models/credit_entitlement_retrieve_params.rb +7 -1
- data/lib/dodopayments/models/credit_entitlement_undelete_params.rb +7 -1
- data/lib/dodopayments/models/credit_entitlement_update_params.rb +8 -1
- data/lib/dodopayments/models/credit_entitlements/balance_create_ledger_entry_params.rb +8 -1
- data/lib/dodopayments/models/credit_entitlements/balance_list_grants_params.rb +8 -1
- data/lib/dodopayments/models/credit_entitlements/balance_list_ledger_params.rb +8 -1
- data/lib/dodopayments/models/credit_entitlements/balance_list_params.rb +8 -1
- data/lib/dodopayments/models/credit_entitlements/balance_retrieve_params.rb +7 -1
- data/lib/dodopayments/models/customer_list_credit_entitlements_params.rb +7 -1
- data/lib/dodopayments/models/customer_retrieve_params.rb +7 -1
- data/lib/dodopayments/models/customer_retrieve_payment_methods_params.rb +7 -1
- data/lib/dodopayments/models/customer_update_params.rb +8 -1
- data/lib/dodopayments/models/customers/customer_portal_create_params.rb +8 -1
- data/lib/dodopayments/models/customers/wallet_list_params.rb +7 -1
- data/lib/dodopayments/models/customers/wallets/ledger_entry_create_params.rb +8 -1
- data/lib/dodopayments/models/customers/wallets/ledger_entry_list_params.rb +8 -1
- data/lib/dodopayments/models/discount_delete_params.rb +7 -1
- data/lib/dodopayments/models/discount_retrieve_by_code_params.rb +7 -1
- data/lib/dodopayments/models/discount_retrieve_params.rb +7 -1
- data/lib/dodopayments/models/discount_update_params.rb +8 -1
- data/lib/dodopayments/models/dispute_retrieve_params.rb +7 -1
- data/lib/dodopayments/models/invoices/payment_retrieve_params.rb +7 -1
- data/lib/dodopayments/models/invoices/payment_retrieve_refund_params.rb +7 -1
- data/lib/dodopayments/models/license_key_instance_retrieve_params.rb +7 -1
- data/lib/dodopayments/models/license_key_instance_update_params.rb +7 -1
- data/lib/dodopayments/models/license_key_retrieve_params.rb +7 -1
- data/lib/dodopayments/models/license_key_update_params.rb +8 -1
- data/lib/dodopayments/models/meter_archive_params.rb +7 -1
- data/lib/dodopayments/models/meter_retrieve_params.rb +7 -1
- data/lib/dodopayments/models/meter_unarchive_params.rb +7 -1
- data/lib/dodopayments/models/payment_retrieve_line_items_params.rb +7 -1
- data/lib/dodopayments/models/payment_retrieve_params.rb +7 -1
- data/lib/dodopayments/models/product_archive_params.rb +7 -1
- data/lib/dodopayments/models/product_retrieve_params.rb +7 -1
- data/lib/dodopayments/models/product_unarchive_params.rb +7 -1
- data/lib/dodopayments/models/product_update_files_params.rb +7 -1
- data/lib/dodopayments/models/product_update_params.rb +8 -1
- data/lib/dodopayments/models/products/image_update_params.rb +7 -1
- data/lib/dodopayments/models/products/short_link_create_params.rb +8 -1
- data/lib/dodopayments/models/refund_retrieve_params.rb +7 -1
- data/lib/dodopayments/models/subscription_change_plan_params.rb +7 -1
- data/lib/dodopayments/models/subscription_charge_params.rb +8 -1
- data/lib/dodopayments/models/subscription_preview_change_plan_params.rb +7 -1
- data/lib/dodopayments/models/subscription_retrieve_credit_usage_params.rb +7 -1
- data/lib/dodopayments/models/subscription_retrieve_params.rb +7 -1
- data/lib/dodopayments/models/subscription_retrieve_usage_history_params.rb +8 -1
- data/lib/dodopayments/models/subscription_update_params.rb +8 -1
- data/lib/dodopayments/models/subscription_update_payment_method_params.rb +68 -20
- data/lib/dodopayments/models/usage_event_retrieve_params.rb +7 -1
- data/lib/dodopayments/models/webhook_delete_params.rb +7 -1
- data/lib/dodopayments/models/webhook_retrieve_params.rb +7 -1
- data/lib/dodopayments/models/webhook_retrieve_secret_params.rb +7 -1
- data/lib/dodopayments/models/webhook_update_params.rb +8 -1
- data/lib/dodopayments/models/webhooks/header_retrieve_params.rb +7 -1
- data/lib/dodopayments/models/webhooks/header_update_params.rb +8 -1
- data/lib/dodopayments/resources/subscriptions.rb +3 -7
- data/lib/dodopayments/version.rb +1 -1
- data/rbi/dodopayments/models/addon_retrieve_params.rbi +11 -5
- data/rbi/dodopayments/models/addon_update_images_params.rbi +11 -5
- data/rbi/dodopayments/models/addon_update_params.rbi +6 -0
- data/rbi/dodopayments/models/brand_retrieve_params.rbi +11 -5
- data/rbi/dodopayments/models/brand_update_images_params.rbi +11 -5
- data/rbi/dodopayments/models/brand_update_params.rbi +6 -0
- data/rbi/dodopayments/models/checkout_session_retrieve_params.rbi +11 -5
- data/rbi/dodopayments/models/credit_entitlement_delete_params.rbi +11 -5
- data/rbi/dodopayments/models/credit_entitlement_retrieve_params.rbi +11 -5
- data/rbi/dodopayments/models/credit_entitlement_undelete_params.rbi +11 -5
- data/rbi/dodopayments/models/credit_entitlement_update_params.rbi +6 -0
- data/rbi/dodopayments/models/credit_entitlements/balance_create_ledger_entry_params.rbi +6 -0
- data/rbi/dodopayments/models/credit_entitlements/balance_list_grants_params.rbi +6 -0
- data/rbi/dodopayments/models/credit_entitlements/balance_list_ledger_params.rbi +6 -0
- data/rbi/dodopayments/models/credit_entitlements/balance_list_params.rbi +6 -0
- data/rbi/dodopayments/models/credit_entitlements/balance_retrieve_params.rbi +6 -1
- data/rbi/dodopayments/models/customer_list_credit_entitlements_params.rbi +11 -5
- data/rbi/dodopayments/models/customer_retrieve_params.rbi +11 -5
- data/rbi/dodopayments/models/customer_retrieve_payment_methods_params.rbi +11 -5
- data/rbi/dodopayments/models/customer_update_params.rbi +6 -0
- data/rbi/dodopayments/models/customers/customer_portal_create_params.rbi +6 -0
- data/rbi/dodopayments/models/customers/wallet_list_params.rbi +14 -5
- data/rbi/dodopayments/models/customers/wallets/ledger_entry_create_params.rbi +6 -0
- data/rbi/dodopayments/models/customers/wallets/ledger_entry_list_params.rbi +6 -0
- data/rbi/dodopayments/models/discount_delete_params.rbi +11 -5
- data/rbi/dodopayments/models/discount_retrieve_by_code_params.rbi +11 -5
- data/rbi/dodopayments/models/discount_retrieve_params.rbi +11 -5
- data/rbi/dodopayments/models/discount_update_params.rbi +6 -0
- data/rbi/dodopayments/models/dispute_retrieve_params.rbi +11 -5
- data/rbi/dodopayments/models/invoices/payment_retrieve_params.rbi +14 -5
- data/rbi/dodopayments/models/invoices/payment_retrieve_refund_params.rbi +11 -5
- data/rbi/dodopayments/models/license_key_instance_retrieve_params.rbi +11 -5
- data/rbi/dodopayments/models/license_key_instance_update_params.rbi +10 -2
- data/rbi/dodopayments/models/license_key_retrieve_params.rbi +11 -5
- data/rbi/dodopayments/models/license_key_update_params.rbi +6 -0
- data/rbi/dodopayments/models/meter_archive_params.rbi +11 -5
- data/rbi/dodopayments/models/meter_retrieve_params.rbi +11 -5
- data/rbi/dodopayments/models/meter_unarchive_params.rbi +11 -5
- data/rbi/dodopayments/models/payment_retrieve_line_items_params.rbi +11 -5
- data/rbi/dodopayments/models/payment_retrieve_params.rbi +11 -5
- data/rbi/dodopayments/models/product_archive_params.rbi +11 -5
- data/rbi/dodopayments/models/product_retrieve_params.rbi +11 -5
- data/rbi/dodopayments/models/product_unarchive_params.rbi +11 -5
- data/rbi/dodopayments/models/product_update_files_params.rbi +10 -2
- data/rbi/dodopayments/models/product_update_params.rbi +6 -0
- data/rbi/dodopayments/models/products/image_update_params.rbi +6 -1
- data/rbi/dodopayments/models/products/short_link_create_params.rbi +6 -0
- data/rbi/dodopayments/models/refund_retrieve_params.rbi +11 -5
- data/rbi/dodopayments/models/subscription_change_plan_params.rbi +14 -5
- data/rbi/dodopayments/models/subscription_charge_params.rbi +6 -0
- data/rbi/dodopayments/models/subscription_preview_change_plan_params.rbi +14 -5
- data/rbi/dodopayments/models/subscription_retrieve_credit_usage_params.rbi +14 -5
- data/rbi/dodopayments/models/subscription_retrieve_params.rbi +14 -5
- data/rbi/dodopayments/models/subscription_retrieve_usage_history_params.rbi +6 -0
- data/rbi/dodopayments/models/subscription_update_params.rbi +6 -0
- data/rbi/dodopayments/models/subscription_update_payment_method_params.rbi +170 -36
- data/rbi/dodopayments/models/usage_event_retrieve_params.rbi +11 -5
- data/rbi/dodopayments/models/webhook_delete_params.rbi +11 -5
- data/rbi/dodopayments/models/webhook_retrieve_params.rbi +11 -5
- data/rbi/dodopayments/models/webhook_retrieve_secret_params.rbi +11 -5
- data/rbi/dodopayments/models/webhook_update_params.rbi +6 -0
- data/rbi/dodopayments/models/webhooks/header_retrieve_params.rbi +14 -5
- data/rbi/dodopayments/models/webhooks/header_update_params.rbi +6 -0
- data/rbi/dodopayments/resources/subscriptions.rbi +6 -7
- data/sig/dodopayments/models/addon_retrieve_params.rbs +11 -3
- data/sig/dodopayments/models/addon_update_images_params.rbs +11 -3
- data/sig/dodopayments/models/addon_update_params.rbs +5 -0
- data/sig/dodopayments/models/brand_retrieve_params.rbs +11 -3
- data/sig/dodopayments/models/brand_update_images_params.rbs +11 -3
- data/sig/dodopayments/models/brand_update_params.rbs +5 -0
- data/sig/dodopayments/models/checkout_session_retrieve_params.rbs +11 -3
- data/sig/dodopayments/models/credit_entitlement_delete_params.rbs +11 -3
- data/sig/dodopayments/models/credit_entitlement_retrieve_params.rbs +11 -3
- data/sig/dodopayments/models/credit_entitlement_undelete_params.rbs +11 -3
- data/sig/dodopayments/models/credit_entitlement_update_params.rbs +5 -0
- data/sig/dodopayments/models/credit_entitlements/balance_create_ledger_entry_params.rbs +5 -0
- data/sig/dodopayments/models/credit_entitlements/balance_list_grants_params.rbs +5 -0
- data/sig/dodopayments/models/credit_entitlements/balance_list_ledger_params.rbs +5 -0
- data/sig/dodopayments/models/credit_entitlements/balance_list_params.rbs +10 -1
- data/sig/dodopayments/models/credit_entitlements/balance_retrieve_params.rbs +5 -1
- data/sig/dodopayments/models/customer_list_credit_entitlements_params.rbs +11 -3
- data/sig/dodopayments/models/customer_retrieve_params.rbs +11 -3
- data/sig/dodopayments/models/customer_retrieve_payment_methods_params.rbs +11 -3
- data/sig/dodopayments/models/customer_update_params.rbs +5 -0
- data/sig/dodopayments/models/customers/customer_portal_create_params.rbs +6 -1
- data/sig/dodopayments/models/customers/wallet_list_params.rbs +12 -3
- data/sig/dodopayments/models/customers/wallets/ledger_entry_create_params.rbs +5 -0
- data/sig/dodopayments/models/customers/wallets/ledger_entry_list_params.rbs +5 -0
- data/sig/dodopayments/models/discount_delete_params.rbs +11 -3
- data/sig/dodopayments/models/discount_retrieve_by_code_params.rbs +11 -3
- data/sig/dodopayments/models/discount_retrieve_params.rbs +11 -3
- data/sig/dodopayments/models/discount_update_params.rbs +5 -0
- data/sig/dodopayments/models/dispute_retrieve_params.rbs +11 -3
- data/sig/dodopayments/models/invoices/payment_retrieve_params.rbs +12 -3
- data/sig/dodopayments/models/invoices/payment_retrieve_refund_params.rbs +11 -3
- data/sig/dodopayments/models/license_key_instance_retrieve_params.rbs +11 -3
- data/sig/dodopayments/models/license_key_instance_update_params.rbs +6 -1
- data/sig/dodopayments/models/license_key_retrieve_params.rbs +11 -3
- data/sig/dodopayments/models/license_key_update_params.rbs +10 -1
- data/sig/dodopayments/models/meter_archive_params.rbs +11 -3
- data/sig/dodopayments/models/meter_retrieve_params.rbs +11 -3
- data/sig/dodopayments/models/meter_unarchive_params.rbs +11 -3
- data/sig/dodopayments/models/payment_retrieve_line_items_params.rbs +11 -3
- data/sig/dodopayments/models/payment_retrieve_params.rbs +11 -3
- data/sig/dodopayments/models/product_archive_params.rbs +11 -3
- data/sig/dodopayments/models/product_retrieve_params.rbs +11 -3
- data/sig/dodopayments/models/product_unarchive_params.rbs +11 -3
- data/sig/dodopayments/models/product_update_files_params.rbs +6 -1
- data/sig/dodopayments/models/product_update_params.rbs +5 -0
- data/sig/dodopayments/models/products/image_update_params.rbs +5 -1
- data/sig/dodopayments/models/products/short_link_create_params.rbs +9 -1
- data/sig/dodopayments/models/refund_retrieve_params.rbs +11 -3
- data/sig/dodopayments/models/subscription_change_plan_params.rbs +14 -3
- data/sig/dodopayments/models/subscription_charge_params.rbs +5 -0
- data/sig/dodopayments/models/subscription_preview_change_plan_params.rbs +14 -3
- data/sig/dodopayments/models/subscription_retrieve_credit_usage_params.rbs +12 -3
- data/sig/dodopayments/models/subscription_retrieve_params.rbs +12 -3
- data/sig/dodopayments/models/subscription_retrieve_usage_history_params.rbs +5 -0
- data/sig/dodopayments/models/subscription_update_params.rbs +5 -0
- data/sig/dodopayments/models/subscription_update_payment_method_params.rbs +77 -18
- data/sig/dodopayments/models/usage_event_retrieve_params.rbs +11 -3
- data/sig/dodopayments/models/webhook_delete_params.rbs +11 -3
- data/sig/dodopayments/models/webhook_retrieve_params.rbs +11 -3
- data/sig/dodopayments/models/webhook_retrieve_secret_params.rbs +11 -3
- data/sig/dodopayments/models/webhook_update_params.rbs +5 -0
- data/sig/dodopayments/models/webhooks/header_retrieve_params.rbs +12 -3
- data/sig/dodopayments/models/webhooks/header_update_params.rbs +5 -1
- data/sig/dodopayments/resources/subscriptions.rbs +1 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 718dff0fb370351fccbbcf19da165174a8d484b370bfc12d664666f75e0e9813
|
|
4
|
+
data.tar.gz: c1a39f4aef939ee2a1dc9290daf0c67fd3cd1999a8dbee8a0950538f09525593
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4159a775ed3dc5fd21664681afe41d84b8011673c0418cdb8bb8f583e20defb89708ebbaeba94170d7d074ee326c2abf5b096b0540dc5acee8f31d7ed6c96dad
|
|
7
|
+
data.tar.gz: 339754cde2033b962c6bab30b5febe967de43bd0682c8dbca6f155e5e04a1f30ef767ad26fa783caaf84b4e57ed648d55b54de28825044220057a26a7e88e53b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.1.1 (2026-03-06)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v2.1.0...v2.1.1](https://github.com/dodopayments/dodopayments-ruby/compare/v2.1.0...v2.1.1)
|
|
6
|
+
|
|
7
|
+
### Chores
|
|
8
|
+
|
|
9
|
+
* **internal:** codegen related update ([2c286c6](https://github.com/dodopayments/dodopayments-ruby/commit/2c286c64692841d5e41b6bb939c5715bb689a411))
|
|
10
|
+
* **test:** do not count install time for mock server timeout ([0e1eb6a](https://github.com/dodopayments/dodopayments-ruby/commit/0e1eb6afd24f4f2d290a75abde3afb2f0f54cdde))
|
|
11
|
+
|
|
3
12
|
## 2.1.0 (2026-03-05)
|
|
4
13
|
|
|
5
14
|
Full Changelog: [v2.0.0...v2.1.0](https://github.com/dodopayments/dodopayments-ruby/compare/v2.0.0...v2.1.0)
|
data/README.md
CHANGED
|
@@ -7,7 +7,13 @@ module Dodopayments
|
|
|
7
7
|
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Dodopayments::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
# @!
|
|
10
|
+
# @!attribute id
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :id, String
|
|
14
|
+
|
|
15
|
+
# @!method initialize(id:, request_options: {})
|
|
16
|
+
# @param id [String]
|
|
11
17
|
# @param request_options [Dodopayments::RequestOptions, Hash{Symbol=>Object}]
|
|
12
18
|
end
|
|
13
19
|
end
|
|
@@ -7,7 +7,13 @@ module Dodopayments
|
|
|
7
7
|
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Dodopayments::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
# @!
|
|
10
|
+
# @!attribute id
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :id, String
|
|
14
|
+
|
|
15
|
+
# @!method initialize(id:, request_options: {})
|
|
16
|
+
# @param id [String]
|
|
11
17
|
# @param request_options [Dodopayments::RequestOptions, Hash{Symbol=>Object}]
|
|
12
18
|
end
|
|
13
19
|
end
|
|
@@ -7,6 +7,11 @@ module Dodopayments
|
|
|
7
7
|
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Dodopayments::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute id
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :id, String
|
|
14
|
+
|
|
10
15
|
# @!attribute currency
|
|
11
16
|
# The currency of the Addon
|
|
12
17
|
#
|
|
@@ -43,7 +48,9 @@ module Dodopayments
|
|
|
43
48
|
# @return [Symbol, Dodopayments::Models::TaxCategory, nil]
|
|
44
49
|
optional :tax_category, enum: -> { Dodopayments::TaxCategory }, nil?: true
|
|
45
50
|
|
|
46
|
-
# @!method initialize(currency: nil, description: nil, image_id: nil, name: nil, price: nil, tax_category: nil, request_options: {})
|
|
51
|
+
# @!method initialize(id:, currency: nil, description: nil, image_id: nil, name: nil, price: nil, tax_category: nil, request_options: {})
|
|
52
|
+
# @param id [String]
|
|
53
|
+
#
|
|
47
54
|
# @param currency [Symbol, Dodopayments::Models::Currency, nil] The currency of the Addon
|
|
48
55
|
#
|
|
49
56
|
# @param description [String, nil] Description of the Addon, optional and must be at most 1000 characters.
|
|
@@ -7,7 +7,13 @@ module Dodopayments
|
|
|
7
7
|
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Dodopayments::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
# @!
|
|
10
|
+
# @!attribute id
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :id, String
|
|
14
|
+
|
|
15
|
+
# @!method initialize(id:, request_options: {})
|
|
16
|
+
# @param id [String]
|
|
11
17
|
# @param request_options [Dodopayments::RequestOptions, Hash{Symbol=>Object}]
|
|
12
18
|
end
|
|
13
19
|
end
|
|
@@ -7,7 +7,13 @@ module Dodopayments
|
|
|
7
7
|
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Dodopayments::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
# @!
|
|
10
|
+
# @!attribute id
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :id, String
|
|
14
|
+
|
|
15
|
+
# @!method initialize(id:, request_options: {})
|
|
16
|
+
# @param id [String]
|
|
11
17
|
# @param request_options [Dodopayments::RequestOptions, Hash{Symbol=>Object}]
|
|
12
18
|
end
|
|
13
19
|
end
|
|
@@ -7,6 +7,11 @@ module Dodopayments
|
|
|
7
7
|
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Dodopayments::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute id
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :id, String
|
|
14
|
+
|
|
10
15
|
# @!attribute description
|
|
11
16
|
#
|
|
12
17
|
# @return [String, nil]
|
|
@@ -38,7 +43,9 @@ module Dodopayments
|
|
|
38
43
|
# @return [String, nil]
|
|
39
44
|
optional :url, String, nil?: true
|
|
40
45
|
|
|
41
|
-
# @!method initialize(description: nil, image_id: nil, name: nil, statement_descriptor: nil, support_email: nil, url: nil, request_options: {})
|
|
46
|
+
# @!method initialize(id:, description: nil, image_id: nil, name: nil, statement_descriptor: nil, support_email: nil, url: nil, request_options: {})
|
|
47
|
+
# @param id [String]
|
|
48
|
+
#
|
|
42
49
|
# @param description [String, nil]
|
|
43
50
|
#
|
|
44
51
|
# @param image_id [String, nil] The UUID you got back from the presigned‐upload call
|
|
@@ -7,7 +7,13 @@ module Dodopayments
|
|
|
7
7
|
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Dodopayments::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
# @!
|
|
10
|
+
# @!attribute id
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :id, String
|
|
14
|
+
|
|
15
|
+
# @!method initialize(id:, request_options: {})
|
|
16
|
+
# @param id [String]
|
|
11
17
|
# @param request_options [Dodopayments::RequestOptions, Hash{Symbol=>Object}]
|
|
12
18
|
end
|
|
13
19
|
end
|
|
@@ -7,7 +7,13 @@ module Dodopayments
|
|
|
7
7
|
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Dodopayments::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
# @!
|
|
10
|
+
# @!attribute id
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :id, String
|
|
14
|
+
|
|
15
|
+
# @!method initialize(id:, request_options: {})
|
|
16
|
+
# @param id [String]
|
|
11
17
|
# @param request_options [Dodopayments::RequestOptions, Hash{Symbol=>Object}]
|
|
12
18
|
end
|
|
13
19
|
end
|
|
@@ -7,7 +7,13 @@ module Dodopayments
|
|
|
7
7
|
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Dodopayments::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
# @!
|
|
10
|
+
# @!attribute id
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :id, String
|
|
14
|
+
|
|
15
|
+
# @!method initialize(id:, request_options: {})
|
|
16
|
+
# @param id [String]
|
|
11
17
|
# @param request_options [Dodopayments::RequestOptions, Hash{Symbol=>Object}]
|
|
12
18
|
end
|
|
13
19
|
end
|
|
@@ -7,7 +7,13 @@ module Dodopayments
|
|
|
7
7
|
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Dodopayments::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
# @!
|
|
10
|
+
# @!attribute id
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :id, String
|
|
14
|
+
|
|
15
|
+
# @!method initialize(id:, request_options: {})
|
|
16
|
+
# @param id [String]
|
|
11
17
|
# @param request_options [Dodopayments::RequestOptions, Hash{Symbol=>Object}]
|
|
12
18
|
end
|
|
13
19
|
end
|
|
@@ -7,6 +7,11 @@ module Dodopayments
|
|
|
7
7
|
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Dodopayments::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute id
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :id, String
|
|
14
|
+
|
|
10
15
|
# @!attribute currency
|
|
11
16
|
# Currency for pricing
|
|
12
17
|
#
|
|
@@ -91,7 +96,9 @@ module Dodopayments
|
|
|
91
96
|
# @return [String, nil]
|
|
92
97
|
optional :unit, String, nil?: true
|
|
93
98
|
|
|
94
|
-
# @!method initialize(currency: nil, description: nil, expires_after_days: nil, max_rollover_count: nil, name: nil, overage_behavior: nil, overage_enabled: nil, overage_limit: nil, price_per_unit: nil, rollover_enabled: nil, rollover_percentage: nil, rollover_timeframe_count: nil, rollover_timeframe_interval: nil, unit: nil, request_options: {})
|
|
99
|
+
# @!method initialize(id:, currency: nil, description: nil, expires_after_days: nil, max_rollover_count: nil, name: nil, overage_behavior: nil, overage_enabled: nil, overage_limit: nil, price_per_unit: nil, rollover_enabled: nil, rollover_percentage: nil, rollover_timeframe_count: nil, rollover_timeframe_interval: nil, unit: nil, request_options: {})
|
|
100
|
+
# @param id [String]
|
|
101
|
+
#
|
|
95
102
|
# @param currency [Symbol, Dodopayments::Models::Currency, nil] Currency for pricing
|
|
96
103
|
#
|
|
97
104
|
# @param description [String, nil] Optional description of the credit entitlement
|
|
@@ -13,6 +13,11 @@ module Dodopayments
|
|
|
13
13
|
# @return [String]
|
|
14
14
|
required :credit_entitlement_id, String
|
|
15
15
|
|
|
16
|
+
# @!attribute customer_id
|
|
17
|
+
#
|
|
18
|
+
# @return [String]
|
|
19
|
+
required :customer_id, String
|
|
20
|
+
|
|
16
21
|
# @!attribute amount
|
|
17
22
|
# Amount to credit or debit
|
|
18
23
|
#
|
|
@@ -50,13 +55,15 @@ module Dodopayments
|
|
|
50
55
|
# @return [String, nil]
|
|
51
56
|
optional :reason, String, nil?: true
|
|
52
57
|
|
|
53
|
-
# @!method initialize(credit_entitlement_id:, amount:, entry_type:, expires_at: nil, idempotency_key: nil, metadata: nil, reason: nil, request_options: {})
|
|
58
|
+
# @!method initialize(credit_entitlement_id:, customer_id:, amount:, entry_type:, expires_at: nil, idempotency_key: nil, metadata: nil, reason: nil, request_options: {})
|
|
54
59
|
# Some parameter documentations has been truncated, see
|
|
55
60
|
# {Dodopayments::Models::CreditEntitlements::BalanceCreateLedgerEntryParams} for
|
|
56
61
|
# more details.
|
|
57
62
|
#
|
|
58
63
|
# @param credit_entitlement_id [String]
|
|
59
64
|
#
|
|
65
|
+
# @param customer_id [String]
|
|
66
|
+
#
|
|
60
67
|
# @param amount [String] Amount to credit or debit
|
|
61
68
|
#
|
|
62
69
|
# @param entry_type [Symbol, Dodopayments::Models::CreditEntitlements::LedgerEntryType] Entry type: credit or debit
|
|
@@ -13,6 +13,11 @@ module Dodopayments
|
|
|
13
13
|
# @return [String]
|
|
14
14
|
required :credit_entitlement_id, String
|
|
15
15
|
|
|
16
|
+
# @!attribute customer_id
|
|
17
|
+
#
|
|
18
|
+
# @return [String]
|
|
19
|
+
required :customer_id, String
|
|
20
|
+
|
|
16
21
|
# @!attribute page_number
|
|
17
22
|
# Page number default is 0
|
|
18
23
|
#
|
|
@@ -31,9 +36,11 @@ module Dodopayments
|
|
|
31
36
|
# @return [Symbol, Dodopayments::Models::CreditEntitlements::BalanceListGrantsParams::Status, nil]
|
|
32
37
|
optional :status, enum: -> { Dodopayments::CreditEntitlements::BalanceListGrantsParams::Status }
|
|
33
38
|
|
|
34
|
-
# @!method initialize(credit_entitlement_id:, page_number: nil, page_size: nil, status: nil, request_options: {})
|
|
39
|
+
# @!method initialize(credit_entitlement_id:, customer_id:, page_number: nil, page_size: nil, status: nil, request_options: {})
|
|
35
40
|
# @param credit_entitlement_id [String]
|
|
36
41
|
#
|
|
42
|
+
# @param customer_id [String]
|
|
43
|
+
#
|
|
37
44
|
# @param page_number [Integer] Page number default is 0
|
|
38
45
|
#
|
|
39
46
|
# @param page_size [Integer] Page size default is 10 max is 100
|
|
@@ -13,6 +13,11 @@ module Dodopayments
|
|
|
13
13
|
# @return [String]
|
|
14
14
|
required :credit_entitlement_id, String
|
|
15
15
|
|
|
16
|
+
# @!attribute customer_id
|
|
17
|
+
#
|
|
18
|
+
# @return [String]
|
|
19
|
+
required :customer_id, String
|
|
20
|
+
|
|
16
21
|
# @!attribute end_date
|
|
17
22
|
# Filter by end date
|
|
18
23
|
#
|
|
@@ -44,13 +49,15 @@ module Dodopayments
|
|
|
44
49
|
# @return [String, nil]
|
|
45
50
|
optional :transaction_type, String
|
|
46
51
|
|
|
47
|
-
# @!method initialize(credit_entitlement_id:, end_date: nil, page_number: nil, page_size: nil, start_date: nil, transaction_type: nil, request_options: {})
|
|
52
|
+
# @!method initialize(credit_entitlement_id:, customer_id:, end_date: nil, page_number: nil, page_size: nil, start_date: nil, transaction_type: nil, request_options: {})
|
|
48
53
|
# Some parameter documentations has been truncated, see
|
|
49
54
|
# {Dodopayments::Models::CreditEntitlements::BalanceListLedgerParams} for more
|
|
50
55
|
# details.
|
|
51
56
|
#
|
|
52
57
|
# @param credit_entitlement_id [String]
|
|
53
58
|
#
|
|
59
|
+
# @param customer_id [String]
|
|
60
|
+
#
|
|
54
61
|
# @param end_date [Time] Filter by end date
|
|
55
62
|
#
|
|
56
63
|
# @param page_number [Integer] Page number default is 0
|
|
@@ -8,6 +8,11 @@ module Dodopayments
|
|
|
8
8
|
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
9
9
|
include Dodopayments::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
|
+
# @!attribute credit_entitlement_id
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :credit_entitlement_id, String
|
|
15
|
+
|
|
11
16
|
# @!attribute customer_id
|
|
12
17
|
# Filter by specific customer ID
|
|
13
18
|
#
|
|
@@ -26,7 +31,9 @@ module Dodopayments
|
|
|
26
31
|
# @return [Integer, nil]
|
|
27
32
|
optional :page_size, Integer
|
|
28
33
|
|
|
29
|
-
# @!method initialize(customer_id: nil, page_number: nil, page_size: nil, request_options: {})
|
|
34
|
+
# @!method initialize(credit_entitlement_id:, customer_id: nil, page_number: nil, page_size: nil, request_options: {})
|
|
35
|
+
# @param credit_entitlement_id [String]
|
|
36
|
+
#
|
|
30
37
|
# @param customer_id [String] Filter by specific customer ID
|
|
31
38
|
#
|
|
32
39
|
# @param page_number [Integer] Page number default is 0
|
|
@@ -13,8 +13,14 @@ module Dodopayments
|
|
|
13
13
|
# @return [String]
|
|
14
14
|
required :credit_entitlement_id, String
|
|
15
15
|
|
|
16
|
-
# @!
|
|
16
|
+
# @!attribute customer_id
|
|
17
|
+
#
|
|
18
|
+
# @return [String]
|
|
19
|
+
required :customer_id, String
|
|
20
|
+
|
|
21
|
+
# @!method initialize(credit_entitlement_id:, customer_id:, request_options: {})
|
|
17
22
|
# @param credit_entitlement_id [String]
|
|
23
|
+
# @param customer_id [String]
|
|
18
24
|
# @param request_options [Dodopayments::RequestOptions, Hash{Symbol=>Object}]
|
|
19
25
|
end
|
|
20
26
|
end
|
|
@@ -7,7 +7,13 @@ module Dodopayments
|
|
|
7
7
|
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Dodopayments::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
# @!
|
|
10
|
+
# @!attribute customer_id
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :customer_id, String
|
|
14
|
+
|
|
15
|
+
# @!method initialize(customer_id:, request_options: {})
|
|
16
|
+
# @param customer_id [String]
|
|
11
17
|
# @param request_options [Dodopayments::RequestOptions, Hash{Symbol=>Object}]
|
|
12
18
|
end
|
|
13
19
|
end
|
|
@@ -7,7 +7,13 @@ module Dodopayments
|
|
|
7
7
|
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Dodopayments::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
# @!
|
|
10
|
+
# @!attribute customer_id
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :customer_id, String
|
|
14
|
+
|
|
15
|
+
# @!method initialize(customer_id:, request_options: {})
|
|
16
|
+
# @param customer_id [String]
|
|
11
17
|
# @param request_options [Dodopayments::RequestOptions, Hash{Symbol=>Object}]
|
|
12
18
|
end
|
|
13
19
|
end
|
|
@@ -7,7 +7,13 @@ module Dodopayments
|
|
|
7
7
|
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Dodopayments::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
# @!
|
|
10
|
+
# @!attribute customer_id
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :customer_id, String
|
|
14
|
+
|
|
15
|
+
# @!method initialize(customer_id:, request_options: {})
|
|
16
|
+
# @param customer_id [String]
|
|
11
17
|
# @param request_options [Dodopayments::RequestOptions, Hash{Symbol=>Object}]
|
|
12
18
|
end
|
|
13
19
|
end
|
|
@@ -7,6 +7,11 @@ module Dodopayments
|
|
|
7
7
|
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Dodopayments::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute customer_id
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :customer_id, String
|
|
14
|
+
|
|
10
15
|
# @!attribute email
|
|
11
16
|
#
|
|
12
17
|
# @return [String, nil]
|
|
@@ -28,7 +33,9 @@ module Dodopayments
|
|
|
28
33
|
# @return [String, nil]
|
|
29
34
|
optional :phone_number, String, nil?: true
|
|
30
35
|
|
|
31
|
-
# @!method initialize(email: nil, metadata: nil, name: nil, phone_number: nil, request_options: {})
|
|
36
|
+
# @!method initialize(customer_id:, email: nil, metadata: nil, name: nil, phone_number: nil, request_options: {})
|
|
37
|
+
# @param customer_id [String]
|
|
38
|
+
#
|
|
32
39
|
# @param email [String, nil]
|
|
33
40
|
#
|
|
34
41
|
# @param metadata [Hash{Symbol=>String}, nil] Additional metadata for the customer
|
|
@@ -8,13 +8,20 @@ module Dodopayments
|
|
|
8
8
|
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
9
9
|
include Dodopayments::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
|
+
# @!attribute customer_id
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :customer_id, String
|
|
15
|
+
|
|
11
16
|
# @!attribute send_email
|
|
12
17
|
# If true, will send link to user.
|
|
13
18
|
#
|
|
14
19
|
# @return [Boolean, nil]
|
|
15
20
|
optional :send_email, Dodopayments::Internal::Type::Boolean
|
|
16
21
|
|
|
17
|
-
# @!method initialize(send_email: nil, request_options: {})
|
|
22
|
+
# @!method initialize(customer_id:, send_email: nil, request_options: {})
|
|
23
|
+
# @param customer_id [String]
|
|
24
|
+
#
|
|
18
25
|
# @param send_email [Boolean] If true, will send link to user.
|
|
19
26
|
#
|
|
20
27
|
# @param request_options [Dodopayments::RequestOptions, Hash{Symbol=>Object}]
|
|
@@ -8,7 +8,13 @@ module Dodopayments
|
|
|
8
8
|
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
9
9
|
include Dodopayments::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
|
-
# @!
|
|
11
|
+
# @!attribute customer_id
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :customer_id, String
|
|
15
|
+
|
|
16
|
+
# @!method initialize(customer_id:, request_options: {})
|
|
17
|
+
# @param customer_id [String]
|
|
12
18
|
# @param request_options [Dodopayments::RequestOptions, Hash{Symbol=>Object}]
|
|
13
19
|
end
|
|
14
20
|
end
|
|
@@ -9,6 +9,11 @@ module Dodopayments
|
|
|
9
9
|
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
10
10
|
include Dodopayments::Internal::Type::RequestParameters
|
|
11
11
|
|
|
12
|
+
# @!attribute customer_id
|
|
13
|
+
#
|
|
14
|
+
# @return [String]
|
|
15
|
+
required :customer_id, String
|
|
16
|
+
|
|
12
17
|
# @!attribute amount
|
|
13
18
|
#
|
|
14
19
|
# @return [Integer]
|
|
@@ -37,7 +42,9 @@ module Dodopayments
|
|
|
37
42
|
# @return [String, nil]
|
|
38
43
|
optional :reason, String, nil?: true
|
|
39
44
|
|
|
40
|
-
# @!method initialize(amount:, currency:, entry_type:, idempotency_key: nil, reason: nil, request_options: {})
|
|
45
|
+
# @!method initialize(customer_id:, amount:, currency:, entry_type:, idempotency_key: nil, reason: nil, request_options: {})
|
|
46
|
+
# @param customer_id [String]
|
|
47
|
+
#
|
|
41
48
|
# @param amount [Integer]
|
|
42
49
|
#
|
|
43
50
|
# @param currency [Symbol, Dodopayments::Models::Currency] Currency of the wallet to adjust
|
|
@@ -9,6 +9,11 @@ module Dodopayments
|
|
|
9
9
|
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
10
10
|
include Dodopayments::Internal::Type::RequestParameters
|
|
11
11
|
|
|
12
|
+
# @!attribute customer_id
|
|
13
|
+
#
|
|
14
|
+
# @return [String]
|
|
15
|
+
required :customer_id, String
|
|
16
|
+
|
|
12
17
|
# @!attribute currency
|
|
13
18
|
# Optional currency filter
|
|
14
19
|
#
|
|
@@ -25,7 +30,9 @@ module Dodopayments
|
|
|
25
30
|
# @return [Integer, nil]
|
|
26
31
|
optional :page_size, Integer
|
|
27
32
|
|
|
28
|
-
# @!method initialize(currency: nil, page_number: nil, page_size: nil, request_options: {})
|
|
33
|
+
# @!method initialize(customer_id:, currency: nil, page_number: nil, page_size: nil, request_options: {})
|
|
34
|
+
# @param customer_id [String]
|
|
35
|
+
#
|
|
29
36
|
# @param currency [Symbol, Dodopayments::Models::Currency] Optional currency filter
|
|
30
37
|
#
|
|
31
38
|
# @param page_number [Integer]
|
|
@@ -7,7 +7,13 @@ module Dodopayments
|
|
|
7
7
|
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Dodopayments::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
# @!
|
|
10
|
+
# @!attribute discount_id
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :discount_id, String
|
|
14
|
+
|
|
15
|
+
# @!method initialize(discount_id:, request_options: {})
|
|
16
|
+
# @param discount_id [String]
|
|
11
17
|
# @param request_options [Dodopayments::RequestOptions, Hash{Symbol=>Object}]
|
|
12
18
|
end
|
|
13
19
|
end
|
|
@@ -7,7 +7,13 @@ module Dodopayments
|
|
|
7
7
|
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Dodopayments::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
# @!
|
|
10
|
+
# @!attribute code
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :code, String
|
|
14
|
+
|
|
15
|
+
# @!method initialize(code:, request_options: {})
|
|
16
|
+
# @param code [String]
|
|
11
17
|
# @param request_options [Dodopayments::RequestOptions, Hash{Symbol=>Object}]
|
|
12
18
|
end
|
|
13
19
|
end
|
|
@@ -7,7 +7,13 @@ module Dodopayments
|
|
|
7
7
|
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Dodopayments::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
# @!
|
|
10
|
+
# @!attribute discount_id
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :discount_id, String
|
|
14
|
+
|
|
15
|
+
# @!method initialize(discount_id:, request_options: {})
|
|
16
|
+
# @param discount_id [String]
|
|
11
17
|
# @param request_options [Dodopayments::RequestOptions, Hash{Symbol=>Object}]
|
|
12
18
|
end
|
|
13
19
|
end
|
|
@@ -7,6 +7,11 @@ module Dodopayments
|
|
|
7
7
|
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Dodopayments::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute discount_id
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :discount_id, String
|
|
14
|
+
|
|
10
15
|
# @!attribute amount
|
|
11
16
|
# If present, update the discount amount:
|
|
12
17
|
#
|
|
@@ -68,10 +73,12 @@ module Dodopayments
|
|
|
68
73
|
# @return [Integer, nil]
|
|
69
74
|
optional :usage_limit, Integer, nil?: true
|
|
70
75
|
|
|
71
|
-
# @!method initialize(amount: nil, code: nil, expires_at: nil, name: nil, preserve_on_plan_change: nil, restricted_to: nil, subscription_cycles: nil, type: nil, usage_limit: nil, request_options: {})
|
|
76
|
+
# @!method initialize(discount_id:, amount: nil, code: nil, expires_at: nil, name: nil, preserve_on_plan_change: nil, restricted_to: nil, subscription_cycles: nil, type: nil, usage_limit: nil, request_options: {})
|
|
72
77
|
# Some parameter documentations has been truncated, see
|
|
73
78
|
# {Dodopayments::Models::DiscountUpdateParams} for more details.
|
|
74
79
|
#
|
|
80
|
+
# @param discount_id [String]
|
|
81
|
+
#
|
|
75
82
|
# @param amount [Integer, nil] If present, update the discount amount:
|
|
76
83
|
#
|
|
77
84
|
# @param code [String, nil] If present, update the discount code (uppercase).
|
|
@@ -7,7 +7,13 @@ module Dodopayments
|
|
|
7
7
|
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Dodopayments::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
-
# @!
|
|
10
|
+
# @!attribute dispute_id
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :dispute_id, String
|
|
14
|
+
|
|
15
|
+
# @!method initialize(dispute_id:, request_options: {})
|
|
16
|
+
# @param dispute_id [String]
|
|
11
17
|
# @param request_options [Dodopayments::RequestOptions, Hash{Symbol=>Object}]
|
|
12
18
|
end
|
|
13
19
|
end
|
|
@@ -8,7 +8,13 @@ module Dodopayments
|
|
|
8
8
|
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
9
9
|
include Dodopayments::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
|
-
# @!
|
|
11
|
+
# @!attribute payment_id
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :payment_id, String
|
|
15
|
+
|
|
16
|
+
# @!method initialize(payment_id:, request_options: {})
|
|
17
|
+
# @param payment_id [String]
|
|
12
18
|
# @param request_options [Dodopayments::RequestOptions, Hash{Symbol=>Object}]
|
|
13
19
|
end
|
|
14
20
|
end
|
|
@@ -8,7 +8,13 @@ module Dodopayments
|
|
|
8
8
|
extend Dodopayments::Internal::Type::RequestParameters::Converter
|
|
9
9
|
include Dodopayments::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
|
-
# @!
|
|
11
|
+
# @!attribute refund_id
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :refund_id, String
|
|
15
|
+
|
|
16
|
+
# @!method initialize(refund_id:, request_options: {})
|
|
17
|
+
# @param refund_id [String]
|
|
12
18
|
# @param request_options [Dodopayments::RequestOptions, Hash{Symbol=>Object}]
|
|
13
19
|
end
|
|
14
20
|
end
|