chargebee 2.2.9 → 2.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 10a3327182a10144041ea49ef4f56366ee376dff
4
- data.tar.gz: 42f825d3beabb103d7b33992d051c5f645105bcf
3
+ metadata.gz: 13d7c1a912ee6d79d25a8ddc0cd1e34eadad2e61
4
+ data.tar.gz: 08536cf91a6a436f2e58d926d9866d53b811cde4
5
5
  SHA512:
6
- metadata.gz: 432f4c854a912fa600176d3701d033ef6feed203b87972b54e14ec05dc57b99494fdd0265b62878cdff9d94d05182314537201358f3c09dfa7f8ecfe9a2d9b7e
7
- data.tar.gz: 7fc6f4fc1927e34353e621275f71e0bc097c7f98c75c4df616fdb1d76b02d62f76cf87b1241c31496d5e060084e3aff4d3ac5e7bd34131e8f2af728a5f418519
6
+ metadata.gz: 4558b0b625cb514110cffe92a152d5bdc44b2676921889e4d9acb8f63fd5a0112adcaa8d0a10ab0ba25fd71fca78c84992c76dea56cb1d48a2a35673c94aba8d
7
+ data.tar.gz: 056c476e494dd6b832984b35d822ec89b931e12580cc8062f1f434df6f4d9b9dc5b0fdba61615850f0a1e09e0e7a3b487cec4fb2ca7b3dfc043ab5a49b3ac7d9
@@ -1,3 +1,27 @@
1
+ ### v2.3.0 (2017-07-06)
2
+ * * *
3
+
4
+ ** APIs updated**:
5
+
6
+ The parameter "status" has been added to the Create a plan, Create an addon and Create a coupon APIs.
7
+ See : https://apidocs.chargebee.com/docs/api/plans#create_a_plan
8
+
9
+ The attribute "issuing_country" has been added to the Card and Payment source resource.
10
+ See : https://apidocs.chargebee.com/docs/api/payment_sources#payment_source_attributes
11
+
12
+ The reason code "fraudulent" has been added to the Credit note resource.
13
+ See : https://apidocs.chargebee.com/docs/api/credit_notes#credit_note_reason_code
14
+
15
+ The attribute "bank_name" is made optional in Bank Account subresource.
16
+ See : https://apidocs.chargebee.com/docs/api/payment_sources#payment_source_bank_account_bank_name
17
+
18
+ The parameter "redirect_url" has been made optional in Create a portal session API.
19
+ See : https://apidocs.chargebee.com/docs/api/portal_sessions#create_a_portal_session
20
+
21
+ The attributes "fraud_flag" and "fraud_reason" have been added to the Transaction resource.
22
+ See : https://apidocs.chargebee.com/docs/api/transactions#transaction_attributes
23
+
24
+
1
25
  ### v2.2.9 (2017-06-01)
2
26
  * * *
3
27
 
@@ -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.2.9'
8
- s.date = '2017-06-01'
7
+ s.version = '2.3.0'
8
+ s.date = '2017-07-06'
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."
@@ -37,7 +37,7 @@ require File.dirname(__FILE__) + '/chargebee/models/unbilled_charge'
37
37
 
38
38
  module ChargeBee
39
39
 
40
- VERSION = '2.2.9'
40
+ VERSION = '2.3.0'
41
41
 
42
42
  @@default_env = nil
43
43
  @@verify_ca_certs = true
@@ -2,9 +2,9 @@ module ChargeBee
2
2
  class Card < Model
3
3
 
4
4
  attr_accessor :payment_source_id, :status, :gateway, :gateway_account_id, :first_name, :last_name,
5
- :iin, :last4, :card_type, :funding_type, :expiry_month, :expiry_year, :billing_addr1, :billing_addr2,
6
- :billing_city, :billing_state_code, :billing_state, :billing_country, :billing_zip, :ip_address,
7
- :customer_id, :masked_number
5
+ :iin, :last4, :card_type, :funding_type, :expiry_month, :expiry_year, :issuing_country, :billing_addr1,
6
+ :billing_addr2, :billing_city, :billing_state_code, :billing_state, :billing_country, :billing_zip,
7
+ :ip_address, :customer_id, :masked_number
8
8
 
9
9
  # OPERATIONS
10
10
  #-----------
@@ -18,7 +18,7 @@ module ChargeBee
18
18
  end
19
19
 
20
20
  attr_accessor :id, :customer_id, :type, :reference_id, :status, :gateway, :gateway_account_id,
21
- :ip_address, :card, :bank_account, :amazon_payment, :paypal
21
+ :ip_address, :issuing_country, :card, :bank_account, :amazon_payment, :paypal
22
22
 
23
23
  # OPERATIONS
24
24
  #-----------
@@ -14,10 +14,10 @@ module ChargeBee
14
14
  end
15
15
 
16
16
  attr_accessor :id, :customer_id, :subscription_id, :gateway_account_id, :payment_method, :reference_number,
17
- :gateway, :type, :date, :currency_code, :amount, :id_at_gateway, :status, :error_code, :error_text,
18
- :voided_at, :resource_version, :updated_at, :amount_unused, :masked_card_number, :reference_transaction_id,
19
- :refunded_txn_id, :reversal_transaction_id, :linked_invoices, :linked_credit_notes, :linked_refunds,
20
- :deleted
17
+ :gateway, :type, :date, :currency_code, :amount, :id_at_gateway, :status, :fraud_flag, :error_code,
18
+ :error_text, :voided_at, :resource_version, :updated_at, :fraud_reason, :amount_unused, :masked_card_number,
19
+ :reference_transaction_id, :refunded_txn_id, :reversal_transaction_id, :linked_invoices, :linked_credit_notes,
20
+ :linked_refunds, :deleted
21
21
 
22
22
  # OPERATIONS
23
23
  #-----------
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.2.9
4
+ version: 2.3.0
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: 2017-06-01 00:00:00.000000000 Z
12
+ date: 2017-07-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_pure