Package travel.wink.sdk.extranet.model
Class SalesChannelUpdateRequest
java.lang.Object
travel.wink.sdk.extranet.model.SalesChannelUpdateRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-05-28T12:37:26.819025+07:00[Asia/Bangkok]")
public class SalesChannelUpdateRequest
extends Object
SalesChannelUpdateRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRateModifierBundleIdentifiersItem(String rateModifierBundleIdentifiersItem) addRateModifierIdentifiersItem(String rateModifierIdentifiersItem) blacklisted(Boolean blacklisted) commission(Float commission) boolean@NotNull BooleanFlag the supplier can use to ignore a sales channel@NotNull @DecimalMin("0.0") @DecimalMax("1.0") FloatAmount of sales commission earned through this channel and all its children [unless configured at the child level].@NotNull BooleanFlag the supplier can use to enable / disable a sales channel@NotNull StringUnique record identifier@NotNull @DecimalMin("0.0") @DecimalMax("1.0") FloatPercent discount on this channel and all its children [unless configured at the child level].Unique identifiers of promotion bundles you would like to apply to this channel and all its children [unless configured at the child level].Unique identifiers of promotions you would like to apply to this channel and all its children [unless configured at the child level].inthashCode()identifier(String identifier) percentDiscount(Float percentDiscount) rateModifierBundleIdentifiers(List<String> rateModifierBundleIdentifiers) rateModifierIdentifiers(List<String> rateModifierIdentifiers) voidsetBlacklisted(Boolean blacklisted) voidsetCommission(Float commission) voidsetEnabled(Boolean enabled) voidsetIdentifier(String identifier) voidsetPercentDiscount(Float percentDiscount) voidsetRateModifierBundleIdentifiers(List<String> rateModifierBundleIdentifiers) voidsetRateModifierIdentifiers(List<String> rateModifierIdentifiers) toString()
-
Field Details
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_ENABLED
- See Also:
-
JSON_PROPERTY_BLACKLISTED
- See Also:
-
JSON_PROPERTY_PERCENT_DISCOUNT
- See Also:
-
JSON_PROPERTY_COMMISSION
- See Also:
-
JSON_PROPERTY_RATE_MODIFIER_IDENTIFIERS
- See Also:
-
JSON_PROPERTY_RATE_MODIFIER_BUNDLE_IDENTIFIERS
- See Also:
-
-
Constructor Details
-
SalesChannelUpdateRequest
public SalesChannelUpdateRequest()
-
-
Method Details
-
identifier
-
getIdentifier
Unique record identifier- Returns:
- identifier
-
setIdentifier
-
enabled
-
getEnabled
Flag the supplier can use to enable / disable a sales channel- Returns:
- enabled
-
setEnabled
-
blacklisted
-
getBlacklisted
Flag the supplier can use to ignore a sales channel- Returns:
- blacklisted
-
setBlacklisted
-
percentDiscount
-
getPercentDiscount
@Nonnull @NotNull @DecimalMin("0.0") @DecimalMax("1.0") public @NotNull @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
@Nonnull @NotNull @DecimalMin("0.0") @DecimalMax("1.0") public @NotNull @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
-
rateModifierIdentifiers
-
addRateModifierIdentifiersItem
-
getRateModifierIdentifiers
Unique identifiers of promotions you would like to apply to this channel and all its children [unless configured at the child level].- Returns:
- rateModifierIdentifiers
-
setRateModifierIdentifiers
-
rateModifierBundleIdentifiers
public SalesChannelUpdateRequest rateModifierBundleIdentifiers(List<String> rateModifierBundleIdentifiers) -
addRateModifierBundleIdentifiersItem
public SalesChannelUpdateRequest addRateModifierBundleIdentifiersItem(String rateModifierBundleIdentifiersItem) -
getRateModifierBundleIdentifiers
Unique identifiers of promotion bundles you would like to apply to this channel and all its children [unless configured at the child level].- Returns:
- rateModifierBundleIdentifiers
-
setRateModifierBundleIdentifiers
-
equals
-
hashCode
public int hashCode() -
toString
-