Class: Realogy::Listing

Inherits:
Entity show all
Defined in:
lib/realogy/app/models/realogy/listing.rb

Instance Method Summary collapse

Methods inherited from Entity

#dig_for_array, #dig_for_boolean, #dig_for_datetime, #dig_for_decimal, #dig_for_hash, #dig_for_integer, #dig_for_string, #needs_updating?, #populate, triage

Instance Method Details

#active?Boolean

isActive : Boolean

Will be 'true' if this is an Active listing

Returns:

  • (Boolean)


601
602
603
# File 'lib/realogy/app/models/realogy/listing.rb', line 601

def active?
  self.dig_for_boolean("listingSummary", "isActive")
end

#agentsObject

agents : [Hash]

The agent(s) associated with the Listing


904
905
906
# File 'lib/realogy/app/models/realogy/listing.rb', line 904

def agents
  self.dig_for_array("listingSummary", "agents")
end

#agricultural_property_numberObject

agriculturalPropertyNumber : String A unique identifier given for the agriculture property



141
142
143
# File 'lib/realogy/app/models/realogy/listing.rb', line 141

def agricultural_property_number
  self.dig_for_string("agriculturalPropertyNumber")
end

#anchor_storesObject

anchorStores : String The stores within the shopping complex that draw traffic to the location



148
149
150
# File 'lib/realogy/app/models/realogy/listing.rb', line 148

def anchor_stores
  self.dig_for_string("anchorStores")
end

#annual_taxObject

annualTax : Decimal The annualTax associated with the listing



155
156
157
# File 'lib/realogy/app/models/realogy/listing.rb', line 155

def annual_tax
  self.dig_for_decimal("annualTax")
end

#available_floorsObject

availableFloors : Integer The total number of floors available within a property’s Listing



162
163
164
# File 'lib/realogy/app/models/realogy/listing.rb', line 162

def available_floors
  self.dig_for_integer("availableFloors")
end

#available_spaceObject

availableSpace : Decimal The space available in the commercial property



169
170
171
# File 'lib/realogy/app/models/realogy/listing.rb', line 169

def available_space
  self.dig_for_decimal("availableSpace")
end

#average_floor_sizeObject

averageFloorSize : Decimal The size of the floor in an average. A calculation of the total building area divided by the number of stories or levels within the building



177
178
179
# File 'lib/realogy/app/models/realogy/listing.rb', line 177

def average_floor_size
  self.dig_for_decimal("averageFloorSize")
end

#average_occupancy_rateObject

averageOccupancyRate : Decimal The number of units in a building that have been rented out as compared to the total number of units in the building



185
186
187
# File 'lib/realogy/app/models/realogy/listing.rb', line 185

def average_occupancy_rate
  self.dig_for_decimal("averageOccupancyRate")
end

#bay_depthObject

bayDepth : String The distance from the front to the back of the bay



192
193
194
# File 'lib/realogy/app/models/realogy/listing.rb', line 192

def bay_depth
  self.dig_for_string("bayDepth")
end

#building_areaObject

buildingArea : String

BuildingArea  of the property


925
926
927
# File 'lib/realogy/app/models/realogy/listing.rb', line 925

def building_area
  self.dig_for_string("listingSummary", "buildingArea")
end

#building_classObject

buildingClass : String The Subjective quality rating of buildings which indicates the competitive ability of each building to attract similar types of tenants



200
201
202
# File 'lib/realogy/app/models/realogy/listing.rb', line 200

def building_class
  self.dig_for_string("buildingClass")
end

#by_appointment_only?Boolean

isByAppointmentOnly : Boolean

Will be 'true' if a prospective buyer or agent has to contact the Seller 
to schedule an appoinment to view the Property

Returns:

  • (Boolean)


792
793
794
# File 'lib/realogy/app/models/realogy/listing.rb', line 792

def by_appointment_only?
  self.dig_for_boolean("listingSummary", "isByAppointmentOnly")
end

#call_to_show?Boolean

isCallToShow : Boolean

Will be 'true' if a prospective buyer or agent has to contact the Seller 
to schedule an appoinment to view the Property

Returns:

  • (Boolean)


770
771
772
# File 'lib/realogy/app/models/realogy/listing.rb', line 770

def call_to_show?
  self.dig_for_boolean("listingSummary", "isCallToShow")
end

#cap_rate_percentObject

