Show / Hide Table of Contents

Class ShippingSettings

The merchant account's shipping setting.

Inheritance
object
ShippingSettings
Implements
IMessage<ShippingSettings>
IEquatable<ShippingSettings>
IDeepCloneable<ShippingSettings>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
public sealed class ShippingSettings : IMessage<ShippingSettings>, IEquatable<ShippingSettings>, IDeepCloneable<ShippingSettings>, IBufferMessage, IMessage

Constructors

ShippingSettings()

Declaration
public ShippingSettings()

ShippingSettings(ShippingSettings)

Declaration
public ShippingSettings(ShippingSettings other)
Parameters
Type Name Description
ShippingSettings other

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
public string Etag { get; set; }
Property Value
Type Description
string

Name

Identifier. The resource name of the shipping setting. Format: accounts/{account}/shippingSetting

Declaration
public string Name { get; set; }
Property Value
Type Description
string

Services

Optional. The target account's list of services.

Declaration
public RepeatedField<Service> Services { get; }
Property Value
Type Description
RepeatedField<Service>

ShippingSettingsName

ShippingSettingsName-typed view over the Name resource name property.

Declaration
public ShippingSettingsName ShippingSettingsName { get; set; }
Property Value
Type Description
ShippingSettingsName

Warehouses

Optional. A list of warehouses which can be referred to in services.

Declaration
public RepeatedField<Warehouse> Warehouses { get; }
Property Value
Type Description
RepeatedField<Warehouse>
In this article
Back to top Generated by DocFX