Class RawBookingContract

java.lang.Object
travel.wink.sdk.payment.model.RawBookingContract

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-05-27T09:48:07.068993+07:00[Asia/Bangkok]") public class RawBookingContract extends Object
contract that started it all
  • Field Details

  • Constructor Details

    • RawBookingContract

      public RawBookingContract()
  • Method Details

    • apiKey

      public RawBookingContract apiKey(String apiKey)
    • getApiKey

      @Nonnull @NotNull public @NotNull String getApiKey()
      API key for the integrating account making the call
      Returns:
      apiKey
    • setApiKey

      public void setApiKey(String apiKey)
    • displayCurrency

      public RawBookingContract displayCurrency(String displayCurrency)
    • getDisplayCurrency

      @Nonnull @NotNull public @NotNull String getDisplayCurrency()
      The desired quote
      Returns:
      displayCurrency
    • setDisplayCurrency

      public void setDisplayCurrency(String displayCurrency)
    • sourceUrl

      public RawBookingContract sourceUrl(String sourceUrl)
    • getSourceUrl

      @Nonnull @NotNull public @NotNull String getSourceUrl()
      Where did the booking occur
      Returns:
      sourceUrl
    • setSourceUrl

      public void setSourceUrl(String sourceUrl)
    • contractList

      public RawBookingContract contractList(List<RawSupplierContract> contractList)
    • addContractListItem

      public RawBookingContract addContractListItem(RawSupplierContract contractListItem)
    • getContractList

      @Nonnull @NotNull @Valid @Size(min=1, max=2147483647) public @NotNull @Valid @Size(min=1,max=2147483647) List<RawSupplierContract> getContractList()
      Get contractList
      Returns:
      contractList
    • setContractList

      public void setContractList(List<RawSupplierContract> contractList)
    • traceId

      public RawBookingContract traceId(String traceId)
    • getTraceId

      @Nullable public String getTraceId()
      Integrator can choose to include a unique identifier to help identify the collection of bookings
      Returns:
      traceId
    • setTraceId

      public void setTraceId(String traceId)
    • 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