Class: ChargeBee::Customer
- Defined in:
 - lib/chargebee/models/customer.rb
 
Defined Under Namespace
Classes: Balance, BillingAddress, ChildAccountAccess, Contact, EntityIdentifier, ParentAccountAccess, PaymentMethod, ReferralUrl, Relationship, TaxProvidersField
Instance Attribute Summary collapse
- 
  
    
      #active_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute active_id.
 - 
  
    
      #allow_direct_debit  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute allow_direct_debit.
 - 
  
    
      #auto_close_invoices  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute auto_close_invoices.
 - 
  
    
      #auto_collection  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute auto_collection.
 - 
  
    
      #backup_payment_source_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute backup_payment_source_id.
 - 
  
    
      #balances  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute balances.
 - 
  
    
      #billing_address  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute billing_address.
 - 
  
    
      #billing_date  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute billing_date.
 - 
  
    
      #billing_date_mode  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute billing_date_mode.
 - 
  
    
      #billing_day_of_week  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute billing_day_of_week.
 - 
  
    
      #billing_day_of_week_mode  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute billing_day_of_week_mode.
 - 
  
    
      #billing_month  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute billing_month.
 - 
  
    
      #business_customer_without_vat_number  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute business_customer_without_vat_number.
 - 
  
    
      #business_entity_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute business_entity_id.
 - 
  
    
      #card_status  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute card_status.
 - 
  
    
      #channel  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute channel.
 - 
  
    
      #child_account_access  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute child_account_access.
 - 
  
    
      #client_profile_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute client_profile_id.
 - 
  
    
      #company  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute company.
 - 
  
    
      #consolidated_invoicing  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute consolidated_invoicing.
 - 
  
    
      #contacts  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute contacts.
 - 
  
    
      #created_at  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute created_at.
 - 
  
    
      #created_from_ip  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute created_from_ip.
 - 
  
    
      #customer_type  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute customer_type.
 - 
  
    
      #deleted  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute deleted.
 - 
  
    
      #einvoicing_method  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute einvoicing_method.
 - 
  
    
      #email  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute email.
 - 
  
    
      #entity_code  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute entity_code.
 - 
  
    
      #entity_identifier_scheme  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute entity_identifier_scheme.
 - 
  
    
      #entity_identifier_standard  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute entity_identifier_standard.
 - 
  
    
      #entity_identifiers  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute entity_identifiers.
 - 
  
    
      #excess_payments  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute excess_payments.
 - 
  
    
      #exempt_number  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute exempt_number.
 - 
  
    
      #exemption_details  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute exemption_details.
 - 
  
    
      #first_name  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute first_name.
 - 
  
    
      #fraud_flag  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute fraud_flag.
 - 
  
    
      #id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute id.
 - 
  
    
      #invoice_notes  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute invoice_notes.
 - 
  
    
      #is_einvoice_enabled  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute is_einvoice_enabled.
 - 
  
    
      #is_location_valid  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute is_location_valid.
 - 
  
    
      #last_name  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute last_name.
 - 
  
    
      #locale  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute locale.
 - 
  
    
      #meta_data  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute meta_data.
 - 
  
    
      #net_term_days  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute net_term_days.
 - 
  
    
      #offline_payment_method  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute offline_payment_method.
 - 
  
    
      #parent_account_access  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute parent_account_access.
 - 
  
    
      #payment_method  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute payment_method.
 - 
  
    
      #phone  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute phone.
 - 
  
    
      #pii_cleared  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute pii_cleared.
 - 
  
    
      #preferred_currency_code  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute preferred_currency_code.
 - 
  
    
      #primary_payment_source_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute primary_payment_source_id.
 - 
  
    
      #promotional_credits  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute promotional_credits.
 - 
  
    
      #referral_urls  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute referral_urls.
 - 
  
    
      #refundable_credits  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute refundable_credits.
 - 
  
    
      #registered_for_gst  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute registered_for_gst.
 - 
  
    
      #relationship  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute relationship.
 - 
  
    
      #resource_version  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute resource_version.
 - 
  
    
      #tax_providers_fields  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute tax_providers_fields.
 - 
  
    
      #taxability  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute taxability.
 - 
  
    
      #unbilled_charges  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute unbilled_charges.
 - 
  
    
      #updated_at  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute updated_at.
 - 
  
    
      #use_default_hierarchy_settings  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute use_default_hierarchy_settings.
 - 
  
    
      #vat_number  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute vat_number.
 - 
  
    
      #vat_number_prefix  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute vat_number_prefix.
 - 
  
    
      #vat_number_status  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute vat_number_status.
 - 
  
    
      #vat_number_validated_time  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute vat_number_validated_time.
 
