Class: Billogram::Customer

Inherits:
Resource show all
Includes:
Endpoint
Defined in:
lib/billogram/resources/customer.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Endpoint

included

Methods inherited from Resource

build_objects, #initialize, relation, relations, #to_hash, #to_json

Constructor Details

This class inherits a constructor from Billogram::Resource

Instance Attribute Details

#company_typeObject

Returns the value of attribute company_type.



7
8
9
# File 'lib/billogram/resources/customer.rb', line 7

def company_type
  @company_type
end

#created_atObject

Returns the value of attribute created_at.



7
8
9
# File 'lib/billogram/resources/customer.rb', line 7

def created_at
  @created_at
end

#customer_noObject Also known as: id

Returns the value of attribute customer_no.



7
8
9
# File 'lib/billogram/resources/customer.rb', line 7

def customer_no
  @customer_no
end

#emailObject

Returns the value of attribute email.



7
8
9
# File 'lib/billogram/resources/customer.rb', line 7

def email
  @email
end

#languageObject

Returns the value of attribute language.



7
8
9
# File 'lib/billogram/resources/customer.rb', line 7

def language
  @language
end

#nameObject

Returns the value of attribute name.



7
8
9
# File 'lib/billogram/resources/customer.rb', line 7

def name
  @name
end

#notesObject

Returns the value of attribute notes.



7
8
9
# File 'lib/billogram/resources/customer.rb', line 7

def notes
  @notes
end

#org_noObject

Returns the value of attribute org_no.



7
8
9
# File 'lib/billogram/resources/customer.rb', line 7

def org_no
  @org_no
end

#phoneObject

Returns the value of attribute phone.



7
8
9
# File 'lib/billogram/resources/customer.rb', line 7

def phone
  @phone
end

#updated_atObject

Returns the value of attribute updated_at.



7
8
9
# File 'lib/billogram/resources/customer.rb', line 7

def updated_at
  @updated_at
end

#vat_noObject

Returns the value of attribute vat_no.



7
8
9
# File 'lib/billogram/resources/customer.rb', line 7

def vat_no
  @vat_no
end