chargebee 2.6.7 → 2.6.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d43cfd517b221d62c391b308fcc6267172ac996d
4
- data.tar.gz: 2216894ca1372be37ee0def9841ce68d3271f33a
3
+ metadata.gz: e72845bfae886cfae200f19c93d6274a3d4b3715
4
+ data.tar.gz: 0e763b87a880276de62533dc2f52b120284e5a66
5
5
  SHA512:
6
- metadata.gz: 4e9a0d0d2b633f99c9db97bbc090a9f11a224c0ec7cbec375fa6541c2387ae1fd76b6e040bf43275809c1e986e942c33cbf8ff6f4c066d73db59f8a2d0e4f996
7
- data.tar.gz: ec2b7d8a6923cbb70d7f7d34a1f392f821df35baaee33fa70426c416112523a2097c709026e421dabcc2dcc78b71f73d1a1e19febc13e5e365ad829347f103c0
6
+ metadata.gz: f391854b80eb235c4b6bbddc8fd8eee332bfd5d27708bc02823d6f7114ebcb3a92cf48315493e675f9032971484bc59b9d61a937c6fac578d6d41b87e61e8a37
7
+ data.tar.gz: eb7f75bdfc5bedf18af1aed1b43779255750693624f2be449a18b6477dbe951c94e4484213cf79523aa8185d648f02aaa60465cecb085ded8d8a412305d27629
@@ -1,3 +1,13 @@
1
+ ### v2.6.8 (2019-08-07)
2
+ * * *
3
+
4
+ * New attributes tax_amount_in_local_currency and local_currency_code have been added in line_item_tax sub-resource of credit_note, credit_note_estimate, invoice, invoice_estimate, order and quote resources.
5
+ * New attributes sub_total_in_local_currency, total_in_local_currency and local_currency_code have been added in credit_note and invoice resources.
6
+ * New input parameter gw_payment_method_id has been added in create_a_customer, collect_payment_for_customer, create_using_payment_intent, create_a_subscription, create_subscription_for_customer and update_a_subscription api.
7
+ * New attributes name, invoice_id and notes have been added in quote resource.
8
+ * New input parameters name, notes and expires_at have been added in create_a_quote_for_a_new_subscription, create_a_quote_for_update_subscription and create_a_quote_for_one-time_charges api.
9
+ * New input parameters id, auto_collection and po_number have been added in convert_a_quote api.
10
+
1
11
  ### v2.6.7 (2019-07-22)
2
12
  * * *
3
13
 
@@ -4,8 +4,8 @@ Gem::Specification.new do |s|
4
4
  s.rubygems_version = '1.3.5'
5
5
  s.required_ruby_version = '>= 1.9.3'
6
6
  s.name = 'chargebee'
7
- s.version = '2.6.7'
8
- s.date = '2019-07-22'
7
+ s.version = '2.6.8'
8
+ s.date = '2019-08-07'
9
9
 
10
10
  s.summary = "Ruby client for Chargebee API."
11
11
  s.description = "Subscription Billing - Simple. Secure. Affordable. More details at www.chargebee.com."
@@ -45,7 +45,7 @@ require File.dirname(__FILE__) + '/chargebee/models/contact.rb'
45
45
 
46
46
  module ChargeBee
47
47
 
48
- VERSION = '2.6.7'
48
+ VERSION = '2.6.8'
49
49
 
50
50
  @@default_env = nil
51
51
  @@verify_ca_certs = true
@@ -22,7 +22,7 @@ module ChargeBee
22
22
  end
23
23
 
24
24
  class LineItemTax < Model
25
- attr_accessor :line_item_id, :tax_name, :tax_rate, :is_partial_tax_applied, :is_non_compliance_tax, :taxable_amount, :tax_amount, :tax_juris_type, :tax_juris_name, :tax_juris_code
25
+ attr_accessor :line_item_id, :tax_name, :tax_rate, :is_partial_tax_applied, :is_non_compliance_tax, :taxable_amount, :tax_amount, :tax_juris_type, :tax_juris_name, :tax_juris_code, :tax_amount_in_local_currency, :local_currency_code
26
26
  end
27
27
 
28
28
  class LinkedRefund < Model
@@ -35,9 +35,10 @@ module ChargeBee
35
35
 
