google_api_content v0.4.0 GoogleApi.Content.V2.Model.CarrierRate View Source
Attributes
- carrierName (String.t): Carrier service, such as "UPS" or "Fedex". The list of supported carriers can be retrieved via the getSupportedCarriers method. Required. Defaults to:
null
. - carrierService (String.t): Carrier service, such as "ground" or "2 days". The list of supported services for a carrier can be retrieved via the getSupportedCarriers method. Required. Defaults to:
null
. - flatAdjustment (Price): Additive shipping rate modifier. Can be negative. For example { "value": "1", "currency" : "USD" } adds $1 to the rate, { "value": "-3", "currency" : "USD" } removes $3 from the rate. Optional. Defaults to:
null
. - name (String.t): Name of the carrier rate. Must be unique per rate group. Required. Defaults to:
null
. - originPostalCode (String.t): Shipping origin for this carrier rate. Required. Defaults to:
null
. - percentageAdjustment (String.t): Multiplicative shipping rate modifier as a number in decimal notation. Can be negative. For example "5.4" increases the rate by 5.4%, "-3" decreases the rate by 3%. Optional. Defaults to:
null
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields
Link to this section Types
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.