Package travel.wink.sdk.extranet.model
Class SalesChannelSupplier
java.lang.Object
travel.wink.sdk.extranet.model.SalesChannelSupplier
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-06T15:46:48.127304372+07:00[Asia/Bangkok]")
public class SalesChannelSupplier
extends Object
Parent sales channel
-
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 String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRateModifierBundlesItem(RateModifierBundleSupplier rateModifierBundlesItem) addRateModifiersItem(RateModifierSupplier 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 inventory to.System override by payment 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 UUIDUnique record identifier of this segment / account@NotNull @Valid UUIDA specific identifier for the company / corporation / travel agency that is retrieving the rates@NotNull 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<RateModifierBundleSupplier>Promotion bundles for this channel@Valid List<RateModifierSupplier>Promotions for this channel@NotNull SalesChannelSupplier.SubTypeEnumWhat type of segment of channel is this.@NotNull BooleanFlag when supplier not available.@NotNull @Valid UUIDChannel is owned by this supplier identifier.@NotNull StringName of property / supplier that owns this channelinthashCode()identifier(UUID identifier) ownerIdentifier(UUID ownerIdentifier) percentDiscount(Float percentDiscount) rateModifierBundles(List<RateModifierBundleSupplier> rateModifierBundles) rateModifiers(List<RateModifierSupplier> rateModifiers) 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<RateModifierBundleSupplier> rateModifierBundles) voidsetRateModifiers(List<RateModifierSupplier> rateModifiers) voidvoidsetSupplierAvailable(Boolean supplierAvailable) voidsetSupplierIdentifier(UUID supplierIdentifier) voidsetSupplierName(String supplierName) subType(SalesChannelSupplier.SubTypeEnum subType) 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:
-
-
Constructor Details
-
SalesChannelSupplier
public SalesChannelSupplier()
-
-
Method Details
-
identifier
-
getIdentifier
Unique record identifier of this segment / account- Returns:
- identifier
-
setIdentifier
-
supplierIdentifier
-
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
-
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 engine` when it's the booking engine.- Returns:
- ownerName
-
setOwnerName
-
enabled
-
getEnabled
Flag the supplier can use to enable / disable this channel- Returns:
- enabled
-
setEnabled
-
channelDisabled
-
getChannelDisabled
System override by payment 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 inventory 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
-
addRateModifiersItem
-
getRateModifiers
Promotions for this channel- Returns:
- rateModifiers
-
setRateModifiers
-
rateModifierBundles
public SalesChannelSupplier rateModifierBundles(List<RateModifierBundleSupplier> rateModifierBundles) -
addRateModifierBundlesItem
public SalesChannelSupplier addRateModifierBundlesItem(RateModifierBundleSupplier rateModifierBundlesItem) -
getRateModifierBundles
Promotion bundles for this channel- Returns:
- rateModifierBundles
-
setRateModifierBundles
-
equals
-
hashCode
public int hashCode() -
toString
-