Skip to content

Commit

Permalink
New input parameter payment_intent has been added in create_a_gift, c…
Browse files Browse the repository at this point in the history
…reate_an_invoice, reactivate_a_subscription and resume_a_subscription api.

* New attribute client_profile_id has been added in customer resource.
* New input parameter client_profile_id has been added in create_a_customer, update_a_customer, create_subscription_estimate, create_a_subscription and import_a_subscription api.
* New input parameter replace_primary_payment_source has been added in create_an_invoice api.
* New attribute currency_code has been added in payment_intent resource.
  • Loading branch information
cb-goutham committed Aug 27, 2019
1 parent 1fb005b commit 1ab2229
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
### v2.7.0 (2019-08-27)
* * *

* New attribute client_profile_id has been added in customer resource.
* New input parameter client_profile_id has been added in create_a_customer, update_a_customer, create_subscription_estimate, create_a_subscription and import_a_subscription api.
* New input parameter payment_intent has been added in create_a_gift, create_an_invoice, reactivate_a_subscription and resume_a_subscription api.
* New input parameter replace_primary_payment_source has been added in create_an_invoice api.
* New attribute currency_code has been added in payment_intent resource.

### v2.6.9 (2019-08-14)
* * *

Expand Down
2 changes: 1 addition & 1 deletion lib/chargebee.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

module ChargeBee

VERSION = '2.6.9'
VERSION = '2.7.0'

@@default_env = nil
@@verify_ca_certs = true
Expand Down
2 changes: 1 addition & 1 deletion lib/chargebee/models/customer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class Relationship < Model
:backup_payment_source_id, :billing_address, :referral_urls, :contacts, :payment_method, :invoice_notes,
:preferred_currency_code, :promotional_credits, :unbilled_charges, :refundable_credits, :excess_payments,
:balances, :meta_data, :deleted, :registered_for_gst, :business_customer_without_vat_number,
:customer_type, :relationship
:customer_type, :client_profile_id, :relationship

# OPERATIONS
#-----------
Expand Down
4 changes: 2 additions & 2 deletions lib/chargebee/models/payment_intent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ class PaymentAttempt < Model
attr_accessor :id, :status, :id_at_gateway, :error_code, :error_text, :created_at, :modified_at
end

attr_accessor :id, :status, :amount, :gateway_account_id, :expires_at, :reference_id, :created_at,
:modified_at, :customer_id, :gateway, :active_payment_attempt
attr_accessor :id, :status, :currency_code, :amount, :gateway_account_id, :expires_at, :reference_id,
:created_at, :modified_at, :customer_id, :gateway, :active_payment_attempt

# OPERATIONS
#-----------
Expand Down

0 comments on commit 1ab2229

Please sign in to comment.