Class: Quickeebooks::Windows::Model::Address

Inherits:
IntuitType
  • Object
show all
Defined in:
lib/quickeebooks/windows/model/address.rb

Instance Method Summary collapse

Methods included from Logging

#log

Instance Method Details

#default?Boolean

Returns:

  • (Boolean)


29
30
31
# File 'lib/quickeebooks/windows/model/address.rb', line 29

def default?
  default == "true"
end

#stateObject



33
34
35
# File 'lib/quickeebooks/windows/model/address.rb', line 33

def state
  country_sub_division_code
end

#state=(new_state) ⇒ Object



37
38
39
# File 'lib/quickeebooks/windows/model/address.rb', line 37

def state=(new_state)
  self.country_sub_division_code = new_state
end

#to_xml_nsObject



25
26
27
# File 'lib/quickeebooks/windows/model/address.rb', line 25

def to_xml_ns
  to_xml
end

#zipObject



21
22
23
# File 'lib/quickeebooks/windows/model/address.rb', line 21

def zip
  postal_code
end