Class: Ppl::Entity::PostalAddress

Inherits:
Object
  • Object
show all
Defined in:
lib/ppl/entity/postal_address.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePostalAddress

Returns a new instance of PostalAddress.



12
13
14
# File 'lib/ppl/entity/postal_address.rb', line 12

def initialize
  @preferred = false
end

Instance Attribute Details

#countryObject

Returns the value of attribute country.



5
6
7
# File 'lib/ppl/entity/postal_address.rb', line 5

def country
  @country
end

#idObject

Returns the value of attribute id.



3
4
5
# File 'lib/ppl/entity/postal_address.rb', line 3

def id
  @id
end

#localityObject

Returns the value of attribute locality.



6
7
8
# File 'lib/ppl/entity/postal_address.rb', line 6

def locality
  @locality
end

#po_boxObject

Returns the value of attribute po_box.



8
9
10
# File 'lib/ppl/entity/postal_address.rb', line 8

def po_box
  @po_box
end

#postal_codeObject

Returns the value of attribute postal_code.



9
10
11
# File 'lib/ppl/entity/postal_address.rb', line 9

def postal_code
  @postal_code
end

#preferredObject

Returns the value of attribute preferred.



4
5
6
# File 'lib/ppl/entity/postal_address.rb', line 4

def preferred
  @preferred
end

#regionObject

Returns the value of attribute region.



10
11
12
# File 'lib/ppl/entity/postal_address.rb', line 10

def region
  @region
end

#streetObject

Returns the value of attribute street.



7
8
9
# File 'lib/ppl/entity/postal_address.rb', line 7

def street
  @street
end