Class Service
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2.Data
Assembly: Google.Apis.ShoppingContent.v2.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 |
---|---|
System.Nullable<System.Boolean> |
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 |
---|---|
System.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 |
---|---|
System.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 |
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 |
---|---|
System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.String |
PickupService
The carrier-service pair delivering items to collection points. The list of supported pickup services can be
retrieved via 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 |
---|---|
System.Collections.Generic.IList<RateGroup> |
ShipmentType
Type of locations this service ships orders to. Acceptable values are: - "delivery
" - "pickup
"
Declaration
[JsonProperty("shipmentType")]
public virtual string ShipmentType { get; set; }
Property Value
Type | Description |
---|---|
System.String |