From 1ab22297d4e9c6ff5cf66ec0188c87003b31bfe4 Mon Sep 17 00:00:00 2001 From: cb-goutham Date: Tue, 27 Aug 2019 07:05:09 +0000 Subject: [PATCH] New input parameter payment_intent has been added in create_a_gift, create_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. --- CHANGELOG.md | 9 +++++++++ lib/chargebee.rb | 2 +- lib/chargebee/models/customer.rb | 2 +- lib/chargebee/models/payment_intent.rb | 4 ++-- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 92af4ab..0a9c16e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) * * * diff --git a/lib/chargebee.rb b/lib/chargebee.rb index c2f3493..d72bc73 100644 --- a/lib/chargebee.rb +++ b/lib/chargebee.rb @@ -47,7 +47,7 @@ module ChargeBee - VERSION = '2.6.9' + VERSION = '2.7.0' @@default_env = nil @@verify_ca_certs = true diff --git a/lib/chargebee/models/customer.rb b/lib/chargebee/models/customer.rb index 2f34943..b88e86b 100644 --- a/lib/chargebee/models/customer.rb +++ b/lib/chargebee/models/customer.rb @@ -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 #----------- diff --git a/lib/chargebee/models/payment_intent.rb b/lib/chargebee/models/payment_intent.rb index 11ed91f..164fb99 100644 --- a/lib/chargebee/models/payment_intent.rb +++ b/lib/chargebee/models/payment_intent.rb @@ -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 #-----------