Transaction

Represents the purchase of a spot for a specified amount of time.

Field Type Required Description
startTime Date True The start date/time of the guest's occupancy.
endTime Date True The end date/time of the guest's occupancy.
price Number True The price paid for the spot.
hostID ObjectId True The id of the "host" user.
guestID ObjectId True The id of the "guest" user.
spotID ObjectId True The id of the purchased spot.

results matching ""

    No results matching ""