Interface ScoreShippingRateInput

All Superinterfaces:
ShippingRateInput

public interface ScoreShippingRateInput extends ShippingRateInput
ScoreShippingRateInput
Example to create an instance using the builder pattern

     ScoreShippingRateInput scoreShippingRateInput = ScoreShippingRateInput.builder()
             .score(0.3)
             .build()
 
  • Field Details

  • Method Details

    • getScore

      @NotNull @NotNull Long getScore()

      Abstract value for categorizing a Cart.

      Returns:
      score
    • setScore

      void setScore(Long score)

      Abstract value for categorizing a Cart.

      Parameters:
      score - value to be set
    • of

      factory method
      Returns:
      instance of ScoreShippingRateInput
    • of

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

      factory method to create a deep copy of ScoreShippingRateInput
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      builder factory method for ScoreShippingRateInput
      Returns:
      builder
    • builder

      create builder for ScoreShippingRateInput instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withScoreShippingRateInput

      default <T> T withScoreShippingRateInput(Function<ScoreShippingRateInput,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<ScoreShippingRateInput> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference