Class CarrierRate
Implements
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1.Data
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class CarrierRate : IDirectResponseSchema
Properties
CarrierName
Carrier service, such as "UPS"
or "Fedex"
. The list of supported carriers can be retrieved through the
getSupportedCarriers
method. Required.
Declaration
[JsonProperty("carrierName")]
public virtual string CarrierName { get; set; }
Property Value
Type | Description |
---|---|
string |
CarrierService
Carrier service, such as "ground"
or "2 days"
. The list of supported services for a carrier can be
retrieved through the getSupportedCarriers
method. Required.
Declaration
[JsonProperty("carrierService")]
public virtual string CarrierService { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FlatAdjustment
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.
Declaration
[JsonProperty("flatAdjustment")]
public virtual Price FlatAdjustment { get; set; }
Property Value
Type | Description |
---|---|
Price |
Name
Name of the carrier rate. Must be unique per rate group. Required.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
OriginPostalCode
Shipping origin for this carrier rate. Required.
Declaration
[JsonProperty("originPostalCode")]
public virtual string OriginPostalCode { get; set; }
Property Value
Type | Description |
---|---|
string |
PercentageAdjustment
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.
Declaration
[JsonProperty("percentageAdjustment")]
public virtual string PercentageAdjustment { get; set; }
Property Value
Type | Description |
---|---|
string |