Class Service
Implements
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1.Data
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class Service : IDirectResponseSchema
Properties
Active
A boolean exposing the active status of the shipping service. Required.
Declaration
[JsonProperty("active")]
public virtual bool? Active { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Currency
The CLDR code of the currency to which this service applies. Must match that of the prices in rate groups.
Declaration
[JsonProperty("currency")]
public virtual string Currency { get; set; }
Property Value
Type | Description |
---|---|
string |
DeliveryCountry
The CLDR territory code of the country to which the service applies. Required.
Declaration
[JsonProperty("deliveryCountry")]
public virtual string DeliveryCountry { get; set; }
Property Value
Type | Description |
---|---|
string |
DeliveryTime
Time spent in various aspects from order to the delivery of the product. Required.
Declaration
[JsonProperty("deliveryTime")]
public virtual DeliveryTime DeliveryTime { get; set; }
Property Value
Type | Description |
---|---|
DeliveryTime |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Eligibility
Eligibility for this service. Acceptable values are: - "All scenarios
" - "All scenarios except Shopping Actions
" - "Shopping Actions
"
Declaration
[JsonProperty("eligibility")]
public virtual string Eligibility { get; set; }
Property Value
Type | Description |
---|---|
string |
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
[JsonProperty("minimumOrderValue")]
public virtual 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
[JsonProperty("minimumOrderValueTable")]
public virtual MinimumOrderValueTable MinimumOrderValueTable { get; set; }
Property Value
Type | Description |
---|---|
MinimumOrderValueTable |
Name
Free-form name of the service. Must be unique within target account. Required.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
PickupService
The carrier-service pair delivering items to collection points. The list of supported pickup services can be
retrieved through the getSupportedPickupServices
method. Required if and only if the service delivery type
is pickup
.
Declaration
[JsonProperty("pickupService")]
public virtual PickupCarrierService PickupService { get; set; }
Property Value
Type | Description |
---|---|
PickupCarrierService |
RateGroups
Shipping rate group definitions. Only the last one is allowed to have an empty applicableShippingLabels
,
which means "everything else". The other applicableShippingLabels
must not overlap.
Declaration
[JsonProperty("rateGroups")]
public virtual IList<RateGroup> RateGroups { get; set; }
Property Value
Type | Description |
---|---|
IList<RateGroup> |
ShipmentType
Type of locations this service ships orders to. Acceptable values are: - "delivery
" - "pickup
(deprecated)" - "local_delivery
" - "collection_point
"
Declaration
[JsonProperty("shipmentType")]
public virtual string ShipmentType { get; set; }
Property Value
Type | Description |
---|---|
string |
StoreConfig
A list of stores your products are delivered from. This is only available for the local delivery shipment type.
Declaration
[JsonProperty("storeConfig")]
public virtual ServiceStoreConfig StoreConfig { get; set; }
Property Value
Type | Description |
---|---|
ServiceStoreConfig |