capRatePercent : Decimal The capitalization rate on the property in percentage



207
208
209
# File 'lib/realogy/app/models/realogy/listing.rb', line 207

def cap_rate_percent
  self.dig_for_decimal("capRatePercent")
end

#cash_flowObject

cashFlow : Decimal The amount of cash flow the property brings in if its on sale



214
215
216
# File 'lib/realogy/app/models/realogy/listing.rb', line 214

def cash_flow
  self.dig_for_decimal("cashFlow")
end

#ceiling_heightObject

ceilingHeight : String The distance from the floor to the lowest hanging ceiling member or hanging objects of the industrial work area



222
223
224
# File 'lib/realogy/app/models/realogy/listing.rb', line 222

def ceiling_height
  self.dig_for_string("ceilingHeight")
end

#cityObject



669
670
671
# File 'lib/realogy/app/models/realogy/listing.rb', line 669

def city
  self.dig_for_string("listingSummary", "propertyAddress", "city")
end

#clearanceObject

clearance : String The distance from the floor to the lowest hanging ceiling member or hanging objects, beams, joists or truss work descending down into a substantial portion of the industrial work area



231
232
233
# File 'lib/realogy/app/models/realogy/listing.rb', line 231

def clearance
  self.dig_for_string("clearance")
end

#column_spacingObject

columnSpacing : String The distance between posts or vertical supporting beams in an industrial building



238
239
240
# File 'lib/realogy/app/models/realogy/listing.rb', line 238

def column_spacing
  self.dig_for_string("columnSpacing")
end

#common_area_factorObject

commonAreaFactor : Decimal The shared spaces on a single floor, and within a building in its entirety



245
246
247
# File 'lib/realogy/app/models/realogy/listing.rb', line 245

def common_area_factor
  self.dig_for_decimal("commonAreaFactor")
end

#company_namesObject

Array



5
6
7
8
# File 'lib/realogy/app/models/realogy/listing.rb', line 5

def company_names
  return nil if self.agents.nil?
  self.agents.map{|a| a.dig_for_string("office", "companyName")}.uniq
end

#countryObject



673
674
675
# File 'lib/realogy/app/models/realogy/listing.rb', line 673

def country
  self.dig_for_string("listingSummary", "propertyAddress", "country")
end

#country_codeObject



693
694
695
# File 'lib/realogy/app/models/realogy/listing.rb', line 693

def country_code
  self.dig_for_string("listingSummary", "propertyAddress", "countryCode")
end

#default_photo_urlObject

defaultPhotoURL : String

URL to the default photo for the property


869
870
871
# File 'lib/realogy/app/models/realogy/listing.rb', line 869

def default_photo_url
  self.dig_for_string("listingSummary", "defaultPhotoURL")
end

#developmentObject

development : String

The name of the Development that the property is located in


755
756
757
# File 'lib/realogy/app/models/realogy/listing.rb', line 755

def development
  self.dig_for_string("listingSummary", "development")
end

#districtObject



677
678
679
# File 'lib/realogy/app/models/realogy/listing.rb', line 677

def district
  self.dig_for_string("listingSummary", "propertyAddress", "district")
end

#dock_heightObject

dockHeight : String The amount of distance the height of the slab at the bottom of an overhead door is from the ground level



252
253
254
# File 'lib/realogy/app/models/realogy/listing.rb', line 252

def dock_height
  self.dig_for_string("dockHeight")
end

#down_paymentObject

downPayment : Decimal The down payment required by the current owner for a commercial listing



259
260
261
# File 'lib/realogy/app/models/realogy/listing.rb', line 259

def down_payment
  self.dig_for_decimal("downPayment")
end

#floorsObject

floors : Array Collection of floors for the property



557
558
559
# File 'lib/realogy/app/models/realogy/listing.rb', line 557

def floors
  self.dig_for_array("floors")
end

#formatted_addressObject



705
706
707
# File 'lib/realogy/app/models/realogy/listing.rb', line 705

def formatted_address
  self.dig_for_string("listingSummary", "propertyAddress", "formattedAddress")
end

#full_bathObject

fullBath : Integer Number of full baths in the property



13
14
15
# File 'lib/realogy/app/models/realogy/listing.rb', line 13

def full_bath
  self.dig_for_integer("fullBath")
end

#fully_leased_incomeObject

fullyLeasedIncome : Decimal The income that the owner currently receives if the property is fully leased



