recurly 4.64.0 → 4.66.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.
- checksums.yaml +4 -4
- data/.bumpversion.cfg +1 -1
- data/CHANGELOG.md +22 -0
- data/GETTING_STARTED.md +1 -1
- data/lib/recurly/client/operations.rb +55 -14
- data/lib/recurly/requests/account_acquisition_update.rb +4 -0
- data/lib/recurly/requests/billing_info_create.rb +4 -0
- data/lib/recurly/requests/external_product_reference_base.rb +2 -2
- data/lib/recurly/requests/external_product_reference_create.rb +2 -2
- data/lib/recurly/requests/external_product_reference_update.rb +2 -2
- data/lib/recurly/requests/plan_create.rb +6 -2
- data/lib/recurly/requests/plan_pricing.rb +6 -2
- data/lib/recurly/requests/plan_ramp_pricing.rb +4 -0
- data/lib/recurly/requests/plan_setup_pricing_create.rb +18 -0
- data/lib/recurly/requests/plan_update.rb +7 -3
- data/lib/recurly/requests/pricing.rb +1 -1
- data/lib/recurly/requests/subscription_change_create.rb +4 -0
- data/lib/recurly/requests/subscription_create.rb +4 -0
- data/lib/recurly/requests/subscription_purchase.rb +4 -0
- data/lib/recurly/requests/subscription_shipping_create.rb +4 -0
- data/lib/recurly/requests/subscription_shipping_purchase.rb +4 -0
- data/lib/recurly/requests/subscription_update.rb +4 -0
- data/lib/recurly/resources/account_acquisition.rb +4 -0
- data/lib/recurly/resources/plan.rb +29 -1
- data/lib/recurly/resources/plan_pricing.rb +6 -2
- data/lib/recurly/resources/plan_ramp_pricing.rb +4 -0
- data/lib/recurly/resources/plan_setup_pricing.rb +18 -0
- data/lib/recurly/resources/price_segment.rb +22 -0
- data/lib/recurly/resources/pricing.rb +1 -1
- data/lib/recurly/resources/subscription.rb +4 -0
- data/lib/recurly/version.rb +1 -1
- data/openapi/api.yaml +418 -554
- metadata +6 -3
@@ -0,0 +1,22 @@
|
|
1
|
+
# This file is automatically created by Recurly's OpenAPI generation process
|
2
|
+
# and thus any edits you make by hand will be lost. If you wish to make a
|
3
|
+
# change to this file, please create a Github issue explaining the changes you
|
4
|
+
# need and we will usher them to the appropriate places.
|
5
|
+
module Recurly
|
6
|
+
module Resources
|
7
|
+
class PriceSegment < Resource
|
8
|
+
|
9
|
+
# @!attribute code
|
10
|
+
# @return [String] The price segment code, e.g. `my-price-segment`.
|
11
|
+
define_attribute :code, String
|
12
|
+
|
13
|
+
# @!attribute id
|
14
|
+
# @return [String] The price segment ID, e.g. `e28zov4fw0v2`.
|
15
|
+
define_attribute :id, String
|
16
|
+
|
17
|
+
# @!attribute object
|
18
|
+
# @return [String] Object type
|
19
|
+
define_attribute :object, String
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -138,6 +138,10 @@ module Recurly
|
|
138
138
|
# @return [String] For manual invoicing, this identifies the PO number associated with the subscription.
|
139
139
|
define_attribute :po_number, String
|
140
140
|
|
141
|
+
# @!attribute price_segment_id
|
142
|
+
# @return [String] The price segment ID or code. For ID no prefix is used e.g. `e28zov4fw0v2`. For requests, the code can also be used. Use prefix `code-`, e.g. `code-gold`.
|
143
|
+
define_attribute :price_segment_id, String
|
144
|
+
|
141
145
|
# @!attribute quantity
|
142
146
|
# @return [Integer] Subscription quantity
|
143
147
|
define_attribute :quantity, Integer
|
data/lib/recurly/version.rb
CHANGED