36
36
  attr_accessor :id, :customer_id, :subscription_id, :reference_invoice_id, :type, :reason_code,
37
37
  :status, :vat_number, :date, :price_type, :currency_code, :total, :amount_allocated, :amount_refunded,
38
- :amount_available, :refunded_at, :voided_at, :resource_version, :updated_at, :sub_total, :round_off_amount,
39
- :fractional_correction, :line_items, :discounts, :line_item_discounts, :line_item_tiers, :taxes,
40
- :line_item_taxes, :linked_refunds, :allocations, :deleted
38
+ :amount_available, :refunded_at, :voided_at, :resource_version, :updated_at, :sub_total, :sub_total_in_local_currency,
39
+ :total_in_local_currency, :local_currency_code, :round_off_amount, :fractional_correction, :line_items,
40
+ :discounts, :line_item_discounts, :line_item_tiers, :taxes, :line_item_taxes, :linked_refunds,
41
+ :allocations, :deleted
41
42
 
42
43
  # OPERATIONS
43
44
  #-----------
@@ -14,7 +14,7 @@ module ChargeBee
14
14
  end
15
15
 
16
16
  class LineItemTax < Model
17
- attr_accessor :line_item_id, :tax_name, :tax_rate, :is_partial_tax_applied, :is_non_compliance_tax, :taxable_amount, :tax_amount, :tax_juris_type, :tax_juris_name, :tax_juris_code
17
+ attr_accessor :line_item_id, :tax_name, :tax_rate, :is_partial_tax_applied, :is_non_compliance_tax, :taxable_amount, :tax_amount, :tax_juris_type, :tax_juris_name, :tax_juris_code, :tax_amount_in_local_currency, :local_currency_code
18
18
  end
19
19
 
20
20
  class LineItemDiscount < Model
@@ -18,7 +18,7 @@ module ChargeBee
18
18
  end
19
19
 
20
20
  class LineItemTax < Model
21
- attr_accessor :line_item_id, :tax_name, :tax_rate, :is_partial_tax_applied, :is_non_compliance_tax, :taxable_amount, :tax_amount, :tax_juris_type, :tax_juris_name, :tax_juris_code
21
+ attr_accessor :line_item_id, :tax_name, :tax_rate, :is_partial_tax_applied, :is_non_compliance_tax, :taxable_amount, :tax_amount, :tax_juris_type, :tax_juris_name, :tax_juris_code, :tax_amount_in_local_currency, :local_currency_code
22
22
  end
23
23
 
24
24
  class LineItemTier < Model
@@ -64,11 +64,12 @@ module ChargeBee
64
64
  attr_accessor :id, :po_number, :customer_id, :subscription_id, :recurring, :status, :vat_number,
65
65
  :price_type, :date, :due_date, :net_term_days, :currency_code, :total, :amount_paid, :amount_adjusted,
66
66
  :write_off_amount, :credits_applied, :amount_due, :paid_at, :dunning_status, :next_retry_at,
67
- :voided_at, :resource_version, :updated_at, :sub_total, :tax, :first_invoice, :has_advance_charges,
68
- :term_finalized, :is_gifted, :expected_payment_date, :amount_to_collect, :round_off_amount,
69
- :line_items, :discounts, :line_item_discounts, :taxes, :line_item_taxes, :line_item_tiers, :linked_payments,
70
- :dunning_attempts, :applied_credits, :adjustment_credit_notes, :issued_credit_notes, :linked_orders,
71
- :notes, :shipping_address, :billing_address, :payment_owner, :deleted
67
+ :voided_at, :resource_version, :updated_at, :sub_total, :sub_total_in_local_currency, :total_in_local_currency,
68
+ :local_currency_code, :tax, :first_invoice, :has_advance_charges, :term_finalized, :is_gifted,
69
+ :expected_payment_date, :amount_to_collect, :round_off_amount, :line_items, :discounts, :line_item_discounts,
70
+ :taxes, :line_item_taxes, :line_item_tiers, :linked_payments, :dunning_attempts, :applied_credits,
71
+ :adjustment_credit_notes, :issued_credit_notes, :linked_orders, :notes, :shipping_address, :billing_address,
72
+ :payment_owner, :deleted
72
73
 
