Package travel.wink.sdk.affiliate.model
Class InventoryAffiliate
java.lang.Object
travel.wink.sdk.affiliate.model.InventoryAffiliate
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-08-24T16:35:23.308163582+07:00[Asia/Bangkok]")
public class InventoryAffiliate
extends Object
Channel inventory
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumInventory typestatic enumLevel of expensiveness. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddress(AddressAffiliate address) commissionable(Boolean commissionable) boolean@NotNull @Valid AddressAffiliateGet address@NotNull BooleanWhether inventory can be booked@NotNull BooleanWhether this is commissionable or not@NotNull BooleanWhether this inventory is enabled or not@NotNull @Valid HotelOnMapAffiliategetHotel()Get hotel@NotNull @Valid UUIDInventory identifier@NotNull StringMain image of inventory@NotNull @Valid UUIDInventory type identifier@NotNull StringName of inventory as hotel is seeing it@NotNull StringName of inventory as traveler is seeing it@NotNull InventoryAffiliate.InventoryTypeEnumInventory type@NotNull @Valid GeoJsonPointAffiliateGet location@NotNull InventoryAffiliate.PricePointEnumLevel of expensiveness.@NotNull Integerquantity@NotNull @Valid SalesChannelAffiliateGet salesChannelinthashCode()hotel(HotelOnMapAffiliate hotel) identifier(UUID identifier) imageIdentifier(String imageIdentifier) inventoryIdentifier(UUID inventoryIdentifier) inventoryName(String inventoryName) inventoryNameInEnglish(String inventoryNameInEnglish) inventoryType(InventoryAffiliate.InventoryTypeEnum inventoryType) location(GeoJsonPointAffiliate location) pricePoint(InventoryAffiliate.PricePointEnum pricePoint) salesChannel(SalesChannelAffiliate salesChannel) voidsetAddress(AddressAffiliate address) voidsetBookable(Boolean bookable) voidsetCommissionable(Boolean commissionable) voidsetEnabled(Boolean enabled) voidsetHotel(HotelOnMapAffiliate hotel) voidsetIdentifier(UUID identifier) voidsetImageIdentifier(String imageIdentifier) voidsetInventoryIdentifier(UUID inventoryIdentifier) voidsetInventoryName(String inventoryName) voidsetInventoryNameInEnglish(String inventoryNameInEnglish) voidsetInventoryType(InventoryAffiliate.InventoryTypeEnum inventoryType) voidsetLocation(GeoJsonPointAffiliate location) voidsetPricePoint(InventoryAffiliate.PricePointEnum pricePoint) voidsetQuantity(Integer quantity) voidsetSalesChannel(SalesChannelAffiliate salesChannel) toString()
-
Field Details
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_SALES_CHANNEL
- See Also:
-
JSON_PROPERTY_INVENTORY_TYPE
- See Also:
-
JSON_PROPERTY_INVENTORY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_INVENTORY_NAME
- See Also:
-
JSON_PROPERTY_INVENTORY_NAME_IN_ENGLISH
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_IMAGE_IDENTIFIER
- See Also:
-
JSON_PROPERTY_PRICE_POINT
- See Also:
-
JSON_PROPERTY_LOCATION
- See Also:
-
JSON_PROPERTY_ADDRESS
- See Also:
-
JSON_PROPERTY_QUANTITY
- See Also:
-
JSON_PROPERTY_COMMISSIONABLE
- See Also:
-
JSON_PROPERTY_BOOKABLE
- See Also:
-
JSON_PROPERTY_HOTEL
- See Also:
-
-
Constructor Details
-
InventoryAffiliate
public InventoryAffiliate()
-
-
Method Details
-
identifier
-
getIdentifier
Inventory identifier- Returns:
- identifier
-
setIdentifier
-
salesChannel
-
getSalesChannel
Get salesChannel- Returns:
- salesChannel
-
setSalesChannel
-
inventoryType
-
getInventoryType
Inventory type- Returns:
- inventoryType
-
setInventoryType
-
inventoryIdentifier
-
getInventoryIdentifier
Inventory type identifier- Returns:
- inventoryIdentifier
-
setInventoryIdentifier
-
inventoryName
-
getInventoryName
Name of inventory as hotel is seeing it- Returns:
- inventoryName
-
setInventoryName
-
inventoryNameInEnglish
-
getInventoryNameInEnglish
Name of inventory as traveler is seeing it- Returns:
- inventoryNameInEnglish
-
setInventoryNameInEnglish
-
enabled
-
getEnabled
Whether this inventory is enabled or not- Returns:
- enabled
-
setEnabled
-
imageIdentifier
-
getImageIdentifier
Main image of inventory- Returns:
- imageIdentifier
-
setImageIdentifier
-
pricePoint
-
getPricePoint
Level of expensiveness.- Returns:
- pricePoint
-
setPricePoint
-
location
-
getLocation
Get location- Returns:
- location
-
setLocation
-
address
-
getAddress
Get address- Returns:
- address
-
setAddress
-
quantity
-
getQuantity
quantity- Returns:
- quantity
-
setQuantity
-
commissionable
-
getCommissionable
Whether this is commissionable or not- Returns:
- commissionable
-
setCommissionable
-
bookable
-
getBookable
Whether inventory can be booked- Returns:
- bookable
-
setBookable
-
hotel
-
getHotel
Get hotel- Returns:
- hotel
-
setHotel
-
equals
-
hashCode
public int hashCode() -
toString
-