Class Service
Shipping service.
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
public sealed class Service : IMessage<Service>, IEquatable<Service>, IDeepCloneable<Service>, IBufferMessage, IMessage
Constructors
Service()
Declaration
public Service()
Service(Service)
Declaration
public Service(Service other)
Parameters
Type | Name | Description |
---|---|---|
Service | other |
Properties
Active
Required. A boolean exposing the active status of the shipping service.
Declaration
public bool Active { get; set; }
Property Value
Type | Description |
---|---|
bool |
CurrencyCode
The CLDR code of the currency to which this service applies. Must match that of the prices in rate groups.
Declaration
public string CurrencyCode { get; set; }
Property Value
Type | Description |
---|---|
string |
DeliveryCountries
Required. The CLDR territory code of the countries to which the service applies.
Declaration
public RepeatedField<string> DeliveryCountries { get; }
Property Value
Type | Description |
---|---|
RepeatedField<string> |
DeliveryTime
Required. Time spent in various aspects from order to the delivery of the product.
Declaration
public DeliveryTime DeliveryTime { get; set; }
Property Value
Type | Description |
---|---|
DeliveryTime |
HasActive
Gets whether the "active" field is set
Declaration
public bool HasActive { get; }
Property Value
Type | Description |
---|---|
bool |
HasCurrencyCode
Gets whether the "currency_code" field is set
Declaration
public bool HasCurrencyCode { get; }
Property Value
Type | Description |
---|---|
bool |
HasServiceName
Gets whether the "service_name" field is set
Declaration
public bool HasServiceName { get; }
Property Value
Type | Description |
---|---|
bool |
HasShipmentType
Gets whether the "shipment_type" field is set
Declaration
public bool HasShipmentType { get; }
Property Value
Type | Description |
---|---|
bool |
LoyaltyPrograms
Optional. Loyalty programs that this shipping service is limited to.
Declaration
public RepeatedField<Service.Types.LoyaltyProgram> LoyaltyPrograms { get; }
Property Value
Type | Description |
---|---|
RepeatedField<Service.Types.LoyaltyProgram> |
MinimumOrderValue
Minimum order value for this service. If set, indicates that customers will have to spend at least this amount. All prices within a service must have the same currency. Cannot be set together with minimum_order_value_table.
Declaration
public Price MinimumOrderValue { get; set; }
Property Value
Type | Description |
---|---|
Price |
MinimumOrderValueTable
Table of per store minimum order values for the pickup fulfillment type. Cannot be set together with minimum_order_value.
Declaration
public MinimumOrderValueTable MinimumOrderValueTable { get; set; }
Property Value
Type | Description |
---|---|
MinimumOrderValueTable |
RateGroups
Optional. Shipping rate group definitions. Only the last one is allowed to
have an empty applicable_shipping_labels
, which means "everything else".
The other applicable_shipping_labels
must not overlap.
Declaration
public RepeatedField<RateGroup> RateGroups { get; }
Property Value
Type | Description |
---|---|
RepeatedField<RateGroup> |
ServiceName
Required. Free-form name of the service. Must be unique within target account.
Declaration
public string ServiceName { get; set; }
Property Value
Type | Description |
---|---|
string |
ShipmentType
Type of locations this service ships orders to.
Declaration
public Service.Types.ShipmentType ShipmentType { get; set; }
Property Value
Type | Description |
---|---|
Service.Types.ShipmentType |
StoreConfig
A list of stores your products are delivered from. This is only valid for the local delivery shipment type.
Declaration
public Service.Types.StoreConfig StoreConfig { get; set; }
Property Value
Type | Description |
---|---|
Service.Types.StoreConfig |