73
74
  # OPERATIONS
74
75
  #-----------
@@ -14,7 +14,7 @@ module ChargeBee
14
14
  end
15
15
 
16
16
  class LineItemTax < Model
17
- attr_accessor :line_item_id, :tax_name, :tax_rate, :is_partial_tax_applied, :is_non_compliance_tax, :taxable_amount, :tax_amount, :tax_juris_type, :tax_juris_name, :tax_juris_code
17
+ attr_accessor :line_item_id, :tax_name, :tax_rate, :is_partial_tax_applied, :is_non_compliance_tax, :taxable_amount, :tax_amount, :tax_juris_type, :tax_juris_name, :tax_juris_code, :tax_amount_in_local_currency, :local_currency_code
18
18
  end
19
19
 
20
20
  class LineItemTier < Model
@@ -14,7 +14,7 @@ module ChargeBee
14
14
  end
15
15
 
16
16
  class LineItemTax < Model
17
- attr_accessor :line_item_id, :tax_name, :tax_rate, :is_partial_tax_applied, :is_non_compliance_tax, :taxable_amount, :tax_amount, :tax_juris_type, :tax_juris_name, :tax_juris_code
17
+ attr_accessor :line_item_id, :tax_name, :tax_rate, :is_partial_tax_applied, :is_non_compliance_tax, :taxable_amount, :tax_amount, :tax_juris_type, :tax_juris_name, :tax_juris_code, :tax_amount_in_local_currency, :local_currency_code
18
18
  end
19
19
 
20
20
  class LineItemDiscount < Model
@@ -18,7 +18,7 @@ module ChargeBee
18
18
  end
19
19
 
20
20
  class LineItemTax < Model
21
- attr_accessor :line_item_id, :tax_name, :tax_rate, :is_partial_tax_applied, :is_non_compliance_tax, :taxable_amount, :tax_amount, :tax_juris_type, :tax_juris_name, :tax_juris_code
21
+ attr_accessor :line_item_id, :tax_name, :tax_rate, :is_partial_tax_applied, :is_non_compliance_tax, :taxable_amount, :tax_amount, :tax_juris_type, :tax_juris_name, :tax_juris_code, :tax_amount_in_local_currency, :local_currency_code
22
22
  end
23
23
 
24
24
  class ShippingAddress < Model
@@ -29,10 +29,10 @@ module ChargeBee
29
29
  attr_accessor :first_name, :last_name, :email, :company, :phone, :line1, :line2, :line3, :city, :state_code, :state, :country, :zip, :validation_status
30
30
  end
31
31
 
32
- attr_accessor :id, :po_number, :customer_id, :subscription_id, :status, :operation_type, :vat_number,
33
- :price_type, :valid_till, :date, :sub_total, :total, :credits_applied, :amount_paid, :amount_due,
34
- :resource_version, :updated_at, :currency_code, :line_items, :discounts, :line_item_discounts,
35
- :taxes, :line_item_taxes, :shipping_address, :billing_address
32
+ attr_accessor :id, :name, :po_number, :customer_id, :subscription_id, :invoice_id, :status,
33
+ :operation_type, :vat_number, :price_type, :valid_till, :date, :sub_total, :total, :credits_applied,
34
+ :amount_paid, :amount_due, :resource_version, :updated_at, :currency_code, :line_items, :discounts,
35
+ :line_item_discounts, :taxes, :line_item_taxes, :notes, :shipping_address, :billing_address
36
36
 
37
37
  # OPERATIONS
38
38
  #-----------
@@ -57,8 +57,8 @@ module ChargeBee
57
57
  Request.send_list_request('get', uri_path("quotes"), params, env, headers)
58
58
  end
59
59
 
60
- def self.convert(id, env=nil, headers={})
61
- Request.send('post', uri_path("quotes",id.to_s,"convert"), {}, env, headers)
60
+ def self.convert(id, params={}, env=nil, headers={})
61
+ Request.send('post', uri_path("quotes",id.to_s,"convert"), params, env, headers)
62
62
  end
63
63
 
64
64
  def self.update_status(id, params, env=nil, headers={})
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chargebee
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.7
4
+ version: 2.6.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rajaraman S
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-07-22 00:00:00.000000000 Z
12
+ date: 2019-08-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_pure