Class Method Summary collapse
- .add_contact(id, params, env = nil, headers = {}) ⇒ Object
 - .add_promotional_credits(id, params, env = nil, headers = {}) ⇒ Object
 - .assign_payment_role(id, params, env = nil, headers = {}) ⇒ Object
 - .change_billing_date(id, params = {}, env = nil, headers = {}) ⇒ Object
 - .clear_personal_data(id, env = nil, headers = {}) ⇒ Object
 - .collect_payment(id, params, env = nil, headers = {}) ⇒ Object
 - .contacts_for_customer(id, params = {}, env = nil, headers = {}) ⇒ Object
 - 
  
    
      .create(params = {}, env = nil, headers = {})  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
OPERATIONS ———–.
 - .deduct_promotional_credits(id, params, env = nil, headers = {}) ⇒ Object
 - .delete(id, params = {}, env = nil, headers = {}) ⇒ Object
 - .delete_contact(id, params, env = nil, headers = {}) ⇒ Object
 - .delete_relationship(id, env = nil, headers = {}) ⇒ Object
 - .hierarchy(id, params, env = nil, headers = {}) ⇒ Object
 - .list(params = {}, env = nil, headers = {}) ⇒ Object
 - .merge(params, env = nil, headers = {}) ⇒ Object
 - .move(params, env = nil, headers = {}) ⇒ Object
 - .record_excess_payment(id, params, env = nil, headers = {}) ⇒ Object
 - .relationships(id, params = {}, env = nil, headers = {}) ⇒ Object
 - .retrieve(id, env = nil, headers = {}) ⇒ Object
 - .set_promotional_credits(id, params, env = nil, headers = {}) ⇒ Object
 - .update(id, params = {}, env = nil, headers = {}) ⇒ Object
 - .update_billing_info(id, params = {}, env = nil, headers = {}) ⇒ Object
 - .update_contact(id, params, env = nil, headers = {}) ⇒ Object
 - .update_hierarchy_settings(id, params = {}, env = nil, headers = {}) ⇒ Object
 - .update_payment_method(id, params, env = nil, headers = {}) ⇒ Object
 
Methods inherited from Model
construct, #init_dependant, #init_dependant_list, #initialize, #inspect, #load, #method_missing, #replace_white_space_with_underscore, #to_s, uri_path
Constructor Details
This class inherits a constructor from ChargeBee::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ChargeBee::Model
Instance Attribute Details
#active_id ⇒ Object
Returns the value of attribute active_id.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def active_id @active_id end  | 
  
#allow_direct_debit ⇒ Object
Returns the value of attribute allow_direct_debit.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def allow_direct_debit @allow_direct_debit end  | 
  
#auto_close_invoices ⇒ Object
Returns the value of attribute auto_close_invoices.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def auto_close_invoices @auto_close_invoices end  | 
  
#auto_collection ⇒ Object
Returns the value of attribute auto_collection.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def auto_collection @auto_collection end  | 
  
#backup_payment_source_id ⇒ Object
Returns the value of attribute backup_payment_source_id.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def backup_payment_source_id @backup_payment_source_id end  | 
  
