Show / Hide Table of Contents

Class CarrierRate

A list of carrier rates that can be referred to by main_table or single_value. Supported carrier services are defined in https://support.google.com/merchants/answer/12577710?ref_topic=12570808&sjid=10662598224319463032-NC#zippy=%2Cdelivery-cost-rate-type%2Ccarrier-rate-au-de-uk-and-us-only.

Inheritance
object
CarrierRate
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Merchant.accounts_v1beta.Data
Assembly: Google.Apis.Merchant.accounts_v1beta.dll
Syntax
public class CarrierRate : IDirectResponseSchema

Properties

Carrier

Required. Carrier service, such as "UPS" or "Fedex".

Declaration
[JsonProperty("carrier")]
public virtual string Carrier { get; set; }
Property Value
Type Description
string

CarrierService

Required. Carrier service, such as "ground" or "2 days".

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

Optional. Additive shipping rate modifier. Can be negative. For example { "amount_micros": 1, "currency_code" : "USD" } adds $1 to the rate, { "amount_micros": -3, "currency_code" : "USD" } removes $3 from the rate.

Declaration
[JsonProperty("flatAdjustment")]
public virtual Price FlatAdjustment { get; set; }
Property Value
Type Description
Price

Name

Required. Name of the carrier rate. Must be unique per rate group.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

OriginPostalCode

Required. Shipping origin for this carrier rate.

Declaration
[JsonProperty("originPostalCode")]
public virtual string OriginPostalCode { get; set; }
Property Value
Type Description
string

PercentageAdjustment

Optional. 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%.

Declaration
[JsonProperty("percentageAdjustment")]
public virtual string PercentageAdjustment { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX