Add driver compensation to ToOCSS and FromOCSS transformations
Build and Push Docker Image / build_and_push (push) Has been cancelled
Details
Build and Push Docker Image / build_and_push (push) Has been cancelled
Details
This commit is contained in:
parent
5dbb3e23d4
commit
4392f22783
|
@ -267,6 +267,8 @@ func (b *CarpoolServiceBooking) ToOCSS() ocss.Booking {
|
|||
Status: status,
|
||||
DriverJourneyID: b.DriverJourneyId,
|
||||
PassengerJourneyID: b.PassengerJourneyId,
|
||||
DriverCompensationAmount: b.DriverCompensationAmount,
|
||||
DriverCompensationCurrency: b.DriverCompensationCurrency,
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -350,6 +352,8 @@ func BookingFromOCSS(b ocss.Booking) *CarpoolServiceBooking {
|
|||
Price: &price,
|
||||
DriverJourneyId: b.DriverJourneyID,
|
||||
PassengerJourneyId: b.PassengerJourneyID,
|
||||
DriverCompensationAmount: b.DriverCompensationAmount,
|
||||
DriverCompensationCurrency: b.DriverCompensationCurrency,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue