Class SalesChannelSupplierDetails

java.lang.Object
travel.wink.sdk.extranet.model.SalesChannelSupplierDetails

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-05-05T11:16:56.266186763+07:00[Asia/Bangkok]") public class SalesChannelSupplierDetails extends Object
Parent sales channel
  • Field Details

  • Constructor Details

    • SalesChannelSupplierDetails

      public SalesChannelSupplierDetails()
  • Method Details

    • identifier

      public SalesChannelSupplierDetails 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 SalesChannelSupplierDetails 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 SalesChannelSupplierDetails 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 SalesChannelSupplierDetails supplierAvailable(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(Boolean supplierAvailable)
    • subType

    • getSubType

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

      public void setSubType(SalesChannelSupplierDetails.SubTypeEnum subType)
    • ownerIdentifier

      public SalesChannelSupplierDetails 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 SalesChannelSupplierDetails 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 SalesChannelSupplierDetails 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 SalesChannelSupplierDetails channelDisabled(Boolean channelDisabled)
    • getChannelDisabled

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

      public void setChannelDisabled(Boolean channelDisabled)
    • blacklisted

      public SalesChannelSupplierDetails blacklisted(Boolean blacklisted)
    • getBlacklisted

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

      public void setBlacklisted(Boolean blacklisted)
    • percentDiscount

      public SalesChannelSupplierDetails 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 SalesChannelSupplierDetails 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 SalesChannelSupplierDetails rateModifiers(List<RateModifierSupplierDetails> rateModifiers)
    • addRateModifiersItem

      public SalesChannelSupplierDetails addRateModifiersItem(RateModifierSupplierDetails rateModifiersItem)
    • getRateModifiers

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

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

      public SalesChannelSupplierDetails rateModifierBundles(List<RateModifierBundleSupplierDetails> rateModifierBundles)
    • addRateModifierBundlesItem

      public SalesChannelSupplierDetails addRateModifierBundlesItem(RateModifierBundleSupplierDetails rateModifierBundlesItem)
    • getRateModifierBundles

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

      public void setRateModifierBundles(List<RateModifierBundleSupplierDetails> rateModifierBundles)
    • 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