Class ShippingRateUpdateParams


public class ShippingRateUpdateParams extends ApiRequestParams
  • Method Details

    • builder

      public static ShippingRateUpdateParams.Builder builder()
    • getActive

      public Boolean getActive()
      Whether the shipping rate can be used for new purchases. Defaults to true.
    • getExpand

      public List<String> getExpand()
      Specifies which fields in the response should be expanded.
    • getExtraParams

      public Map<String,Object> getExtraParams()
      Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's @SerializedName value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
    • getFixedAmount

      public ShippingRateUpdateParams.FixedAmount getFixedAmount()
      Describes a fixed amount to charge for shipping. Must be present if type is fixed_amount.
    • getMetadata

      public Object getMetadata()
      Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.
    • getTaxBehavior

      public ShippingRateUpdateParams.TaxBehavior getTaxBehavior()
      Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of inclusive, exclusive, or unspecified.