Interface StandalonePriceLabel

All Superinterfaces:
Label

public interface StandalonePriceLabel extends Label
StandalonePriceLabel
Example to create an instance using the builder pattern

     StandalonePriceLabel standalonePriceLabel = StandalonePriceLabel.builder()
             .sku("{sku}")
             .build()
 
  • Field Details

    • STANDALONE_PRICE_LABEL

      static final String STANDALONE_PRICE_LABEL
      discriminator value for StandalonePriceLabel
      See Also:
  • Method Details

    • getType

      @NotNull @NotNull String getType()
      Specified by:
      getType in interface Label
      Returns:
      type
    • getKey

      String getKey()

      User-defined unique identifier of the Standalone Price.

      Returns:
      key
    • getSku

      @NotNull @NotNull String getSku()

      Unique Product SKU variant identifier to which the Standalone Price is associated.

      Returns:
      sku
    • setKey

      void setKey(String key)

      User-defined unique identifier of the Standalone Price.

      Parameters:
      key - value to be set
    • setSku

      void setSku(String sku)

      Unique Product SKU variant identifier to which the Standalone Price is associated.

      Parameters:
      sku - value to be set
    • of

      static StandalonePriceLabel of()
      factory method
      Returns:
      instance of StandalonePriceLabel
    • of

      factory method to create a shallow copy StandalonePriceLabel
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • copyDeep

      Specified by:
      copyDeep in interface Label
    • deepCopy

      @Nullable static StandalonePriceLabel deepCopy(@Nullable StandalonePriceLabel template)
      factory method to create a deep copy of StandalonePriceLabel
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static StandalonePriceLabelBuilder builder()
      builder factory method for StandalonePriceLabel
      Returns:
      builder
    • builder

      create builder for StandalonePriceLabel instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withStandalonePriceLabel

      default <T> T withStandalonePriceLabel(Function<StandalonePriceLabel,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<StandalonePriceLabel> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference