Class PricedBookingContract

java.lang.Object
travel.wink.sdk.payment.acquiring.model.PricedBookingContract

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-05-28T13:50:07.346586+07:00[Asia/Bangkok]") public class PricedBookingContract extends Object
Validated and priced contract
  • Field Details

  • Constructor Details

    • PricedBookingContract

      public PricedBookingContract()
  • Method Details

    • apiKey

      public PricedBookingContract 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 PricedBookingContract displayCurrency(String displayCurrency)
    • getDisplayCurrency

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

      public void setDisplayCurrency(String displayCurrency)
    • sourceUrl

      public PricedBookingContract 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 PricedBookingContract contractList(List<PricedSupplierContract> contractList)
    • addContractListItem

      public PricedBookingContract addContractListItem(PricedSupplierContract contractListItem)
    • getContractList

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

      public void setContractList(List<PricedSupplierContract> contractList)
    • totalDisplayPrice

      public PricedBookingContract totalDisplayPrice(Moneys totalDisplayPrice)
    • getTotalDisplayPrice

      @Nullable @Valid public @Valid Moneys getTotalDisplayPrice()
      Get totalDisplayPrice
      Returns:
      totalDisplayPrice
    • setTotalDisplayPrice

      public void setTotalDisplayPrice(Moneys totalDisplayPrice)
    • 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