Class Inventory

java.lang.Object
travel.wink.sdk.affiliate.model.Inventory

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-11-08T09:35:16.430198433+07:00[Asia/Bangkok]") public class Inventory extends Object
Channel inventory
  • Field Details

  • Constructor Details

    • Inventory

      public Inventory()
  • Method Details

    • identifier

      public Inventory identifier(UUID identifier)
    • getIdentifier

      @Nullable @Valid public @Valid UUID getIdentifier()
      Inventory identifier
      Returns:
      identifier
    • setIdentifier

      public void setIdentifier(UUID identifier)
    • salesChannel

      public Inventory salesChannel(SalesChannel salesChannel)
    • getSalesChannel

      @Nonnull @NotNull @Valid public @NotNull @Valid SalesChannel getSalesChannel()
      Get salesChannel
      Returns:
      salesChannel
    • setSalesChannel

      public void setSalesChannel(SalesChannel salesChannel)
    • inventoryType

      public Inventory inventoryType(Inventory.InventoryTypeEnum inventoryType)
    • getInventoryType

      @Nonnull @NotNull public @NotNull Inventory.InventoryTypeEnum getInventoryType()
      Inventory type
      Returns:
      inventoryType
    • setInventoryType

      public void setInventoryType(Inventory.InventoryTypeEnum inventoryType)
    • inventoryIdentifier

      public Inventory inventoryIdentifier(UUID inventoryIdentifier)
    • getInventoryIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getInventoryIdentifier()
      Inventory type identifier
      Returns:
      inventoryIdentifier
    • setInventoryIdentifier

      public void setInventoryIdentifier(UUID inventoryIdentifier)
    • inventoryName

      public Inventory inventoryName(String inventoryName)
    • getInventoryName

      @Nonnull @NotNull public @NotNull String getInventoryName()
      Name of inventory as hotel is seeing it
      Returns:
      inventoryName
    • setInventoryName

      public void setInventoryName(String inventoryName)
    • inventoryNameInEnglish

      public Inventory inventoryNameInEnglish(String inventoryNameInEnglish)
    • getInventoryNameInEnglish

      @Nonnull @NotNull public @NotNull String getInventoryNameInEnglish()
      Name of inventory as traveler is seeing it
      Returns:
      inventoryNameInEnglish
    • setInventoryNameInEnglish

      public void setInventoryNameInEnglish(String inventoryNameInEnglish)
    • enabled

      public Inventory enabled(Boolean enabled)
    • getEnabled

      @Nonnull @NotNull public @NotNull Boolean getEnabled()
      Whether this inventory is enabled or not
      Returns:
      enabled
    • setEnabled

      public void setEnabled(Boolean enabled)
    • imageIdentifier

      public Inventory imageIdentifier(String imageIdentifier)
    • getImageIdentifier

      @Nullable public String getImageIdentifier()
      Main image of inventory
      Returns:
      imageIdentifier
    • setImageIdentifier

      public void setImageIdentifier(String imageIdentifier)
    • basePrice

      public Inventory basePrice(Moneys basePrice)
    • getBasePrice

      @Nullable @Valid public @Valid Moneys getBasePrice()
      Get basePrice
      Returns:
      basePrice
    • setBasePrice

      public void setBasePrice(Moneys basePrice)
    • commonBasePrice

      public Inventory commonBasePrice(Moneys commonBasePrice)
    • getCommonBasePrice

      @Nullable @Valid public @Valid Moneys getCommonBasePrice()
      Get commonBasePrice
      Returns:
      commonBasePrice
    • setCommonBasePrice

      public void setCommonBasePrice(Moneys commonBasePrice)
    • location

      public Inventory location(HotelOnMapLocation location)
    • getLocation

      @Nullable @Valid public @Valid HotelOnMapLocation getLocation()
      Get location
      Returns:
      location
    • setLocation

      public void setLocation(HotelOnMapLocation location)
    • address

      public Inventory address(Address address)
    • getAddress

      @Nonnull @NotNull @Valid public @NotNull @Valid Address getAddress()
      Get address
      Returns:
      address
    • setAddress

      public void setAddress(Address address)
    • quantity

      public Inventory quantity(Integer quantity)
    • getQuantity

      @Nullable public Integer getQuantity()
      quantity
      Returns:
      quantity
    • setQuantity

      public void setQuantity(Integer quantity)
    • commissionable

      public Inventory commissionable(Boolean commissionable)
    • getCommissionable

      @Nullable public Boolean getCommissionable()
      Whether this is commissionable or not
      Returns:
      commissionable
    • setCommissionable

      public void setCommissionable(Boolean commissionable)
    • bookable

      public Inventory bookable(Boolean bookable)
    • getBookable

      @Nullable public Boolean getBookable()
      Whether inventory can be booked
      Returns:
      bookable
    • setBookable

      public void setBookable(Boolean bookable)
    • hotel

      public Inventory hotel(HotelOnMap hotel)
    • getHotel

      @Nullable @Valid public @Valid HotelOnMap getHotel()
      Get hotel
      Returns:
      hotel
    • setHotel

      public void setHotel(HotelOnMap hotel)
    • 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