recurly 4.9.0 → 4.13.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 +50 -0
- data/GETTING_STARTED.md +9 -1
- data/lib/recurly/client/operations.rb +46 -3
- data/lib/recurly/client.rb +24 -4
- data/lib/recurly/connection_pool.rb +11 -9
- data/lib/recurly/errors/api_errors.rb +2 -0
- 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/add_on_create.rb +2 -2
- data/lib/recurly/requests/add_on_pricing.rb +4 -0
- data/lib/recurly/requests/billing_info_create.rb +24 -0
- data/lib/recurly/requests/invoice_collect.rb +1 -1
- data/lib/recurly/requests/line_item_create.rb +6 -2
- data/lib/recurly/requests/plan_pricing.rb +4 -0
- data/lib/recurly/requests/pricing.rb +4 -0
- data/lib/recurly/requests/purchase_create.rb +1 -1
- data/lib/recurly/requests/subscription_change_create.rb +5 -1
- data/lib/recurly/requests/subscription_create.rb +5 -1
- data/lib/recurly/requests/subscription_purchase.rb +4 -0
- data/lib/recurly/requests/subscription_update.rb +5 -1
- data/lib/recurly/resources/account.rb +4 -0
- data/lib/recurly/resources/account_invoice_template.rb +18 -0
- data/lib/recurly/resources/add_on_pricing.rb +4 -0
- data/lib/recurly/resources/invoice.rb +1 -1
- data/lib/recurly/resources/line_item.rb +7 -3
- data/lib/recurly/resources/plan_pricing.rb +4 -0
- data/lib/recurly/resources/pricing.rb +4 -0
- data/lib/recurly/resources/subscription_change.rb +4 -0
- data/lib/recurly/version.rb +1 -1
- data/openapi/api.yaml +251 -20
- metadata +4 -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
|
@@ -63,7 +67,7 @@ module Recurly
|
|
63
67
|
define_attribute :end_date, DateTime
|
64
68
|
|
65
69
|
# @!attribute external_sku
|
66
|
-
# @return [String] Optional Stock Keeping Unit assigned to an item. Available when the Credit Invoices
|
70
|
+
# @return [String] Optional Stock Keeping Unit assigned to an item. Available when the Credit Invoices feature is enabled.
|
67
71
|
define_attribute :external_sku, String
|
68
72
|
|
69
73
|
# @!attribute id
|
@@ -79,11 +83,11 @@ module Recurly
|
|
79
83
|
define_attribute :invoice_number, String
|
80
84
|
|
81
85
|
# @!attribute item_code
|
82
|
-
# @return [String] Unique code to identify an item. Available when the Credit Invoices
|
86
|
+
# @return [String] Unique code to identify an item. Available when the Credit Invoices feature is enabled.
|
83
87
|
define_attribute :item_code, String
|
84
88
|
|
85
89
|
# @!attribute item_id
|
86
|
-
# @return [String] System-generated unique identifier for an item. Available when the Credit Invoices
|
90
|
+
# @return [String] System-generated unique identifier for an item. Available when the Credit Invoices feature is enabled.
|
87
91
|
define_attribute :item_id, String
|
88
92
|
|
89
93
|
# @!attribute legacy_category
|
@@ -14,6 +14,10 @@ module Recurly
|
|
14
14
|
# @return [Float] Amount of one-time setup fee automatically charged at the beginning of a subscription billing cycle. For subscription plans with a trial, the setup fee will be charged at the time of signup. Setup fees do not increase with the quantity of a subscription plan.
|
15
15
|
define_attribute :setup_fee, Float
|
16
16
|
|
17
|
+
# @!attribute tax_inclusive
|
18
|
+
# @return [Boolean] Determines whether or not tax is included in the unit amount. The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing feature) must be enabled to use this flag.
|
19
|
+
define_attribute :tax_inclusive, :Boolean
|
20
|
+
|
17
21
|
# @!attribute unit_amount
|
18
22
|
# @return [Float] Unit price
|
19
23
|
define_attribute :unit_amount, Float
|
@@ -10,6 +10,10 @@ module Recurly
|
|
10
10
|
# @return [String] 3-letter ISO 4217 currency code.
|
11
11
|
define_attribute :currency, String
|
12
12
|
|
13
|
+
# @!attribute tax_inclusive
|
14
|
+
# @return [Boolean] Determines whether or not tax is included in the unit amount. The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing feature) must be enabled to use this flag.
|
15
|
+
define_attribute :tax_inclusive, :Boolean
|
16
|
+
|
13
17
|
# @!attribute unit_amount
|
14
18
|
# @return [Float] Unit price
|
15
19
|
define_attribute :unit_amount, Float
|
@@ -66,6 +66,10 @@ module Recurly
|
|
66
66
|
# @return [String] The ID of the subscription that is going to be changed.
|
67
67
|
define_attribute :subscription_id, String
|
68
68
|
|
69
|
+
# @!attribute tax_inclusive
|
70
|
+
# @return [Boolean] Determines whether or not tax is included in the unit amount. The Tax Inclusive Pricing feature (separate from the Mixed Tax Pricing feature) must be enabled to use this flag.
|
71
|
+
define_attribute :tax_inclusive, :Boolean
|
72
|
+
|
69
73
|
# @!attribute unit_amount
|
70
74
|
# @return [Float] Unit amount
|
71
75
|
define_attribute :unit_amount, Float
|
data/lib/recurly/version.rb
CHANGED