Interface ShippingRateInput


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

     ShippingRateInput shippingRateInput = ShippingRateInput.builder()
             .type("{type}")
             .build()
 
  • Method Details

    • getType

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

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

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

      static ShippingRateInput of(ShippingRateInput template)
      factory method to create a shallow copy ShippingRateInput
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • copyDeep

      ShippingRateInput copyDeep()
    • deepCopy

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

      static ShippingRateInputBuilder builder()
      builder factory method for ShippingRateInput
      Returns:
      builder
    • builder

      static ShippingRateInputBuilder builder(ShippingRateInput template)
      create builder for ShippingRateInput instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withShippingRateInput

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