Class SalesChannelAffiliate

java.lang.Object
travel.wink.sdk.affiliate.browse.model.SalesChannelAffiliate

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-01-24T16:07:10.367615648+07:00[Asia/Bangkok]") public class SalesChannelAffiliate extends Object
Parent sales channel
  • Field Details

  • Constructor Details

    • SalesChannelAffiliate

      public SalesChannelAffiliate()
  • Method Details

    • identifier

      public SalesChannelAffiliate identifier(UUID identifier)
    • getIdentifier

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

      public void setIdentifier(UUID identifier)
    • supplierIdentifier

      public SalesChannelAffiliate supplierIdentifier(UUID supplierIdentifier)
    • getSupplierIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getSupplierIdentifier()
      Channel is owned by this supplier identifier.
      Returns:
      supplierIdentifier
    • setSupplierIdentifier

      public void setSupplierIdentifier(UUID supplierIdentifier)
    • supplierName

      public SalesChannelAffiliate supplierName(String supplierName)
    • getSupplierName

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

      public void setSupplierName(String supplierName)
    • supplierAvailable

      public SalesChannelAffiliate supplierAvailable(Boolean supplierAvailable)
    • getSupplierAvailable

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

      public void setSupplierAvailable(Boolean supplierAvailable)
    • subType

    • getSubType

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

      public void setSubType(SalesChannelAffiliate.SubTypeEnum subType)
    • ownerIdentifier

      public SalesChannelAffiliate ownerIdentifier(UUID ownerIdentifier)
    • getOwnerIdentifier

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

      public void setOwnerIdentifier(UUID ownerIdentifier)
    • ownerName

      public SalesChannelAffiliate ownerName(String ownerName)
    • getOwnerName

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

      public void setOwnerName(String ownerName)
    • enabled

      public SalesChannelAffiliate enabled(Boolean enabled)
    • getEnabled

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

      public void setEnabled(Boolean enabled)
    • channelDisabled

      public SalesChannelAffiliate channelDisabled(Boolean channelDisabled)
    • getChannelDisabled

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

      public void setChannelDisabled(Boolean channelDisabled)
    • blacklisted

      public SalesChannelAffiliate blacklisted(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(Boolean blacklisted)
    • percentDiscount

      public SalesChannelAffiliate percentDiscount(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(Float percentDiscount)
    • commission

      public SalesChannelAffiliate commission(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(Float commission)
    • rateModifiers

      public SalesChannelAffiliate rateModifiers(List<RateModifierAffiliate> rateModifiers)
    • addRateModifiersItem

      public SalesChannelAffiliate addRateModifiersItem(RateModifierAffiliate rateModifiersItem)
    • getRateModifiers

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

      public void setRateModifiers(List<RateModifierAffiliate> rateModifiers)
    • rateModifierBundles

      public SalesChannelAffiliate rateModifierBundles(List<RateModifierBundleAffiliate> rateModifierBundles)
    • addRateModifierBundlesItem

      public SalesChannelAffiliate addRateModifierBundlesItem(RateModifierBundleAffiliate rateModifierBundlesItem)
    • getRateModifierBundles

      @Nullable @Valid public @Valid List<RateModifierBundleAffiliate> getRateModifierBundles()
      Promotion bundles for this channel
      Returns:
      rateModifierBundles
    • setRateModifierBundles

      public void setRateModifierBundles(List<RateModifierBundleAffiliate> rateModifierBundles)
    • selfAcquires

      public SalesChannelAffiliate selfAcquires(Boolean selfAcquires)
    • getSelfAcquires

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

      public void setSelfAcquires(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