View Source GoogleApi.Content.V2.Model.CarrierRate (google_api_content v0.71.0)
Attributes
-
carrierName(type:String.t, default:nil) - Carrier service, such as"UPS"or"Fedex". The list of supported carriers can be retrieved via thegetSupportedCarriersmethod. 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 thegetSupportedCarriersmethod. 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.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
Functions
Unwrap a decoded JSON object into its complex fields.