Class SalesChannelLightweightAuthenticatedEntity
java.lang.Object
travel.wink.sdk.user.settings.model.SalesChannelLightweightAuthenticatedEntity
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-06-26T20:22:15.850489898+07:00[Asia/Bangkok]",
comments="Generator version: 7.13.0")
public class SalesChannelLightweightAuthenticatedEntity
extends Object
SalesChannelLightweightAuthenticatedEntity
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhat type of segment of channel is this. -
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 TypeMethodDescriptionaddRateModifierBundlesItem(SpecialRateBundleLightweightAuthenticatedEntity rateModifierBundlesItem) addRateModifiersItem(SpecialRateLightweightAuthenticatedEntity rateModifiersItem) blacklisted(Boolean blacklisted) channelDisabled(Boolean channelDisabled) commission(Float commission) boolean@NotNull BooleanA way to blacklist a specific channel a property doesn't want to send blocking to.System override by reactive to disable.@DecimalMin("0.0") @DecimalMax("1.0") FloatAmount of sales commission earned through this channel and all its children [unless configured at the child level].Flag the supplier can use to enable / disable this channel@NotNull @Valid @Size(min=1) UUIDUnique record identifier of this segment / account@NotNull @Valid @Size(min=1) UUIDA specific identifier for the company / corporation / travel agency that is retrieving the rates@NotNull @Size(min=1) StringName of the owner / affiliate.@DecimalMin("0.0") @DecimalMax("1.0") FloatPercent discount on this channel and all its children [unless configured at the child level].@Valid List<@Valid SpecialRateBundleLightweightAuthenticatedEntity> Promotion bundles for this channel@Valid List<@Valid SpecialRateLightweightAuthenticatedEntity> Promotions for this channelWhether the sales channel is a self-acquiring entity.What type of segment of channel is this.@NotNull BooleanFlag when supplier not available.@NotNull @Valid @Size(min=1) UUIDChannel is owned by this supplier identifier.@NotNull @Size(min=1) StringName of property / supplier that owns this channelinthashCode()identifier(UUID identifier) ownerIdentifier(UUID ownerIdentifier) percentDiscount(Float percentDiscount) rateModifierBundles(List<@Valid SpecialRateBundleLightweightAuthenticatedEntity> rateModifierBundles) rateModifiers(List<@Valid SpecialRateLightweightAuthenticatedEntity> rateModifiers) selfAcquires(Boolean selfAcquires) voidsetBlacklisted(Boolean blacklisted) voidsetChannelDisabled(Boolean channelDisabled) voidsetCommission(Float commission) voidsetEnabled(Boolean enabled) voidsetIdentifier(UUID identifier) voidsetOwnerIdentifier(UUID ownerIdentifier) voidsetOwnerName(String ownerName) voidsetPercentDiscount(Float percentDiscount) voidsetRateModifierBundles(List<@Valid SpecialRateBundleLightweightAuthenticatedEntity> rateModifierBundles) voidsetRateModifiers(List<@Valid SpecialRateLightweightAuthenticatedEntity> rateModifiers) voidsetSelfAcquires(Boolean selfAcquires) voidvoidsetSupplierAvailable(Boolean supplierAvailable) voidsetSupplierIdentifier(UUID supplierIdentifier) voidsetSupplierName(String supplierName) supplierAvailable(Boolean supplierAvailable) supplierIdentifier(UUID supplierIdentifier) supplierName(String supplierName) toString()
-
Field Details
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_SUPPLIER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_SUPPLIER_NAME
- See Also:
-
JSON_PROPERTY_SUPPLIER_AVAILABLE
- See Also:
-
JSON_PROPERTY_SUB_TYPE
- See Also:
-
JSON_PROPERTY_OWNER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_OWNER_NAME
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_CHANNEL_DISABLED
- See Also:
-
JSON_PROPERTY_BLACKLISTED
- See Also:
-
JSON_PROPERTY_PERCENT_DISCOUNT
- See Also:
-
JSON_PROPERTY_COMMISSION
- See Also:
-
JSON_PROPERTY_RATE_MODIFIERS
- See Also:
-
JSON_PROPERTY_RATE_MODIFIER_BUNDLES
- See Also:
-
JSON_PROPERTY_SELF_ACQUIRES
- See Also:
-
-
Constructor Details
-
SalesChannelLightweightAuthenticatedEntity
public SalesChannelLightweightAuthenticatedEntity()
-
-
Method Details
-
identifier
-
getIdentifier
Unique record identifier of this segment / account- Returns:
- identifier
-
setIdentifier
-
supplierIdentifier
public SalesChannelLightweightAuthenticatedEntity supplierIdentifier(@Nonnull UUID supplierIdentifier) -
getSupplierIdentifier
@Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) UUID getSupplierIdentifier()Channel is owned by this supplier identifier.- Returns:
- supplierIdentifier
-
setSupplierIdentifier
-
supplierName
-
getSupplierName
Name of property / supplier that owns this channel- Returns:
- supplierName
-
setSupplierName
-
supplierAvailable
public SalesChannelLightweightAuthenticatedEntity supplierAvailable(@Nonnull Boolean supplierAvailable) -
getSupplierAvailable
Flag when supplier not available. E.g. Hotel disables property- Returns:
- supplierAvailable
-
setSupplierAvailable
-
subType
public SalesChannelLightweightAuthenticatedEntity subType(@Nonnull SalesChannelLightweightAuthenticatedEntity.SubTypeEnum subType) -
getSubType
@Nonnull @NotNull public @NotNull SalesChannelLightweightAuthenticatedEntity.SubTypeEnum getSubType()What type of segment of channel is this.- Returns:
- subType
-
setSubType
-
ownerIdentifier
-
getOwnerIdentifier
A specific identifier for the company / corporation / travel agency that is retrieving the rates- Returns:
- ownerIdentifier
-
setOwnerIdentifier
-
ownerName
-
getOwnerName
Name of the owner / affiliate. `Hotel booking customization` when it's the booking customization.- Returns:
- ownerName
-
setOwnerName
-
enabled
-
getEnabled
Flag the supplier can use to enable / disable this channel- Returns:
- enabled
-
setEnabled
-
channelDisabled
public SalesChannelLightweightAuthenticatedEntity channelDisabled(@Nullable Boolean channelDisabled) -
getChannelDisabled
System override by reactive to disable. E.g. Platform disables supplier.- Returns:
- channelDisabled
-
setChannelDisabled
-
blacklisted
-
getBlacklisted
A way to blacklist a specific channel a property doesn't want to send blocking to.- Returns:
- blacklisted
-
setBlacklisted
-
percentDiscount
-
getPercentDiscount
@Nullable @DecimalMin("0.0") @DecimalMax("1.0") public @DecimalMin("0.0") @DecimalMax("1.0") Float getPercentDiscount()Percent discount on this channel and all its children [unless configured at the child level]. minimum: 0.0 maximum: 1.0- Returns:
- percentDiscount
-
setPercentDiscount
-
commission
-
getCommission
@Nullable @DecimalMin("0.0") @DecimalMax("1.0") public @DecimalMin("0.0") @DecimalMax("1.0") Float getCommission()Amount of sales commission earned through this channel and all its children [unless configured at the child level]. minimum: 0.0 maximum: 1.0- Returns:
- commission
-
setCommission
-
rateModifiers
public SalesChannelLightweightAuthenticatedEntity rateModifiers(@Nullable List<@Valid SpecialRateLightweightAuthenticatedEntity> rateModifiers) -
addRateModifiersItem
public SalesChannelLightweightAuthenticatedEntity addRateModifiersItem(SpecialRateLightweightAuthenticatedEntity rateModifiersItem) -
getRateModifiers
@Nullable @Valid public @Valid List<@Valid SpecialRateLightweightAuthenticatedEntity> getRateModifiers()Promotions for this channel- Returns:
- rateModifiers
-
setRateModifiers
public void setRateModifiers(@Nullable List<@Valid SpecialRateLightweightAuthenticatedEntity> rateModifiers) -
rateModifierBundles
public SalesChannelLightweightAuthenticatedEntity rateModifierBundles(@Nullable List<@Valid SpecialRateBundleLightweightAuthenticatedEntity> rateModifierBundles) -
addRateModifierBundlesItem
public SalesChannelLightweightAuthenticatedEntity addRateModifierBundlesItem(SpecialRateBundleLightweightAuthenticatedEntity rateModifierBundlesItem) -
getRateModifierBundles
@Nullable @Valid public @Valid List<@Valid SpecialRateBundleLightweightAuthenticatedEntity> getRateModifierBundles()Promotion bundles for this channel- Returns:
- rateModifierBundles
-
setRateModifierBundles
public void setRateModifierBundles(@Nullable List<@Valid SpecialRateBundleLightweightAuthenticatedEntity> rateModifierBundles) -
selfAcquires
-
getSelfAcquires
Whether the sales channel is a self-acquiring entity.- Returns:
- selfAcquires
-
setSelfAcquires
-
equals
-
hashCode
-
toString
-