chargebee 1.3.8 → 1.3.9

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.
@@ -1,9 +1,15 @@
1
+ ### v1.3.9 (2014-04-22)
2
+ * * *
3
+ Support for returning shipping address as part of create/update subscription API.
4
+
1
5
  ### v1.3.8 (2014-03-26)
2
6
  * * *
3
7
  * Now the [Transaction attributes](https://apidocs.chargebee.com/docs/api/transactions#transaction_attributes "Transaction attributes") contains the details about the linked invoices.
4
8
 
5
9
  * Now the [Invoice attributes](https://apidocs.chargebee.com/docs/api/invoices#invoice_attributes "Invoice attributes") contains the details about the linked transactions.
6
10
 
11
+ * Support for recording a payment received via offline mode. See our API documentation on [Record Payment for an Invoice](https://apidocs.chargebee.com/docs/api/transactions#record_payment_for_an_invoice "Record Payment for an Invoice")
12
+
7
13
  ### v1.3.7 (2014-03-18)
8
14
  * * *
9
15
  Support for deleting the plans & addons. See our API documentation on [Delete a plan](https://apidocs.chargebee.com/docs/api/plans#delete_a_plan "Delete a plan") & [Delete an addon](https://apidocs.chargebee.com/docs/api/addons#delete_an_addon "Delete an addon").
@@ -4,8 +4,8 @@ Gem::Specification.new do |s|
4
4
  s.rubygems_version = '1.3.5'
5
5
 
6
6
  s.name = 'chargebee'
7
- s.version = '1.3.8'
8
- s.date = '2014-03-26'
7
+ s.version = '1.3.9'
8
+ s.date = '2014-04-22'
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."
@@ -26,7 +26,7 @@ require File.dirname(__FILE__) + '/chargebee/models/download'
26
26
 
27
27
  module ChargeBee
28
28
 
29
- VERSION = '1.3.8'
29
+ VERSION = '1.3.9'
30
30
 
31
31
  @@default_env = nil
32
32
  @@verify_ca_certs = true
@@ -9,10 +9,14 @@ module ChargeBee
9
9
  attr_accessor :coupon_id, :apply_till, :applied_count, :coupon_code
10
10
  end
11
11
 
12
+ class ShippingAddress < Model
13
+ attr_accessor :first_name, :last_name, :email, :company, :phone, :line1, :line2, :line3, :city, :state, :country, :zip
14
+ end
15
+
12
16
  attr_accessor :id, :plan_id, :plan_quantity, :status, :start_date, :trial_start, :trial_end,
13
17
  :current_term_start, :current_term_end, :remaining_billing_cycles, :created_at, :started_at,
14
18
  :activated_at, :cancelled_at, :cancel_reason, :due_invoices_count, :due_since, :total_dues,
15
- :addons, :coupon, :coupons
19
+ :addons, :coupon, :coupons, :shipping_address
16
20
 
17
21
  # OPERATIONS
18
22
  #-----------
@@ -7,7 +7,7 @@ module ChargeBee
7
7
 
8
8
  def subscription()
9
9
  get(:subscription, Subscription,
10
- {:addons => Subscription::Addon, :coupons => Subscription::Coupon});
10
+ {:addons => Subscription::Addon, :coupons => Subscription::Coupon, :shipping_address => Subscription::ShippingAddress});
11
11
  end
12
12
 
13
13
  def customer()
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: chargebee
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.3.8
5
+ version: 1.3.9
6
6
  platform: ruby
7
7
  authors:
8
8
  - Rajaraman S
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2014-03-26 00:00:00 Z
14
+ date: 2014-04-22 00:00:00 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: json_pure