Class Service.Types.StoreConfig.Types.CutoffConfig
Configs related to local delivery ends for the day.
Implements
Namespace: Google.Shopping.Merchant.Accounts.V1Beta
Assembly: Google.Shopping.Merchant.Accounts.V1Beta.dll
Syntax
public sealed class Service.Types.StoreConfig.Types.CutoffConfig : IMessage<Service.Types.StoreConfig.Types.CutoffConfig>, IEquatable<Service.Types.StoreConfig.Types.CutoffConfig>, IDeepCloneable<Service.Types.StoreConfig.Types.CutoffConfig>, IBufferMessage, IMessage
Constructors
CutoffConfig()
Declaration
public CutoffConfig()
CutoffConfig(CutoffConfig)
Declaration
public CutoffConfig(Service.Types.StoreConfig.Types.CutoffConfig other)
Parameters
Type | Name | Description |
---|---|---|
Service.Types.StoreConfig.Types.CutoffConfig | other |
Properties
HasNoDeliveryPostCutoff
Gets whether the "no_delivery_post_cutoff" field is set
Declaration
public bool HasNoDeliveryPostCutoff { get; }
Property Value
Type | Description |
---|---|
bool |
HasStoreCloseOffsetHours
Gets whether the "store_close_offset_hours" field is set
Declaration
public bool HasStoreCloseOffsetHours { get; }
Property Value
Type | Description |
---|---|
bool |
LocalCutoffTime
Time that local delivery ends for the day.
Declaration
public Service.Types.StoreConfig.Types.CutoffConfig.Types.LocalCutoffTime LocalCutoffTime { get; set; }
Property Value
Type | Description |
---|---|
Service.Types.StoreConfig.Types.CutoffConfig.Types.LocalCutoffTime |
NoDeliveryPostCutoff
Merchants can opt-out of showing n+1 day local delivery when they have
a shipping service configured to n day local delivery. For example, if
the shipping service defines same-day delivery, and it's past the
cut-off, setting this field to true
results in the calculated
shipping service rate returning NO_DELIVERY_POST_CUTOFF
. In the
same example, setting this field to false
results in the calculated
shipping time being one day. This is only for local delivery.
Declaration
public bool NoDeliveryPostCutoff { get; set; }
Property Value
Type | Description |
---|---|
bool |
StoreCloseOffsetHours
Only valid with local delivery fulfillment. Represents cutoff time
as the number of hours before store closing. Mutually exclusive
with local_cutoff_time
.
Declaration
public long StoreCloseOffsetHours { get; set; }
Property Value
Type | Description |
---|---|
long |