google_api_content v0.29.0 GoogleApi.Content.V2.Model.CarrierRate View Source
Attributes
carrierName
(type:String.t
, default:nil
) - Carrier service, such as"UPS"
or"Fedex"
. The list of supported carriers can be retrieved via thegetSupportedCarriers
method. Required.carrierService
(type:String.t
, default:nil
) - Carrier service, such as"ground"
or"2 days"
. The list of supported services for a carrier can be retrieved via thegetSupportedCarriers
method. Required.flatAdjustment
(type:GoogleApi.Content.V2.Model.Price.t
, default:nil
) - 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.name
(type:String.t
, default:nil
) - Name of the carrier rate. Must be unique per rate group. Required.originPostalCode
(type:String.t
, default:nil
) - Shipping origin for this carrier rate. Required.percentageAdjustment
(type:String.t
, default:nil
) - 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.
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
Unwrap a decoded JSON object into its complex fields.