#balances ⇒ Object
Returns the value of attribute balances.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def balances @balances end  | 
  
#billing_address ⇒ Object
Returns the value of attribute billing_address.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def billing_address @billing_address end  | 
  
#billing_date ⇒ Object
Returns the value of attribute billing_date.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def billing_date @billing_date end  | 
  
#billing_date_mode ⇒ Object
Returns the value of attribute billing_date_mode.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def billing_date_mode @billing_date_mode end  | 
  
#billing_day_of_week ⇒ Object
Returns the value of attribute billing_day_of_week.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def billing_day_of_week @billing_day_of_week end  | 
  
#billing_day_of_week_mode ⇒ Object
Returns the value of attribute billing_day_of_week_mode.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def billing_day_of_week_mode @billing_day_of_week_mode end  | 
  
#billing_month ⇒ Object
Returns the value of attribute billing_month.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def billing_month @billing_month end  | 
  
#business_customer_without_vat_number ⇒ Object
Returns the value of attribute business_customer_without_vat_number.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def business_customer_without_vat_number @business_customer_without_vat_number end  | 
  
#business_entity_id ⇒ Object
Returns the value of attribute business_entity_id.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def business_entity_id @business_entity_id end  | 
  
#card_status ⇒ Object
Returns the value of attribute card_status.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def card_status @card_status end  | 
  
#channel ⇒ Object
Returns the value of attribute channel.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def channel @channel end  | 
  
#child_account_access ⇒ Object
Returns the value of attribute child_account_access.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def child_account_access @child_account_access end  | 
  
#client_profile_id ⇒ Object
Returns the value of attribute client_profile_id.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def client_profile_id @client_profile_id end  | 
  
#company ⇒ Object
Returns the value of attribute company.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def company @company end  | 
  
#consolidated_invoicing ⇒ Object
Returns the value of attribute consolidated_invoicing.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def consolidated_invoicing @consolidated_invoicing end  | 
  
#contacts ⇒ Object
Returns the value of attribute contacts.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def contacts @contacts end  | 
  
#created_at ⇒ Object
Returns the value of attribute created_at.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def created_at @created_at end  | 
  
#created_from_ip ⇒ Object
Returns the value of attribute created_from_ip.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def created_from_ip @created_from_ip end  | 
  
#customer_type ⇒ Object
Returns the value of attribute customer_type.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def customer_type @customer_type end  | 
  
#deleted ⇒ Object
Returns the value of attribute deleted.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def deleted @deleted end  | 
  
#einvoicing_method ⇒ Object
Returns the value of attribute einvoicing_method.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def einvoicing_method @einvoicing_method end  | 
  
#email ⇒ Object
Returns the value of attribute email.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def email @email end  | 
  
#entity_code ⇒ Object
Returns the value of attribute entity_code.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def entity_code @entity_code end  | 
  
#entity_identifier_scheme ⇒ Object
Returns the value of attribute entity_identifier_scheme.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def entity_identifier_scheme @entity_identifier_scheme end  | 
  
#entity_identifier_standard ⇒ Object
Returns the value of attribute entity_identifier_standard.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def entity_identifier_standard @entity_identifier_standard end  | 
  
#entity_identifiers ⇒ Object
Returns the value of attribute entity_identifiers.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def entity_identifiers @entity_identifiers end  | 
  
#excess_payments ⇒ Object
Returns the value of attribute excess_payments.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def excess_payments @excess_payments end  | 
  
#exempt_number ⇒ Object
Returns the value of attribute exempt_number.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def exempt_number @exempt_number end  | 
  
#exemption_details ⇒ Object
Returns the value of attribute exemption_details.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def exemption_details @exemption_details end  | 
  
#first_name ⇒ Object
Returns the value of attribute first_name.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def first_name @first_name end  | 
  
#fraud_flag ⇒ Object
Returns the value of attribute fraud_flag.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def fraud_flag @fraud_flag end  | 
  
#id ⇒ Object
Returns the value of attribute id.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def id @id end  | 
  
