recurly 4.83.0 → 4.85.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 -344
- data/GETTING_STARTED.md +1 -1
- data/lib/recurly/client/operations.rb +56 -0
- data/lib/recurly/requests/dunning_campaign_create.rb +26 -0
- data/lib/recurly/requests/dunning_campaign_update.rb +30 -0
- data/lib/recurly/requests/dunning_cycle_create.rb +42 -0
- data/lib/recurly/requests/dunning_interval_create.rb +18 -0
- data/lib/recurly/requests/subscription_create.rb +4 -0
- data/lib/recurly/requests/subscription_purchase.rb +12 -0
- data/lib/recurly/requests/subscription_update.rb +4 -0
- data/lib/recurly/resources/dunning_campaign_email_template.rb +22 -0
- data/lib/recurly/resources/dunning_interval.rb +4 -0
- data/lib/recurly/resources/external_product_mini.rb +22 -0
- data/lib/recurly/resources/external_subscription.rb +8 -0
- data/lib/recurly/version.rb +1 -1
- data/openapi/api.yaml +656 -314
- metadata +9 -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 DunningCampaignEmailTemplate < Resource
|
|
8
|
+
|
|
9
|
+
# @!attribute id
|
|
10
|
+
# @return [String] The id to assign under `intervals[].email_template_id`.
|
|
11
|
+
define_attribute :id, String
|
|
12
|
+
|
|
13
|
+
# @!attribute name
|
|
14
|
+
# @return [String] Template name.
|
|
15
|
+
define_attribute :name, String
|
|
16
|
+
|
|
17
|
+
# @!attribute type
|
|
18
|
+
# @return [String] The root template this custom template replaces, e.g. `payment_declined`, `invoice_past_due`, `post_trial_payment_declined`, `subscription_canceled_nonpayment`.
|
|
19
|
+
define_attribute :type, String
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -13,6 +13,10 @@ module Recurly
|
|
|
13
13
|
# @!attribute email_template
|
|
14
14
|
# @return [String] Email template being used.
|
|
15
15
|
define_attribute :email_template, String
|
|
16
|
+
|
|
17
|
+
# @!attribute email_template_id
|
|
18
|
+
# @return [String] The id of the custom email template assigned to this interval, from `GET /dunning_campaigns/email_templates`. `null` means the system default template for this interval. Accepted on write; round-tripped on read.
|
|
19
|
+
define_attribute :email_template_id, String
|
|
16
20
|
end
|
|
17
21
|
end
|
|
18
22
|
end
|
|
@@ -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 ExternalProductMini < Resource
|
|
8
|
+
|
|
9
|
+
# @!attribute id
|
|
10
|
+
# @return [String] External product ID
|
|
11
|
+
define_attribute :id, String
|
|
12
|
+
|
|
13
|
+
# @!attribute name
|
|
14
|
+
# @return [String] The merchant-facing name of the external product.
|
|
15
|
+
define_attribute :name, String
|
|
16
|
+
|
|
17
|
+
# @!attribute object
|
|
18
|
+
# @return [String] Object type
|
|
19
|
+
define_attribute :object, String
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -42,6 +42,10 @@ module Recurly
|
|
|
42
42
|
# @return [Array[ExternalPaymentPhase]] The phases of the external subscription payment lifecycle.
|
|
43
43
|
define_attribute :external_payment_phases, Array, { :item_type => :ExternalPaymentPhase }
|
|
44
44
|
|
|
45
|
+
# @!attribute external_product
|
|
46
|
+
# @return [ExternalProductMini] Just the important parts.
|
|
47
|
+
define_attribute :external_product, :ExternalProductMini
|
|
48
|
+
|
|
45
49
|
# @!attribute external_product_reference
|
|
46
50
|
# @return [ExternalProductReferenceMini] External Product Reference details
|
|
47
51
|
define_attribute :external_product_reference, :ExternalProductReferenceMini
|
|
@@ -66,6 +70,10 @@ module Recurly
|
|
|
66
70
|
# @return [String] Object type
|
|
67
71
|
define_attribute :object, String
|
|
68
72
|
|
|
73
|
+
# @!attribute plan
|
|
74
|
+
# @return [PlanMini] Just the important parts.
|
|
75
|
+
define_attribute :plan, :PlanMini
|
|
76
|
+
|
|
69
77
|
# @!attribute quantity
|
|
70
78
|
# @return [Integer] An indication of the quantity of a subscribed item's quantity.
|
|
71
79
|
define_attribute :quantity, Integer
|
data/lib/recurly/version.rb
CHANGED