Class PriceableTargetsRequest

java.lang.Object
com.broadleafcommerce.catalogbrowse.domain.marketing.PriceableTargetsRequest
All Implemented Interfaces:
Serializable

public class PriceableTargetsRequest extends Object implements Serializable
Represents a request to fetch alternative pricing options for one or more targets.
Author:
Jon Fleschler (jfleschler)
See Also:
  • Constructor Details

    • PriceableTargetsRequest

      public PriceableTargetsRequest()
  • Method Details

    • getTargetsMap

      public Map<Object,Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>> getTargetsMap()
      Prebuilt mapping of PriceableTargets to fetch alternative pricing for. The key is either the SKU or pricing key of the entity that sourced the targets.
    • getProduct

      public Product getProduct()
      A specific product for which to build PriceableTargets, including its Variants, ItemChoices, and SpecificItemChoices.
      Since:
      Catalog Browse Service 2.2.0, Release Train 2.3.0
    • getExistingTerms

      public ExistingSubscriptionTerms getExistingTerms()
      If in a subscription modification flow, this is the existing subscription term to filter the Product's terms by.
      Since:
      Catalog Browse Service 2.2.0, Release Train 2.3.0
    • setTargetsMap

      public void setTargetsMap(Map<Object,Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>> targetsMap)
      Prebuilt mapping of PriceableTargets to fetch alternative pricing for. The key is either the SKU or pricing key of the entity that sourced the targets.
    • setProduct

      public void setProduct(Product product)
      A specific product for which to build PriceableTargets, including its Variants, ItemChoices, and SpecificItemChoices.
      Since:
      Catalog Browse Service 2.2.0, Release Train 2.3.0
    • setExistingTerms

      public void setExistingTerms(ExistingSubscriptionTerms existingTerms)
      If in a subscription modification flow, this is the existing subscription term to filter the Product's terms by.
      Since:
      Catalog Browse Service 2.2.0, Release Train 2.3.0
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object