#invoice_notes ⇒ Object
Returns the value of attribute invoice_notes.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def invoice_notes @invoice_notes end  | 
  
#is_einvoice_enabled ⇒ Object
Returns the value of attribute is_einvoice_enabled.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def is_einvoice_enabled @is_einvoice_enabled end  | 
  
#is_location_valid ⇒ Object
Returns the value of attribute is_location_valid.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def is_location_valid @is_location_valid end  | 
  
#last_name ⇒ Object
Returns the value of attribute last_name.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def last_name @last_name end  | 
  
#locale ⇒ Object
Returns the value of attribute locale.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def locale @locale end  | 
  
#meta_data ⇒ Object
Returns the value of attribute meta_data.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def @meta_data end  | 
  
#net_term_days ⇒ Object
Returns the value of attribute net_term_days.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def net_term_days @net_term_days end  | 
  
#offline_payment_method ⇒ Object
Returns the value of attribute offline_payment_method.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def offline_payment_method @offline_payment_method end  | 
  
#parent_account_access ⇒ Object
Returns the value of attribute parent_account_access.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def parent_account_access @parent_account_access end  | 
  
#payment_method ⇒ Object
Returns the value of attribute payment_method.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def payment_method @payment_method end  | 
  
#phone ⇒ Object
Returns the value of attribute phone.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def phone @phone end  | 
  
#pii_cleared ⇒ Object
Returns the value of attribute pii_cleared.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def pii_cleared @pii_cleared end  | 
  
#preferred_currency_code ⇒ Object
Returns the value of attribute preferred_currency_code.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def preferred_currency_code @preferred_currency_code end  | 
  
#primary_payment_source_id ⇒ Object
Returns the value of attribute primary_payment_source_id.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def primary_payment_source_id @primary_payment_source_id end  | 
  
#promotional_credits ⇒ Object
Returns the value of attribute promotional_credits.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def promotional_credits @promotional_credits end  | 
  
#referral_urls ⇒ Object
Returns the value of attribute referral_urls.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def referral_urls @referral_urls end  | 
  
#refundable_credits ⇒ Object
Returns the value of attribute refundable_credits.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def refundable_credits @refundable_credits end  | 
  
#registered_for_gst ⇒ Object
Returns the value of attribute registered_for_gst.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def registered_for_gst @registered_for_gst end  | 
  
#relationship ⇒ Object
Returns the value of attribute relationship.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def relationship @relationship end  | 
  
#resource_version ⇒ Object
Returns the value of attribute resource_version.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def resource_version @resource_version end  | 
  
#tax_providers_fields ⇒ Object
Returns the value of attribute tax_providers_fields.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def tax_providers_fields @tax_providers_fields end  | 
  
#taxability ⇒ Object
Returns the value of attribute taxability.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def taxability @taxability end  | 
  
#unbilled_charges ⇒ Object
Returns the value of attribute unbilled_charges.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def unbilled_charges @unbilled_charges end  | 
  
#updated_at ⇒ Object
Returns the value of attribute updated_at.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def updated_at @updated_at end  | 
  
#use_default_hierarchy_settings ⇒ Object
Returns the value of attribute use_default_hierarchy_settings.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def use_default_hierarchy_settings @use_default_hierarchy_settings end  | 
  
#vat_number ⇒ Object
Returns the value of attribute vat_number.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def vat_number @vat_number end  | 
  
#vat_number_prefix ⇒ Object
Returns the value of attribute vat_number_prefix.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def vat_number_prefix @vat_number_prefix end  | 
  
#vat_number_status ⇒ Object
Returns the value of attribute vat_number_status.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def vat_number_status @vat_number_status end  | 
  
#vat_number_validated_time ⇒ Object
Returns the value of attribute vat_number_validated_time.
      44 45 46  | 
    
      # File 'lib/chargebee/models/customer.rb', line 44 def vat_number_validated_time @vat_number_validated_time end  | 
  
