Interface ScoreShippingRateInputDraft

All Superinterfaces:
Draft<ScoreShippingRateInputDraft>, ShippingRateInputDraft

public interface ScoreShippingRateInputDraft extends ShippingRateInputDraft, Draft<ScoreShippingRateInputDraft>
ScoreShippingRateInputDraft
Example to create an instance using the builder pattern

     ScoreShippingRateInputDraft scoreShippingRateInputDraft = ScoreShippingRateInputDraft.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 ScoreShippingRateInputDraft
    • of

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

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

      builder factory method for ScoreShippingRateInputDraft
      Returns:
      builder
    • builder

      create builder for ScoreShippingRateInputDraft instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withScoreShippingRateInputDraft

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