LigoAgreement
Defines an agreement between two parties to use a vehicle.
type LigoAgreement struct {
# The order that started the agreement
order &Order
# Details of the reservation
reservation &RentalCarReservation
}
Usage
The LigoAgreement contains two sides of an agreement. An order defines the payment being provided by a customer to a seller and a reservation defines the service being provided by a seller to a customer.
The LigoAgreement defines how state can change in a booking. This is the object that can be used when resolving disputes. See Agreements and State.
The LigoAgreement should be encrypted and sent to the seller of the Offer to request a booking as described in Request a Booking.
Examples
Client Compatibility
| Property | Ligo MVP |
|---|---|
order | 🚧 |
reservation | 🚧 |