Class: Nuvemshop::Customer

Inherits:
BaseModel show all
Defined in:
lib/nuvemshop/customer.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

attr_accessor, attributes, #attributes, #pretty_print

Methods included from Extensions::MassAssignment

#initialize

Instance Attribute Details

#activeObject

Returns the value of attribute active.



3
4
5
# File 'lib/nuvemshop/customer.rb', line 3

def active
  @active
end

#addressesObject

Returns the value of attribute addresses.



3
4
5
# File 'lib/nuvemshop/customer.rb', line 3

def addresses
  @addresses
end

#billing_addressObject

Returns the value of attribute billing_address.



3
4
5
# File 'lib/nuvemshop/customer.rb', line 3

def billing_address
  @billing_address
end

#billing_cityObject

Returns the value of attribute billing_city.



3
4
5
# File 'lib/nuvemshop/customer.rb', line 3

def billing_city
  @billing_city
end

#billing_countryObject

Returns the value of attribute billing_country.



3
4
5
# File 'lib/nuvemshop/customer.rb', line 3

def billing_country
  @billing_country
end

#billing_floorObject

Returns the value of attribute billing_floor.



3
4
5
# File 'lib/nuvemshop/customer.rb', line 3

def billing_floor
  @billing_floor
end

#billing_localityObject

Returns the value of attribute billing_locality.



3
4
5
# File 'lib/nuvemshop/customer.rb', line 3

def billing_locality
  @billing_locality
end

#billing_nameObject

Returns the value of attribute billing_name.



3
4
5
# File 'lib/nuvemshop/customer.rb', line 3

def billing_name
  @billing_name
end

#billing_numberObject

Returns the value of attribute billing_number.



3
4
5
# File 'lib/nuvemshop/customer.rb', line 3

def billing_number
  @billing_number
end

#billing_phoneObject

Returns the value of attribute billing_phone.



3
4
5
# File 'lib/nuvemshop/customer.rb', line 3

def billing_phone
  @billing_phone
end

#billing_provinceObject

Returns the value of attribute billing_province.



3
4
5
# File 'lib/nuvemshop/customer.rb', line 3

def billing_province
  @billing_province
end

#billing_zipcodeObject

Returns the value of attribute billing_zipcode.



3
4
5
# File 'lib/nuvemshop/customer.rb', line 3

def billing_zipcode
  @billing_zipcode
end

#created_atObject

Returns the value of attribute created_at.



3
4
5
# File 'lib/nuvemshop/customer.rb', line 3

def created_at
  @created_at
end

#default_addressObject

Returns the value of attribute default_address.



3
4
5
# File 'lib/nuvemshop/customer.rb', line 3

def default_address
  @default_address
end

#emailObject

Returns the value of attribute email.



3
4
5
# File 'lib/nuvemshop/customer.rb', line 3

def email
  @email
end

#extraObject

Returns the value of attribute extra.



3
4
5
# File 'lib/nuvemshop/customer.rb', line 3

def extra
  @extra
end

#idObject

Returns the value of attribute id.



3
4
5
# File 'lib/nuvemshop/customer.rb', line 3

def id
  @id
end

#identificationObject

Returns the value of attribute identification.



3
4
5
# File 'lib/nuvemshop/customer.rb', line 3

def identification
  @identification
end

#last_order_idObject

Returns the value of attribute last_order_id.



3
4
5
# File 'lib/nuvemshop/customer.rb', line 3

def last_order_id
  @last_order_id
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/nuvemshop/customer.rb', line 3

def name
  @name
end

#noteObject

Returns the value of attribute note.



3
4
5
# File 'lib/nuvemshop/customer.rb', line 3

def note
  @note
end

#phoneObject

Returns the value of attribute phone.



3
4
5
# File 'lib/nuvemshop/customer.rb', line 3

def phone
  @phone
end

#total_spentObject

Returns the value of attribute total_spent.



3
4
5
# File 'lib/nuvemshop/customer.rb', line 3

def total_spent
  @total_spent
end

#total_spent_currencyObject

Returns the value of attribute total_spent_currency.



3
4
5
# File 'lib/nuvemshop/customer.rb', line 3

def total_spent_currency
  @total_spent_currency
end

#updated_atObject

Returns the value of attribute updated_at.



3
4
5
# File 'lib/nuvemshop/customer.rb', line 3

def updated_at
  @updated_at
end