lib/chargebee/models/customer.rb in chargebee-2.4.1 vs lib/chargebee/models/customer.rb in chargebee-2.4.2

- old
+ new

@@ -15,16 +15,20 @@ class PaymentMethod < Model attr_accessor :type, :gateway, :gateway_account_id, :status, :reference_id end + class Balance < Model + attr_accessor :promotional_credits, :excess_payments, :refundable_credits, :unbilled_charges, :balance_currency_code + end + attr_accessor :id, :first_name, :last_name, :email, :phone, :company, :vat_number, :auto_collection, :net_term_days, :allow_direct_debit, :created_at, :created_from_ip, :taxability, :entity_code, :exempt_number, :resource_version, :updated_at, :locale, :consolidated_invoicing, :billing_date, :billing_date_mode, :billing_day_of_week, :billing_day_of_week_mode, :card_status, :fraud_flag, :primary_payment_source_id, :backup_payment_source_id, :billing_address, :referral_urls, :contacts, :payment_method, :invoice_notes, :preferred_currency_code, :promotional_credits, :unbilled_charges, - :refundable_credits, :excess_payments, :meta_data, :deleted, :registered_for_gst + :refundable_credits, :excess_payments, :balances, :meta_data, :deleted, :registered_for_gst # OPERATIONS #----------- def self.create(params={}, env=nil, headers={}) \ No newline at end of file