266
267
268
# File 'lib/realogy/app/models/realogy/listing.rb', line 266

def fully_leased_income
  self.dig_for_decimal("fullyLeasedIncome")
end

#geocode_confidence_levelObject



713
714
715
# File 'lib/realogy/app/models/realogy/listing.rb', line 713

def geocode_confidence_level
  self.dig_for_string("listingSummary", "propertyAddress", "geoCodeConfidenceLevel")
end

#geographic_regionsObject

geographicRegions : [Hash]

A collection of geographic regions associated with the location of the property


720
721
722
# File 'lib/realogy/app/models/realogy/listing.rb', line 720

def geographic_regions
  self.dig_for_array("listingSummary", "geographicRegions")
end

#gross_incomeObject

grossIncome : Decimal The gross income that the owner currently receives if the property is fully leased



273
274
275
# File 'lib/realogy/app/models/realogy/listing.rb', line 273

def gross_income
  self.dig_for_decimal("grossIncome")
end

#ground_level?Boolean

isGroundLevel : Boolean The Industrial ground level of the property

Returns:

  • (Boolean)


301
302
303
# File 'lib/realogy/app/models/realogy/listing.rb', line 301

def ground_level?
  self.dig_for_boolean("isGroundLevel")
end

#half_bathObject

halfBath : Integer Number of half baths in the property



20
21
22
# File 'lib/realogy/app/models/realogy/listing.rb', line 20

def half_bath
  self.dig_for_integer("halfBath")
end

#has_cross_docks?Boolean

isCrossDocks : Boolean Indicates whether the property has the CrossDocks associated with it

Returns:

  • (Boolean)


294
295
296
# File 'lib/realogy/app/models/realogy/listing.rb', line 294

def has_cross_docks?
  self.dig_for_boolean("isCrossDocks")
end

#has_open_house?Boolean

Returns:

  • (Boolean)


492
493
494
# File 'lib/realogy/app/models/realogy/listing.rb', line 492

def has_open_house?
  self.open_house.present?
end

#has_rail_access?Boolean

hasRailAccess : Boolean Indicates whether the property has the industrial rail access to it

Returns:

  • (Boolean)


280
281
282
# File 'lib/realogy/app/models/realogy/listing.rb', line 280

def has_rail_access?
  self.dig_for_boolean("hasRailAccess")
end

#has_sprinkler?Boolean

isSprinkler : Boolean Indicates whether property has the industrial sprinkler to it

Returns:

  • (Boolean)


308
309
310
# File 'lib/realogy/app/models/realogy/listing.rb', line 308

def has_sprinkler?
  self.dig_for_boolean("isSprinkler")
end

#hide_list_price?Boolean

isHideListPrice : Boolean

Will be 'true' if the list price is not supposed to be shown on consumer site

Returns:

  • (Boolean)


784
785
786
# File 'lib/realogy/app/models/realogy/listing.rb', line 784

def hide_list_price?
  self.dig_for_boolean("listingSummary", "isHideListPrice")
end

#is_for_auction?Boolean

isForAuction : Boolean

Will be 'true' if this property is being sold by Auction

Returns:

  • (Boolean)


777
778
779
# File 'lib/realogy/app/models/realogy/listing.rb', line 777

def is_for_auction?
  self.dig_for_boolean("listingSummary", "isForAuction")
end

#is_foreclosure?Boolean

isForeClosure : Boolean

Indicates if the property is for foreclosure

Returns:

  • (Boolean)


876
877
878
# File 'lib/realogy/app/models/realogy/listing.rb', line 876

def is_foreclosure?
  self.dig_for_boolean("listingSummary", "isForeClosure")
end

#is_short_sale?Boolean

isShortSale : Boolean

Indicates if the property is for short sale

Returns:

  • (Boolean)


883
884
885
# File 'lib/realogy/app/models/realogy/listing.rb', line 883

def is_short_sale?
  self.dig_for_boolean("listingSummary", "isShortSale")
end

#last_sold_onObject

lastSoldOn : DateTime

Timestamp on which the property is previously sold


897
898
899
# File 'lib/realogy/app/models/realogy/listing.rb', line 897

def last_sold_on
  self.dig_for_datetime("lastSoldOn")
end

#last_updatedObject

lastUpdateOn : DateTime

Timestamp when the listing was last updated at Realogy system


