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
  • Field Details

  • Constructor Details

    • SalesChannelLightweightAffiliate

      public SalesChannelLightweightAffiliate()
  • Method Details

    • identifier

      public SalesChannelLightweightAffiliate identifier(@Nonnull UUID identifier)
    • getIdentifier

      @Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) UUID getIdentifier()
      Unique record identifier of this segment / account
      Returns:
      identifier
    • setIdentifier

      public void setIdentifier(@Nonnull UUID identifier)
    • supplierIdentifier

      public SalesChannelLightweightAffiliate 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

      public void setSupplierIdentifier(@Nonnull UUID supplierIdentifier)
    • supplierName

      public SalesChannelLightweightAffiliate supplierName(@Nonnull String supplierName)
    • getSupplierName

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getSupplierName()
      Name of property / supplier that owns this channel
      Returns:
      supplierName
    • setSupplierName

      public void setSupplierName(@Nonnull String supplierName)
    • supplierAvailable

      public SalesChannelLightweightAffiliate supplierAvailable(@Nonnull Boolean supplierAvailable)
    • getSupplierAvailable

      @Nonnull @NotNull public @NotNull Boolean getSupplierAvailable()
      Flag when supplier not available. E.g. Hotel disables property
      Returns:
      supplierAvailable
    • setSupplierAvailable

      public void setSupplierAvailable(@Nonnull Boolean supplierAvailable)
    • subType

    • getSubType

      @Nonnull @NotNull public @NotNull SalesChannelLightweightAffiliate.SubTypeEnum getSubType()
      What type of segment of channel is this.
      Returns:
      subType
    • setSubType

      public void setSubType(@Nonnull SalesChannelLightweightAffiliate.SubTypeEnum subType)
    • ownerIdentifier

      public SalesChannelLightweightAffiliate ownerIdentifier(@Nonnull UUID ownerIdentifier)
    • getOwnerIdentifier

      @Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) UUID getOwnerIdentifier()
      A specific identifier for the company / corporation / travel agency that is retrieving the rates
      Returns:
      ownerIdentifier
    • setOwnerIdentifier

      public void setOwnerIdentifier(@Nonnull UUID ownerIdentifier)
    • ownerName

      public SalesChannelLightweightAffiliate ownerName(@Nonnull String ownerName)
    • getOwnerName

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getOwnerName()
      Name of the owner / affiliate. `Hotel booking customization` when it's the booking customization.
      Returns:
      ownerName
    • setOwnerName

      public void setOwnerName(@Nonnull String ownerName)
    • enabled

      public SalesChannelLightweightAffiliate enabled(@Nullable Boolean enabled)
    • getEnabled

      @Nullable public Boolean getEnabled()
      Flag the supplier can use to enable / disable this channel
      Returns:
      enabled
    • setEnabled

      public void setEnabled(@Nullable Boolean enabled)
    • channelDisabled

      public SalesChannelLightweightAffiliate channelDisabled(@Nullable Boolean channelDisabled)
    • getChannelDisabled

      @Nullable public Boolean getChannelDisabled()
      System override by reactive to disable. E.g. Platform disables supplier.
      Returns:
      channelDisabled
    • setChannelDisabled

      public void setChannelDisabled(@Nullable Boolean channelDisabled)
    • blacklisted

      public SalesChannelLightweightAffiliate blacklisted(@Nonnull Boolean blacklisted)
    • getBlacklisted

      @Nonnull @NotNull public @NotNull Boolean getBlacklisted()
      A way to blacklist a specific channel a property doesn't want to send blocking to.
      Returns:
      blacklisted
    • setBlacklisted

      public void setBlacklisted(@Nonnull Boolean blacklisted)
    • percentDiscount

      public SalesChannelLightweightAffiliate percentDiscount(@Nullable Float 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

      public void setPercentDiscount(@Nullable Float percentDiscount)
    • commission

      public SalesChannelLightweightAffiliate commission(@Nullable Float 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

      public void setCommission(@Nullable Float commission)
    • rateModifiers

      public SalesChannelLightweightAffiliate rateModifiers(@Nullable List<@Valid SpecialRateLightweightAffiliate> rateModifiers)
    • addRateModifiersItem

      public SalesChannelLightweightAffiliate addRateModifiersItem(SpecialRateLightweightAffiliate rateModifiersItem)
    • getRateModifiers

      @Nullable @Valid public @Valid List<@Valid SpecialRateLightweightAffiliate> getRateModifiers()
      Promotions for this channel
      Returns:
      rateModifiers
    • setRateModifiers

      public void setRateModifiers(@Nullable List<@Valid SpecialRateLightweightAffiliate> rateModifiers)
    • 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

      public SalesChannelLightweightAffiliate selfAcquires(@Nullable Boolean selfAcquires)
    • getSelfAcquires

      @Nullable public Boolean getSelfAcquires()
      Whether the sales channel is a self-acquiring entity.
      Returns:
      selfAcquires
    • setSelfAcquires

      public void setSelfAcquires(@Nullable Boolean selfAcquires)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object