recurly 4.6.0 → 4.10.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Recurly
2
- VERSION = "4.6.0"
2
+ VERSION = "4.10.0"
3
3
  end