890
891
892
# File 'lib/realogy/app/models/realogy/listing.rb', line 890

def last_updated
  self.dig_for_datetime("listingSummary", "lastUpdateOn")
end

#latitudeObject



681
682
683
# File 'lib/realogy/app/models/realogy/listing.rb', line 681

def latitude
  self.dig_for_decimal("listingSummary", "propertyAddress", "latitude")
end

#lead_emailObject

TODO EXIST?



134
135
136
# File 'lib/realogy/app/models/realogy/listing.rb', line 134

def lead_email
  self.dig_for_string("leadEmail")
end

#lease_termObject

leaseTerm : String Indicates the Measurement. List price or Lease rate or rental value at which the sub unit is available



322
323
324
# File 'lib/realogy/app/models/realogy/listing.rb', line 322

def lease_term
  self.dig_for_string("leaseTerm")
end

#lease_typeObject

leaseType : String The type of lease for a listing



329
330
331
# File 'lib/realogy/app/models/realogy/listing.rb', line 329

def lease_type
  self.dig_for_string("leaseType")
end

#levelsObject

levels : Integer The number of levels (or storeys) in the Property



62
63
64
# File 'lib/realogy/app/models/realogy/listing.rb', line 62

def levels
  self.dig_for_integer("levels")
end

#linked_officeObject

TODO EXIST?



481
482
483
# File 'lib/realogy/app/models/realogy/listing.rb', line 481

def linked_office
  self.dig_for_hash("linkedOffice")
end

#list_priceObject

listPrice



643
644
645
# File 'lib/realogy/app/models/realogy/listing.rb', line 643

def list_price
  self.dig_for_hash("listingSummary", "listPrice")
end

#list_price_amountObject



647
648
649
# File 'lib/realogy/app/models/realogy/listing.rb', line 647

def list_price_amount
  self.dig_for_integer("listingSummary", "listPrice", "amount")
end

#list_price_currency_codeObject



651
652
653
# File 'lib/realogy/app/models/realogy/listing.rb', line 651

def list_price_currency_code
  self.dig_for_string("listingSummary", "listPrice", "currencyCode")
end

#list_price_in_usdObject



655
656
657
# File 'lib/realogy/app/models/realogy/listing.rb', line 655

def list_price_in_usd
  self.dig_for_integer("listingSummary", "listPrice", "listPriceinUSD")
end

#listed_onObject

listedOn : String

The date when the Listing became active


623
624
625
# File 'lib/realogy/app/models/realogy/listing.rb', line 623

def listed_on
  self.dig_for_string("listingSummary", "listedOn")
end

#listing_idObject

listingId : String

Globally unique identifier assigned to a listing by Realogy


594
595
596
# File 'lib/realogy/app/models/realogy/listing.rb', line 594

def listing_id
  self.dig_for_string("listingSummary", "listingId")
end

#listing_typeObject

listingType : String

The type of Listings you are interested in. It can be ForSale, ForRent, 
ForSaleCommercial and ForLeaseCommercial.


616
617
618
# File 'lib/realogy/app/models/realogy/listing.rb', line 616

def listing_type
  self.dig_for_string("listingSummary", "listingType")
end

#listing_urlObject

listingURL : String

Public URL where the listing can be accessed


748
749
750
# File 'lib/realogy/app/models/realogy/listing.rb', line 748

def listing_url
  self.dig_for_string("listingSummary", "listingURL")
end

#loan_paymentObject

loanPayment : Decimal The current loan payment value on the property being paid by the owner



336
337
338
# File 'lib/realogy/app/models/realogy/listing.rb', line 336

def loan_payment
  self.dig_for_decimal("loanPayment")
end

#longitudeObject



685
686
687
# File 'lib/realogy/app/models/realogy/listing.rb', line 685

def longitude
  self.dig_for_decimal("listingSummary", "propertyAddress", "longitude")
end

#lot_dimensionObject

lotDimension : String The dimensions of the Lot that the property is located in



55
56
57
# File 'lib/realogy/app/models/realogy/listing.rb', line 55

def lot_dimension
  self.dig_for_string("lotDimension")
end

#lot_sizeObject

lotSize : String

Lot size of the property


841
842
843
# File 'lib/realogy/app/models/realogy/listing.rb', line 841

def lot_size
  self.dig_for_string("listingSummary", "lotSize")
end

#mapping_allowed?Boolean

