Interface ShippingRatePriceTier


public interface ShippingRatePriceTier
ShippingRatePriceTier
Example to create an instance using the builder pattern

     ShippingRatePriceTier shippingRatePriceTier = ShippingRatePriceTier.builder()
             .type(ShippingRateTierType.CART_VALUE)
             .build()
 
  • Method Details

    • getType

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

      void setType(ShippingRateTierType type)
      set type
      Parameters:
      type - value to be set
    • of

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

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

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

      static ShippingRatePriceTierBuilder builder()
      builder factory method for ShippingRatePriceTier
      Returns:
      builder
    • builder

      create builder for ShippingRatePriceTier instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withShippingRatePriceTier

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