Class Method Details
.add_contact(id, params, env = nil, headers = {}) ⇒ Object
      92 93 94  | 
    
      # File 'lib/chargebee/models/customer.rb', line 92 def self.add_contact(id, params, env=nil, headers={}) Request.send('post', uri_path("customers",id.to_s,"add_contact"), params, env, headers) end  | 
  
.add_promotional_credits(id, params, env = nil, headers = {}) ⇒ Object
      104 105 106  | 
    
      # File 'lib/chargebee/models/customer.rb', line 104 def self.add_promotional_credits(id, params, env=nil, headers={}) Request.send('post', uri_path("customers",id.to_s,"add_promotional_credits"), params, env, headers) end  | 
  
.assign_payment_role(id, params, env = nil, headers = {}) ⇒ Object
      88 89 90  | 
    
      # File 'lib/chargebee/models/customer.rb', line 88 def self.assign_payment_role(id, params, env=nil, headers={}) Request.send('post', uri_path("customers",id.to_s,"assign_payment_role"), params, env, headers) end  | 
  
.change_billing_date(id, params = {}, env = nil, headers = {}) ⇒ Object
      132 133 134  | 
    
      # File 'lib/chargebee/models/customer.rb', line 132 def self.change_billing_date(id, params={}, env=nil, headers={}) Request.send('post', uri_path("customers",id.to_s,"change_billing_date"), params, env, headers) end  | 
  
.clear_personal_data(id, env = nil, headers = {}) ⇒ Object
      140 141 142  | 
    
      # File 'lib/chargebee/models/customer.rb', line 140 def self.clear_personal_data(id, env=nil, headers={}) Request.send('post', uri_path("customers",id.to_s,"clear_personal_data"), {}, env, headers) end  | 
  
.collect_payment(id, params, env = nil, headers = {}) ⇒ Object
      120 121 122  | 
    
      # File 'lib/chargebee/models/customer.rb', line 120 def self.collect_payment(id, params, env=nil, headers={}) Request.send('post', uri_path("customers",id.to_s,"collect_payment"), params, env, headers) end  | 
  
.contacts_for_customer(id, params = {}, env = nil, headers = {}) ⇒ Object
      84 85 86  | 
    
      # File 'lib/chargebee/models/customer.rb', line 84 def self.contacts_for_customer(id, params={}, env=nil, headers={}) Request.send('get', uri_path("customers",id.to_s,"contacts"), params, env, headers) end  | 
  
.create(params = {}, env = nil, headers = {}) ⇒ Object
OPERATIONS
      60 61 62  | 
    
      # File 'lib/chargebee/models/customer.rb', line 60 def self.create(params={}, env=nil, headers={}) Request.send('post', uri_path("customers"), params, env, headers) end  | 
  
.deduct_promotional_credits(id, params, env = nil, headers = {}) ⇒ Object
      108 109 110  | 
    
      # File 'lib/chargebee/models/customer.rb', line 108 def self.deduct_promotional_credits(id, params, env=nil, headers={}) Request.send('post', uri_path("customers",id.to_s,"deduct_promotional_credits"), params, env, headers) end  | 
  
.delete(id, params = {}, env = nil, headers = {}) ⇒ Object
      124 125 126  | 
    
      # File 'lib/chargebee/models/customer.rb', line 124 def self.delete(id, params={}, env=nil, headers={}) Request.send('post', uri_path("customers",id.to_s,"delete"), params, env, headers) end  | 
  
.delete_contact(id, params, env = nil, headers = {}) ⇒ Object
      100 101 102  | 
    
      # File 'lib/chargebee/models/customer.rb', line 100 def self.delete_contact(id, params, env=nil, headers={}) Request.send('post', uri_path("customers",id.to_s,"delete_contact"), params, env, headers) end  | 
  
.delete_relationship(id, env = nil, headers = {}) ⇒ Object
      148 149 150  | 
    
      # File 'lib/chargebee/models/customer.rb', line 148 def self.delete_relationship(id, env=nil, headers={}) Request.send('post', uri_path("customers",id.to_s,"delete_relationship"), {}, env, headers) end  | 
  