isAllowMapping : Boolean Indicates whether or not the property address should be displayed on a map

Returns:

  • (Boolean)


287
288
289
# File 'lib/realogy/app/models/realogy/listing.rb', line 287

def mapping_allowed?
  self.dig_for_boolean("isAllowMapping")
end

#max_contiguous_areaObject

maxContiguousArea : Decimal The largest amount of open space available in a commercial building



343
344
345
# File 'lib/realogy/app/models/realogy/listing.rb', line 343

def max_contiguous_area
  self.dig_for_decimal("maxContiguousArea")
end

#maximum_lease_rateObject

maximumLeaseRate : Decimal The Maximum Lease Rate associated with the listing



350
351
352
# File 'lib/realogy/app/models/realogy/listing.rb', line 350

def maximum_lease_rate
  self.dig_for_decimal("maximumLeaseRate")
end

#mediaObject

media : Array Collection of media for this property



527
528
529
# File 'lib/realogy/app/models/realogy/listing.rb', line 527

def media
  self.dig_for_array("media")
end

#min_divisible_areaObject

minDivisibleArea : Decimal The minimum space which can be leased



357
358
359
# File 'lib/realogy/app/models/realogy/listing.rb', line 357

def min_divisible_area
  self.dig_for_decimal("minDivisibleArea")
end

#minimum_lease_rateObject

minimumLeaseRate : Decimal The Minimum Lease Rate associated with the listing



364
365
366
# File 'lib/realogy/app/models/realogy/listing.rb', line 364

def minimum_lease_rate
  self.dig_for_decimal("minimumLeaseRate")
end

#mls_informationObject

mlsInformation : Array Collection of MLS information for the property



578
579
580
# File 'lib/realogy/app/models/realogy/listing.rb', line 578

def mls_information
  self.dig_for_array("mlsInformation")
end

#mls_numbersObject

mlsNumbers : [String]

A collection of MLS numbers associated with the Listing


727
728
729
# File 'lib/realogy/app/models/realogy/listing.rb', line 727

def mls_numbers
  self.dig_for_array("listingSummary", "mlsNumbers")
end

#net_operating_incomeObject

netOperatingIncome : Decimal The potential rental income plus other income, less vacancy, credit losses, and operating expenses



371
372
373
# File 'lib/realogy/app/models/realogy/listing.rb', line 371

def net_operating_income
  self.dig_for_decimal("netOperatingIncome")
end

#new_construction?Boolean

isNewConstruction : Boolean

Will be 'true' if the Property is a new construction

Returns:

  • (Boolean)


741
742
743
# File 'lib/realogy/app/models/realogy/listing.rb', line 741

def new_construction?
  self.dig_for_boolean("listingSummary", "isNewConstruction")
end

#no_of_bedroomsObject

noOfBedrooms : Integer

Number of bedrooms in the property


848
849
850
# File 'lib/realogy/app/models/realogy/listing.rb', line 848

def no_of_bedrooms
  self.dig_for_integer("listingSummary", "noOfBedrooms")
end

#number_of_ballroomsObject

numberOfBallrooms : Integer The number of ballrooms in a property



385
386
387
# File 'lib/realogy/app/models/realogy/listing.rb', line 385

def number_of_ballrooms
  self.dig_for_integer("numberOfBallrooms")
end

#number_of_conference_roomsObject

numberOfConferenceRooms : Integer The number of conference rooms in a property



392
393
394
# File 'lib/realogy/app/models/realogy/listing.rb', line 392

def number_of_conference_rooms
  self.dig_for_integer("numberOfConferenceRooms")
end

#number_of_docksObject

numberOfDocks : Integer The Number of Docks associated with the property



378
379
380
# File 'lib/realogy/app/models/realogy/listing.rb', line 378

def number_of_docks
  self.dig_for_integer("numberOfDocks")
end

#occupancy_rateObject

occupancyRate : Integer The number of units in a building that have been rented out as compared to the total number of units in the building



400
401
402
# File 'lib/realogy/app/models/realogy/listing.rb', line 400

def occupancy_rate
  self.dig_for_integer("occupancyRate")
end

#open_houseObject

openHouse : [Hash] Collection of OpenHouses for the property



499
500
501
# File 'lib/realogy/app/models/realogy/listing.rb', line 499

def open_house
  self.dig_for_array("openHouse")
end

#parking_placesObject

