Class SalesChannelLightweightAffiliate
java.lang.Object
travel.wink.sdk.affiliate.browse.model.SalesChannelLightweightAffiliate
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-06-26T20:15:43.926055890+07:00[Asia/Bangkok]",
comments="Generator version: 7.13.0")
public class SalesChannelLightweightAffiliate
extends Object
SalesChannelLightweightAffiliate
-
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(SpecialRateBundleLightweightAffiliate rateModifierBundlesItem) addRateModifiersItem(SpecialRateLightweightAffiliate 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 SpecialRateBundleLightweightAffiliate> Promotion bundles for this channel@Valid List<@Valid SpecialRateLightweightAffiliate> 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 SpecialRateBundleLightweightAffiliate> rateModifierBundles) rateModifiers(List<@Valid SpecialRateLightweightAffiliate> 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 SpecialRateBundleLightweightAffiliate> rateModifierBundles) voidsetRateModifiers(List<@Valid SpecialRateLightweightAffiliate> 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
-
SalesChannelLightweightAffiliate
public SalesChannelLightweightAffiliate()
-
-
Method Details
-
identifier
-
getIdentifier
Unique record identifier of this segment / account- Returns:
- identifier
-
setIdentifier
-
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
-
getSupplierAvailable
Flag when supplier not available. E.g. Hotel disables property- Returns:
- supplierAvailable
-
setSupplierAvailable
-
subType
public SalesChannelLightweightAffiliate subType(@Nonnull SalesChannelLightweightAffiliate.SubTypeEnum subType) -
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
-
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 SalesChannelLightweightAffiliate rateModifiers(@Nullable List<@Valid SpecialRateLightweightAffiliate> rateModifiers) -
addRateModifiersItem
public SalesChannelLightweightAffiliate addRateModifiersItem(SpecialRateLightweightAffiliate rateModifiersItem) -
getRateModifiers
Promotions for this channel- Returns:
- rateModifiers
-
setRateModifiers
-
rateModifierBundles
public SalesChannelLightweightAffiliate rateModifierBundles(@Nullable List<@Valid SpecialRateBundleLightweightAffiliate> rateModifierBundles) -
addRateModifierBundlesItem
public SalesChannelLightweightAffiliate addRateModifierBundlesItem(SpecialRateBundleLightweightAffiliate rateModifierBundlesItem) -
getRateModifierBundles
@Nullable @Valid public @Valid List<@Valid SpecialRateBundleLightweightAffiliate> getRateModifierBundles()Promotion bundles for this channel- Returns:
- rateModifierBundles
-
setRateModifierBundles
public void setRateModifierBundles(@Nullable List<@Valid SpecialRateBundleLightweightAffiliate> rateModifierBundles) -
selfAcquires
-
getSelfAcquires
Whether the sales channel is a self-acquiring entity.- Returns:
- selfAcquires
-
setSelfAcquires
-
equals
-
hashCode
-
toString
-