chargebee 2.0.6 → 2.0.7

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: f882c7132cc02b9df01f2e861f7d2b538e8582cf
4
- data.tar.gz: 3e3227b6bbcc434d6c55fd7e6076f0958dc8ec3c
3
+ metadata.gz: 7ca2f07509d1d5f3ac363b7e636f4f3f69708474
4
+ data.tar.gz: 877d42cdb7c5d919152967e7c0ca8b67260755e6
5
5
  SHA512:
6
- metadata.gz: 0114590430a2f5c83520e8b97a72a8574f40ee7da3134a3542bade113f8a857b31d746a1cdec998923042446fecf5b1ab5ccad8c14147532dd68587362591d0d
7
- data.tar.gz: 97ba96e4ee5cdedb0ff5bc7f300f2004ae393bb8037b7d8028772b2a43846cc6efddcef39a3fc1ed3ffafcdf4da43df365177a9e3a72ddbce0d24a8c3f81863f
6
+ metadata.gz: e3211121316f5e0890c23ae3828b7526b405a2c72141952cfa9ca117af3fcff307bae338fe4611a074c2a390e6a452946ddadfeb84071842ed0970db16c78918
7
+ data.tar.gz: 442ace2691d487e12ee5b80fe6367597d1ccb60c0f5b00f8655c40e877094a574c7223cc241b152a105d6ac137cc939dc9bf674e33b3ada1cfa0ecbb0b58118b
@@ -1,3 +1,10 @@
1
+ ### v2.0.7 (2016-06-27)
2
+ * * *
3
+
4
+ ** APIs updated**:
5
+ New resource "third_party_payment_method" is returned on performing copy card for a customer API.
6
+ See : https://apidocs.chargebee.com/docs/api/cards#copy_card
7
+
1
8
  ### v2.0.6 (2016-06-16)
2
9
  * * *
3
10
 
@@ -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 = '2.0.6'
8
- s.date = '2016-06-16'
7
+ s.version = '2.0.7'
8
+ s.date = '2016-06-27'
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."
@@ -33,7 +33,9 @@ Gem::Specification.new do |s|
33
33
  README.rdoc
34
34
  Rakefile
35
35
  chargebee.gemspec
36
+ lib/.DS_Store
36
37
  lib/chargebee.rb
38
+ lib/chargebee/.DS_Store
37
39
  lib/chargebee/environment.rb
38
40
  lib/chargebee/errors.rb
39
41
  lib/chargebee/list_result.rb
@@ -58,6 +60,7 @@ Gem::Specification.new do |s|
58
60
  lib/chargebee/models/portal_session.rb
59
61
  lib/chargebee/models/subscription.rb
60
62
  lib/chargebee/models/subscription_estimate.rb
63
+ lib/chargebee/models/third_party_payment_method.rb
61
64
  lib/chargebee/models/transaction.rb
62
65
  lib/chargebee/request.rb
63
66
  lib/chargebee/rest.rb
Binary file
@@ -11,6 +11,7 @@ require File.dirname(__FILE__) + '/chargebee/models/model'
11
11
  require File.dirname(__FILE__) + '/chargebee/models/subscription'
12
12
  require File.dirname(__FILE__) + '/chargebee/models/customer'
13
13
  require File.dirname(__FILE__) + '/chargebee/models/card'
14
+ require File.dirname(__FILE__) + '/chargebee/models/third_party_payment_method'
14
15
  require File.dirname(__FILE__) + '/chargebee/models/address'
15
16
  require File.dirname(__FILE__) + '/chargebee/models/transaction'
16
17
  require File.dirname(__FILE__) + '/chargebee/models/invoice'
@@ -32,7 +33,7 @@ require File.dirname(__FILE__) + '/chargebee/models/download'
32
33
 
33
34
  module ChargeBee
34
35
 
35
- VERSION = '2.0.6'
36
+ VERSION = '2.0.7'
36
37
 
37
38
  @@default_env = nil
38
39
  @@verify_ca_certs = true
Binary file
@@ -0,0 +1,10 @@
1
+ module ChargeBee
2
+ class ThirdPartyPaymentMethod < Model
3
+
4
+ attr_accessor :type, :gateway, :reference_id
5
+
6
+ # OPERATIONS
7
+ #-----------
8
+
9
+ end # ~ThirdPartyPaymentMethod
10
+ end # ~ChargeBee
@@ -22,6 +22,11 @@ module ChargeBee
22
22
  return card;
23
23
  end
24
24
 
25
+ def third_party_payment_method()
26
+ third_party_payment_method = get(:third_party_payment_method, ThirdPartyPaymentMethod);
27
+ return third_party_payment_method;
28
+ end
29
+
25
30
  def invoice()
26
31
  invoice = get(:invoice, Invoice,
27
32
  {:line_items => Invoice::LineItem, :discounts => Invoice::Discount, :taxes => Invoice::Tax, :line_item_taxes => Invoice::LineItemTax, :linked_payments => Invoice::LinkedPayment, :applied_credits => Invoice::AppliedCredit, :adjustment_credit_notes => Invoice::AdjustmentCreditNote, :issued_credit_notes => Invoice::IssuedCreditNote, :linked_orders => Invoice::LinkedOrder, :notes => Invoice::Note, :shipping_address => Invoice::ShippingAddress, :billing_address => Invoice::BillingAddress});
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.0.6
4
+ version: 2.0.7
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: 2016-06-16 00:00:00.000000000 Z
12
+ date: 2016-06-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_pure
@@ -82,7 +82,9 @@ files:
82
82
  - README.rdoc
83
83
  - Rakefile
84
84
  - chargebee.gemspec
85
+ - lib/.DS_Store
85
86
  - lib/chargebee.rb
87
+ - lib/chargebee/.DS_Store
86
88
  - lib/chargebee/environment.rb
87
89
  - lib/chargebee/errors.rb
88
90
  - lib/chargebee/list_result.rb
@@ -107,6 +109,7 @@ files:
107
109
  - lib/chargebee/models/portal_session.rb
108
110
  - lib/chargebee/models/subscription.rb
109
111
  - lib/chargebee/models/subscription_estimate.rb
112
+ - lib/chargebee/models/third_party_payment_method.rb
110
113
  - lib/chargebee/models/transaction.rb
111
114
  - lib/chargebee/request.rb
112
115
  - lib/chargebee/rest.rb