parkingPlaces : Integer Number of parking places in the property



48
49
50
# File 'lib/realogy/app/models/realogy/listing.rb', line 48

def parking_places
  self.dig_for_integer("parkingPlaces")
end

#parking_ratioObject

parkingRatio : Decimal The ratio of available standard parking spaces to the gross leasable area of a property



407
408
409
# File 'lib/realogy/app/models/realogy/listing.rb', line 407

def parking_ratio
  self.dig_for_decimal("parkingRatio")
end

#partial_bathObject

partialBath : Integer Number of partial baths in the property



41
42
43
# File 'lib/realogy/app/models/realogy/listing.rb', line 41

def partial_bath
  self.dig_for_integer("partialBath")
end

#pending?Boolean

isPending : Boolean

Will be 'true' if this is presently Under Contract (Pending)

Returns:

  • (Boolean)


608
609
610
# File 'lib/realogy/app/models/realogy/listing.rb', line 608

def pending?
  self.dig_for_boolean("listingSummary", "isPending")
end

#photo_countObject

photoCount : Integer

Number of photos associated with listing


630
631
632
# File 'lib/realogy/app/models/realogy/listing.rb', line 630

def photo_count
  self.dig_for_integer("listingSummary", "photoCount")
end

#postal_codeObject



689
690
691
# File 'lib/realogy/app/models/realogy/listing.rb', line 689

def postal_code
  self.dig_for_string("listingSummary", "propertyAddress", "postalCode")
end

#powerObject

power : String The type and voltage of power applicable for the property



414
415
416
# File 'lib/realogy/app/models/realogy/listing.rb', line 414

def power
  self.dig_for_string("power")
end

#price_per_areaObject

pricePerArea : Decimal The price per area of the property, this is generally the list price divided by the area



421
422
423
# File 'lib/realogy/app/models/realogy/listing.rb', line 421

def price_per_area
  self.dig_for_decimal("pricePerArea")
end

#price_upon_request?Boolean

Returns:

  • (Boolean)


659
660
661
# File 'lib/realogy/app/models/realogy/listing.rb', line 659

def price_upon_request?
  self.dig_for_boolean("listingSummary", "listPrice", "isPriceUponRequest")
end

#property_addressObject

propertyAddress



665
666
667
# File 'lib/realogy/app/models/realogy/listing.rb', line 665

def property_address
  self.dig_for_hash("listingSummary", "propertyAddress")
end

#property_categoryObject

propertyCategory : String

Category of property


799
800
801
# File 'lib/realogy/app/models/realogy/listing.rb', line 799

def property_category
  self.dig_for_string("listingSummary", "propertyCategory")
end

#property_featuresObject

propertyFeatures : Array Collection of features for the property



488
489
490
# File 'lib/realogy/app/models/realogy/listing.rb', line 488

def property_features
  self.dig_for_array("propertyFeatures")
end

#property_feesObject

propertyFees : Array Collection of property fees



513
514
515
# File 'lib/realogy/app/models/realogy/listing.rb', line 513

def property_fees
  self.dig_for_array("propertyFees")
end

#property_floorsObject

propertyFloors : Array Collection of property floors for the property



550
551
552
# File 'lib/realogy/app/models/realogy/listing.rb', line 550

def property_floors
  self.dig_for_array("propertyFloors")
end

#property_nameObject

propertyName : String

Name of Property


827
828
829
# File 'lib/realogy/app/models/realogy/listing.rb', line 827

def property_name
  self.dig_for_string("listingSummary", "propertyName")
end

#property_roomsObject

propertyRooms : Array Collection of propertyRooms for the property



543
544
545
# File 'lib/realogy/app/models/realogy/listing.rb', line 543

def property_rooms
  self.dig_for_array("propertyRooms")
end

#property_styleObject

propertyStyle : String

Property Style


813
814
815
# File 'lib/realogy/app/models/realogy/listing.rb', line 813

def property_style
  self.dig_for_string("listingSummary", "propertyStyle")
end

#property_typeObject

propertyType : String

Property Type


806
807
808
# File 'lib/realogy/app/models/realogy/listing.rb', line 806

def property_type
  self.dig_for_string("listingSummary", "propertyType")
end

#property_useObject

propertyUse : String

Property Use information of the property


820
821
822
# File 'lib/realogy/app/models/realogy/listing.rb', line 820

