Class ShippingSettings
The merchant account's shipping setting.
Implements
Inherited Members
Namespace: Google.Apis.Merchant.accounts_v1beta.Data
Assembly: Google.Apis.Merchant.accounts_v1beta.dll
Syntax
public class ShippingSettings : IDirectResponseSchema
Properties
ETag
Required. This field is used for avoid async issue. Make sure shipping setting data didn't change between get call and insert call. The user should do following steps: 1. Set etag field as empty string for initial shipping setting creation. 2. After initial creation, call get method to obtain an etag and current shipping setting data before call insert. 3. Modify to wanted shipping setting information. 4. Call insert method with the wanted shipping setting information with the etag obtained from step 2. 5. If shipping setting data changed between step 2 and step 4. Insert request will fail because the etag changes every time the shipping setting data changes. User should repeate step 2-4 with the new etag.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Identifier. The resource name of the shipping setting. Format: accounts/{account}/shippingSetting
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Services
Optional. The target account's list of services.
Declaration
[JsonProperty("services")]
public virtual IList<Service> Services { get; set; }
Property Value
Type | Description |
---|---|
IList<Service> |
Warehouses
Optional. A list of warehouses which can be referred to in services
.
Declaration
[JsonProperty("warehouses")]
public virtual IList<Warehouse> Warehouses { get; set; }
Property Value
Type | Description |
---|---|
IList<Warehouse> |