.hierarchy(id, params, env = nil, headers = {}) ⇒ Object
      152 153 154  | 
    
      # File 'lib/chargebee/models/customer.rb', line 152 def self.hierarchy(id, params, env=nil, headers={}) Request.send('get', uri_path("customers",id.to_s,"hierarchy"), params, env, headers) end  | 
  
.list(params = {}, env = nil, headers = {}) ⇒ Object
      64 65 66  | 
    
      # File 'lib/chargebee/models/customer.rb', line 64 def self.list(params={}, env=nil, headers={}) Request.send_list_request('get', uri_path("customers"), params, env, headers) end  | 
  
.merge(params, env = nil, headers = {}) ⇒ Object
      136 137 138  | 
    
      # File 'lib/chargebee/models/customer.rb', line 136 def self.merge(params, env=nil, headers={}) Request.send('post', uri_path("customers","merge"), params, env, headers) end  | 
  
.move(params, env = nil, headers = {}) ⇒ Object
      128 129 130  | 
    
      # File 'lib/chargebee/models/customer.rb', line 128 def self.move(params, env=nil, headers={}) Request.send('post', uri_path("customers","move"), params, env, headers) end  | 
  
.record_excess_payment(id, params, env = nil, headers = {}) ⇒ Object
      116 117 118  | 
    
      # File 'lib/chargebee/models/customer.rb', line 116 def self.record_excess_payment(id, params, env=nil, headers={}) Request.send('post', uri_path("customers",id.to_s,"record_excess_payment"), params, env, headers) end  | 
  
.relationships(id, params = {}, env = nil, headers = {}) ⇒ Object
      144 145 146  | 
    
      # File 'lib/chargebee/models/customer.rb', line 144 def self.relationships(id, params={}, env=nil, headers={}) Request.send('post', uri_path("customers",id.to_s,"relationships"), params, env, headers) end  | 
  
.retrieve(id, env = nil, headers = {}) ⇒ Object
      68 69 70  | 
    
      # File 'lib/chargebee/models/customer.rb', line 68 def self.retrieve(id, env=nil, headers={}) Request.send('get', uri_path("customers",id.to_s), {}, env, headers) end  | 
  
.set_promotional_credits(id, params, env = nil, headers = {}) ⇒ Object
      112 113 114  | 
    
      # File 'lib/chargebee/models/customer.rb', line 112 def self.set_promotional_credits(id, params, env=nil, headers={}) Request.send('post', uri_path("customers",id.to_s,"set_promotional_credits"), params, env, headers) end  | 
  
.update(id, params = {}, env = nil, headers = {}) ⇒ Object
      72 73 74  | 
    
      # File 'lib/chargebee/models/customer.rb', line 72 def self.update(id, params={}, env=nil, headers={}) Request.send('post', uri_path("customers",id.to_s), params, env, headers) end  | 
  
.update_billing_info(id, params = {}, env = nil, headers = {}) ⇒ Object
      80 81 82  | 
    
      # File 'lib/chargebee/models/customer.rb', line 80 def self.update_billing_info(id, params={}, env=nil, headers={}) Request.send('post', uri_path("customers",id.to_s,"update_billing_info"), params, env, headers) end  | 
  
.update_contact(id, params, env = nil, headers = {}) ⇒ Object
      96 97 98  | 
    
      # File 'lib/chargebee/models/customer.rb', line 96 def self.update_contact(id, params, env=nil, headers={}) Request.send('post', uri_path("customers",id.to_s,"update_contact"), params, env, headers) end  | 
  
.update_hierarchy_settings(id, params = {}, env = nil, headers = {}) ⇒ Object
      156 157 158  | 
    
      # File 'lib/chargebee/models/customer.rb', line 156 def self.update_hierarchy_settings(id, params={}, env=nil, headers={}) Request.send('post', uri_path("customers",id.to_s,"update_hierarchy_settings"), params, env, headers) end  |