Class BookingView

java.lang.Object
travel.wink.sdk.extranet.model.BookingView

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-05-27T09:29:05.118372+07:00[Asia/Bangkok]") public class BookingView extends Object
BookingView
  • Field Details

  • Constructor Details

  • Method Details

    • getId

      @Nullable public String getId()
      Unique document identifier
      Returns:
      id
    • getCreatedDate

      @Nullable @Valid public @Valid OffsetDateTime getCreatedDate()
      Datetime this record was first created
      Returns:
      createdDate
    • getLastUpdate

      @Nullable @Valid public @Valid OffsetDateTime getLastUpdate()
      Datetime this record was last updated
      Returns:
      lastUpdate
    • getVersion

      @Nullable public Long getVersion()
      Version property that shows how many times this document has been persisted. Document will not persist if the version property is less than current version property in the system. Result in an optimistic locking exception.
      Returns:
      version
    • booking

      public BookingView booking(Booking booking)
    • getBooking

      @Nullable @Valid public @Valid Booking getBooking()
      Get booking
      Returns:
      booking
    • setBooking

      public void setBooking(Booking booking)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object