def property_use
  self.dig_for_string("listingSummary", "propertyUse")
end

#provider_categoryObject

providerCategory : String The category of the provider of the listing information



111
112
113
# File 'lib/realogy/app/models/realogy/listing.rb', line 111

def provider_category
  self.dig_for_string("providerCategory")
end

#provider_keyObject

providerKey : String The unique identifier for the listing in the provider’s system



125
126
127
# File 'lib/realogy/app/models/realogy/listing.rb', line 125

def provider_key
  self.dig_for_string("providerKey")
end

#provider_nameObject

providerName : String The name of the provider of the listing information



104
105
106
# File 'lib/realogy/app/models/realogy/listing.rb', line 104

def provider_name
  self.dig_for_string("providerName")
end

#provider_urlObject

providerURL : String The URL of the provider of the listing information



118
119
120
# File 'lib/realogy/app/models/realogy/listing.rb', line 118

def provider_url
  self.dig_for_string("providerURL")
end

#quarter_bathObject

quarterBath : Integer Number of quarter baths in the property



27
28
29
# File 'lib/realogy/app/models/realogy/listing.rb', line 27

def quarter_bath
  self.dig_for_integer("quarterBath")
end

#remarksObject

remarks : Array Collection of remarks for the property



506
507
508
# File 'lib/realogy/app/models/realogy/listing.rb', line 506

def remarks
  self.dig_for_array("remarks")
end

#rental_frequencyObject

rentalFrequency : String

The frequency at which the Rental amount is to be paid


762
763
764
# File 'lib/realogy/app/models/realogy/listing.rb', line 762

def rental_frequency
  self.dig_for_string("listingSummary", "rentalFrequency")
end

#rfg_listing_idObject

RFGListingId : String

A short unique identifier assigned to the Listing by Realogy


734
735
736
# File 'lib/realogy/app/models/realogy/listing.rb', line 734

def rfg_listing_id
  self.dig_for_string("listingSummary", "RFGListingId")
end

#schedule_incomeObject

scheduleIncome : Decimal The gross income that would be collected from a rental property with all units 100% occupied and rented



428
429
430
# File 'lib/realogy/app/models/realogy/listing.rb', line 428

def schedule_income
  self.dig_for_decimal("scheduleIncome")
end

#schoolsObject

TODO blank strings in returned hash



536
537
538
# File 'lib/realogy/app/models/realogy/listing.rb', line 536

def schools
  self.dig_for_array("schools")
end

#show_address_on_internet?Boolean

isShowAddressOnInternet : Boolean

Will be 'true' if  the property address shall be displayed on Internet

Returns:

  • (Boolean)


918
919
920
# File 'lib/realogy/app/models/realogy/listing.rb', line 918

def show_address_on_internet?
  self.dig_for_boolean("listingSummary", "isShowAddressOnInternet")
end

#square_footageObject

squareFootage : Double

Square Footage of the property


862
863
864
# File 'lib/realogy/app/models/realogy/listing.rb', line 862

def square_footage
  self.dig_for_decimal("listingSummary", "squareFootage")
end

#state_provinceObject



697
698
699
# File 'lib/realogy/app/models/realogy/listing.rb', line 697

def state_province
  self.dig_for_string("listingSummary", "propertyAddress", "stateProvince")
end

#state_province_codeObject



709
710
711
# File 'lib/realogy/app/models/realogy/listing.rb', line 709

def state_province_code
  self.dig_for_string("listingSummary", "propertyAddress", "stateProvinceCode")
end

#street_addressObject



701
702
703
# File 'lib/realogy/app/models/realogy/listing.rb', line 701

def street_address
  self.dig_for_string("listingSummary", "propertyAddress", "streetAddress")
end

#sub_lease?Boolean

isSubLease : Boolean The value indicating whether the listing is a sublease

Returns:

  • (Boolean)


315
316
317
# File 'lib/realogy/app/models/realogy/listing.rb', line 315

def sub_lease?
  self.dig_for_boolean("isSubLease")
end

#sub_unitsObject

subUnits : Array Collection of sub units for the property



564
565
566
# File 'lib/realogy/app/models/realogy/listing.rb', line 564

def sub_units
  self.dig_for_array("subUnits")
end

#suite_apartment_nameObject

suiteApartmentName : String The Suite Apartment Name associated with the listing



435
436
437
# File 'lib/realogy/app/models/realogy/listing.rb', line 435

def suite_apartment_name
  self.dig_for_string("power")
end

#suitesObject

suites : Array Collection of sub units/suites for the property



571
572
573
# File 'lib/realogy/app/models/realogy/listing.rb', line 571

def suites
  self.dig_for_array("suites")
end

#tax_id_numberObject

taxIdNumber : String The Tax Id Number associated with the listing



442
443
444
# File 'lib/realogy/app/models/realogy/listing.rb', line 442

def tax_id_number
  self.dig_for_string("taxIdNumber")
end

#tax_informationObject

taxInformation : Array Tax information associated with the Property



585
586
587
# File 'lib/realogy/app/models/realogy/listing.rb', line 585

def tax_information
  self.dig_for_array("taxInformation")
end

#tax_roll_numberObject

taxRollNumber : String An identifier for a property within a given jurisdiction, such as a city or county, that can be taxed



90
91
92
# File 'lib/realogy/app/models/realogy/listing.rb', line 90

def tax_roll_number
  self.dig_for_string("taxRollNumber")
end

#tax_yearObject

taxYear : Integer The year in which tax was calculated



449
450
451
# File 'lib/realogy/app/models/realogy/listing.rb', line 449

def tax_year
  self.dig_for_integer("taxYear")
end

#teamObject

team : Hash

The team associated with the Listing


911
912
913
# File 'lib/realogy/app/models/realogy/listing.rb', line 911

def team
  self.dig_for_hash("listingSummary", "team")
end

#three_quarter_bathObject

threeQuarterBath : Integer Number of three quarter baths in the property



34
35
36
# File 'lib/realogy/app/models/realogy/listing.rb', line 34

def three_quarter_bath
  self.dig_for_integer("threeQuarterBath")
end

#total_acresObject

totalAcres : String

Total Acres of the property


855
856
857
# File 'lib/realogy/app/models/realogy/listing.rb', line 855

def total_acres
  self.dig_for_string("listingSummary", "totalAcres")
end

#total_bathObject

totalBath : Integer

Number of partial baths in the property


834
835
836
# File 'lib/realogy/app/models/realogy/listing.rb', line 834

def total_bath
  self.dig_for_integer("listingSummary", "totalBath")
end

#total_expensesObject

totalExpenses : Decimal The Total Expenses associated with the listing



456
457
458
# File 'lib/realogy/app/models/realogy/listing.rb', line 456

def total_expenses
  self.dig_for_decimal("totalExpenses")
end

#total_roomsObject

totalRooms : Integer Number of total rooms in the property



83
84
85
# File 'lib/realogy/app/models/realogy/listing.rb', line 83

def total_rooms
  self.dig_for_integer("totalRooms")
end

#total_unitsObject

totalUnits : Integer The Total Units associated with the listing



463
464
465
# File 'lib/realogy/app/models/realogy/listing.rb', line 463

def total_units
  self.dig_for_integer("totalUnits")
end

#turning_radiusObject

turningRadius : String The available turning radius available in the industrial property. Turning radius is the size of smallest possible circular turn a vehicle is able to take



471
472
473
# File 'lib/realogy/app/models/realogy/listing.rb', line 471

def turning_radius
  self.dig_for_string("turningRadius")
end

#video_countObject

videoCount : Integer

Number of videos associated with listing


637
638
639
# File 'lib/realogy/app/models/realogy/listing.rb', line 637

def video_count
  self.dig_for_integer("listingSummary", "videoCount")
end

#websitesObject

webSites : Array Collection of websites for the property



520
521
522
# File 'lib/realogy/app/models/realogy/listing.rb', line 520

def websites
  self.dig_for_array("webSites")
end

#year_builtObject

yearBuilt : String The year in which the property was built



69
70
71
# File 'lib/realogy/app/models/realogy/listing.rb', line 69

def year_built
  self.dig_for_integer("yearBuilt")
end

#year_renovatedObject

yearRenovated : String The year in which the property was last renovated



76
77
78
# File 'lib/realogy/app/models/realogy/listing.rb', line 76

def year_renovated
  self.dig_for_integer("yearRenovated")
end

#zoningObject

zoning : String Property in terms of permitted usage of land based on mapped zones by the authorities



97
98
99
# File 'lib/realogy/app/models/realogy/listing.rb', line 97

def zoning
  self.dig_for_string("zoning")
end