Package travel.wink.sdk.extranet.model
Class SalesChannelSupplierDetails
java.lang.Object
travel.wink.sdk.extranet.model.SalesChannelSupplierDetails
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-10-30T09:50:32.356842367+07:00[Asia/Bangkok]")
public class SalesChannelSupplierDetails
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(RateModifierBundleSupplierDetails rateModifierBundlesItem) addRateModifiersItem(RateModifierSupplierDetails 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].Promotion bundles for this channel@Valid List<RateModifierSupplierDetails>Promotions for this channelWhat type of segment of channel is this.Flag 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<RateModifierBundleSupplierDetails> rateModifierBundles) rateModifiers(List<RateModifierSupplierDetails> 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<RateModifierBundleSupplierDetails> rateModifierBundles) voidsetRateModifiers(List<RateModifierSupplierDetails> rateModifiers) 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:
-
-
Constructor Details
-
SalesChannelSupplierDetails
public SalesChannelSupplierDetails()
-
-
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
public SalesChannelSupplierDetails addRateModifiersItem(RateModifierSupplierDetails rateModifiersItem) -
getRateModifiers
Promotions for this channel- Returns:
- rateModifiers
-
setRateModifiers
-
rateModifierBundles
public SalesChannelSupplierDetails rateModifierBundles(List<RateModifierBundleSupplierDetails> rateModifierBundles) -
addRateModifierBundlesItem
public SalesChannelSupplierDetails addRateModifierBundlesItem(RateModifierBundleSupplierDetails rateModifierBundlesItem) -
getRateModifierBundles
Promotion bundles for this channel- Returns:
- rateModifierBundles
-
setRateModifierBundles
-
equals
-
hashCode
public int hashCode() -
toString
-