chargebee 2.2.9 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +24 -0
- data/chargebee.gemspec +2 -2
- data/lib/chargebee.rb +1 -1
- data/lib/chargebee/models/card.rb +3 -3
- data/lib/chargebee/models/payment_source.rb +1 -1
- data/lib/chargebee/models/transaction.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13d7c1a912ee6d79d25a8ddc0cd1e34eadad2e61
|
4
|
+
data.tar.gz: 08536cf91a6a436f2e58d926d9866d53b811cde4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4558b0b625cb514110cffe92a152d5bdc44b2676921889e4d9acb8f63fd5a0112adcaa8d0a10ab0ba25fd71fca78c84992c76dea56cb1d48a2a35673c94aba8d
|
7
|
+
data.tar.gz: 056c476e494dd6b832984b35d822ec89b931e12580cc8062f1f434df6f4d9b9dc5b0fdba61615850f0a1e09e0e7a3b487cec4fb2ca7b3dfc043ab5a49b3ac7d9
|
data/CHANGELOG.md
CHANGED
@@ -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
|
|
data/chargebee.gemspec
CHANGED
@@ -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.
|
8
|
-
s.date = '2017-06
|
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."
|
data/lib/chargebee.rb
CHANGED
@@ -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, :
|
6
|
-
:billing_city, :billing_state_code, :billing_state, :billing_country, :billing_zip,
|
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, :
|
18
|
-
:voided_at, :resource_version, :updated_at, :
|
19
|
-
:refunded_txn_id, :reversal_transaction_id, :linked_invoices, :linked_credit_notes,
|
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.
|
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
|
12
|
+
date: 2017-07-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json_pure
|