Interface ShippingRateInputType

All Known Subinterfaces:
CartClassificationType, CartScoreType, CartValueType

public interface ShippingRateInputType
ShippingRateInputType
Example to create a subtype instance using the builder pattern

     ShippingRateInputType shippingRateInputType = ShippingRateInputType.cartClassificationBuilder()
             plusValues(valuesBuilder -> valuesBuilder)
             .build()
 
  • Method Details

    • getType

      @NotNull @NotNull ShippingRateTierType getType()
      Returns:
      type
    • deepCopy

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

      static CartClassificationTypeBuilder cartClassificationBuilder()
      builder for cartClassification subtype
      Returns:
      builder
    • cartScoreBuilder

      static CartScoreTypeBuilder cartScoreBuilder()
      builder for cartScore subtype
      Returns:
      builder
    • cartValueBuilder

      static CartValueTypeBuilder cartValueBuilder()
      builder for cartValue subtype
      Returns:
      builder
    • withShippingRateInputType

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