Class: Booker::V4::Models::Address

Inherits:
Model show all
Defined in:
lib/booker/v4/models/address.rb

Direct Known Subclasses

ShippingAddress

Constant Summary

Constants inherited from Model

Model::CONSTANTIZE_MODULE

Constants inherited from Model

Model::CONSTANTIZE_MODULE

Instance Attribute Summary collapse

Method Summary

Methods included from Concerns::DateTimeConcern

#time_from_booker_datetime, #time_to_booker_datetime, #timezone_from_booker_offset!, #timezone_from_booker_timezone, #to_wday

Methods inherited from Model

constantize, from_hash, from_list, #initialize, #to_hash, #to_json

Constructor Details

This class inherits a constructor from Booker::Model

Instance Attribute Details

#CityObject

Returns the value of attribute City.



5
6
7
# File 'lib/booker/v4/models/address.rb', line 5

def City
  @City
end

#CountryObject

Returns the value of attribute Country.



5
6
7
# File 'lib/booker/v4/models/address.rb', line 5

def Country
  @Country
end

#StateObject

Returns the value of attribute State.



5
6
7
# File 'lib/booker/v4/models/address.rb', line 5

def State
  @State
end

#Street1Object

Returns the value of attribute Street1.



5
6
7
# File 'lib/booker/v4/models/address.rb', line 5

def Street1
  @Street1
end

#Street2Object

Returns the value of attribute Street2.



5
6
7
# File 'lib/booker/v4/models/address.rb', line 5

def Street2
  @Street2
end

#ZipObject

Returns the value of attribute Zip.



5
6
7
# File 'lib/booker/v4/models/address.rb', line 5

def Zip
  @Zip
end