recurly 4.6.0 → 4.10.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/.travis.yml +3 -1
- data/CHANGELOG.md +48 -0
- data/GETTING_STARTED.md +1 -1
- data/lib/recurly/client/operations.rb +59 -0
- data/lib/recurly/client.rb +12 -4
- data/lib/recurly/connection_pool.rb +11 -9
- data/lib/recurly/requests/account_create.rb +4 -0
- data/lib/recurly/requests/account_purchase.rb +4 -0
- data/lib/recurly/requests/account_update.rb +4 -0
- data/lib/recurly/requests/billing_info_create.rb +24 -0
- data/lib/recurly/requests/dunning_campaigns_bulk_update.rb +18 -0
- data/lib/recurly/requests/plan_create.rb +4 -0
- data/lib/recurly/requests/plan_update.rb +4 -0
- data/lib/recurly/requests/subscription_change_create.rb +1 -1
- data/lib/recurly/requests/subscription_change_shipping_create.rb +8 -0
- data/lib/recurly/requests/subscription_pause.rb +1 -1
- data/lib/recurly/requests/subscription_update.rb +4 -0
- data/lib/recurly/resources/account.rb +4 -0
- data/lib/recurly/resources/account_mini.rb +4 -0
- data/lib/recurly/resources/dunning_campaign.rb +50 -0
- data/lib/recurly/resources/dunning_campaigns_bulk_update_response.rb +18 -0
- data/lib/recurly/resources/dunning_cycle.rb +58 -0
- data/lib/recurly/resources/dunning_interval.rb +18 -0
- data/lib/recurly/resources/invoice.rb +4 -0
- data/lib/recurly/resources/line_item.rb +4 -0
- data/lib/recurly/resources/plan.rb +4 -0
- data/lib/recurly/resources/subscription.rb +16 -0
- data/lib/recurly/version.rb +1 -1
- data/openapi/api.yaml +488 -6
- metadata +8 -3
@@ -34,6 +34,10 @@ module Recurly
|
|
34
34
|
# @return [Integer] Used by Avalara for Communications taxes. The transaction type in combination with the service type describe how the line item is taxed. Refer to [the documentation](https://help.avalara.com/AvaTax_for_Communications/Tax_Calculation/AvaTax_for_Communications_Tax_Engine/Mapping_Resources/TM_00115_AFC_Modules_Corresponding_Transaction_Types) for more available t/s types.
|
35
35
|
define_attribute :avalara_transaction_type, Integer
|
36
36
|
|
37
|
+
# @!attribute bill_for_account_id
|
38
|
+
# @return [String] The UUID of the account responsible for originating the line item.
|
39
|
+
define_attribute :bill_for_account_id, String
|
40
|
+
|
37
41
|
# @!attribute created_at
|
38
42
|
# @return [DateTime] When the line item was created.
|
39
43
|
define_attribute :created_at, DateTime
|
@@ -46,6 +46,10 @@ module Recurly
|
|
46
46
|
# @return [String] Optional description, not displayed.
|
47
47
|
define_attribute :description, String
|
48
48
|
|
49
|
+
# @!attribute dunning_campaign_id
|
50
|
+
# @return [String] Unique ID to identify a dunning campaign. Available when the Dunning Campaigns feature is enabled. Used to specify if a non-default dunning campaign should be assigned to this plan. For sites without multiple dunning campaigns enabled, the default dunning campaign will always be used.
|
51
|
+
define_attribute :dunning_campaign_id, String
|
52
|
+
|
49
53
|
# @!attribute hosted_pages
|
50
54
|
# @return [PlanHostedPages] Hosted pages settings
|
51
55
|
define_attribute :hosted_pages, :PlanHostedPages
|
@@ -86,6 +86,10 @@ module Recurly
|
|
86
86
|
# @return [DateTime] Expires at
|
87
87
|
define_attribute :expires_at, DateTime
|
88
88
|
|
89
|
+
# @!attribute gateway_code
|
90
|
+
# @return [String] If present, this subscription's transactions will use the payment gateway with this code.
|
91
|
+
define_attribute :gateway_code, String
|
92
|
+
|
89
93
|
# @!attribute id
|
90
94
|
# @return [String] Subscription ID
|
91
95
|
define_attribute :id, String
|
@@ -146,10 +150,22 @@ module Recurly
|
|
146
150
|
# @return [Float] Estimated total, before tax.
|
147
151
|
define_attribute :subtotal, Float
|
148
152
|
|
153
|
+
# @!attribute tax
|
154
|
+
# @return [Float] Estimated tax
|
155
|
+
define_attribute :tax, Float
|
156
|
+
|
157
|
+
# @!attribute tax_info
|
158
|
+
# @return [TaxInfo] Tax info
|
159
|
+
define_attribute :tax_info, :TaxInfo
|
160
|
+
|
149
161
|
# @!attribute terms_and_conditions
|
150
162
|
# @return [String] Terms and conditions
|
151
163
|
define_attribute :terms_and_conditions, String
|
152
164
|
|
165
|
+
# @!attribute total
|
166
|
+
# @return [Float] Estimated total
|
167
|
+
define_attribute :total, Float
|
168
|
+
|
153
169
|
# @!attribute total_billing_cycles
|
154
170
|
# @return [Integer] The number of cycles/billing periods in a term. When `remaining_billing_cycles=0`, if `auto_renew=true` the subscription will renew and a new term will begin, otherwise the subscription will expire.
|
155
171
|
define_attribute :total_billing_cycles, Integer
|
data/lib/recurly/version.rb
CHANGED