Try our conversational search powered by Generative AI!

Class OrderOptions

Contains options for the order system.

Inheritance
System.Object
OrderOptions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Orders
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
Syntax
public class OrderOptions

Constructors

OrderOptions()

Declaration
public OrderOptions()

Properties

CountryCacheExpiration

The expiration time for countries.

Declaration
public TimeSpan CountryCacheExpiration { get; set; }
Property Value
Type Description
System.TimeSpan
Remarks

Default value is 1 hour.

DisableOrderDataLocalization

A flag to indicate if we disable the order data localization.

Declaration
public bool DisableOrderDataLocalization { get; set; }
Property Value
Type Description
System.Boolean
Remarks

Default value is false.

IsOrderRepositoryCacheDisabled

Indicates if the order repository cache is disabled.

Declaration
public bool IsOrderRepositoryCacheDisabled { get; set; }
Property Value
Type Description
System.Boolean
Remarks

Default value is false.

JurisdictionCacheExpiration

The expiration time for jurisdictions.

Declaration
public TimeSpan JurisdictionCacheExpiration { get; set; }
Property Value
Type Description
System.TimeSpan
Remarks

Default value is 1 hour.

OrderCacheExpiration

The expiration time for ordergroups.

Declaration
public TimeSpan OrderCacheExpiration { get; set; }
Property Value
Type Description
System.TimeSpan
Remarks

Default value is 10 minutes.

OrderCacheExpirationLegacy

The expiration time for legacy ordergroups.

Declaration
public TimeSpan OrderCacheExpirationLegacy { get; set; }
Property Value
Type Description
System.TimeSpan
Remarks

Default value is 10 minutes.

PaymentCacheExpiration

The expiration time for payments.

Declaration
public TimeSpan PaymentCacheExpiration { get; set; }
Property Value
Type Description
System.TimeSpan
Remarks

Default value is 24 hours.

PickListCacheExpiration

The expiration time for pick lists.

Declaration
public TimeSpan PickListCacheExpiration { get; set; }
Property Value
Type Description
System.TimeSpan
Remarks

Default value is 20 seconds.

ShippingCacheExpiration

The expiration time for shipping.

Declaration
public TimeSpan ShippingCacheExpiration { get; set; }
Property Value
Type Description
System.TimeSpan
Remarks

Default value is 24 hours.

StatusCacheExpiration

The expiration time for status.

Declaration
public TimeSpan StatusCacheExpiration { get; set; }
Property Value
Type Description
System.TimeSpan
Remarks

Default value is 10 seconds.

TaxCacheExpiration

The expiration time for taxes.

Declaration
public TimeSpan TaxCacheExpiration { get; set; }
Property Value
Type Description
System.TimeSpan
Remarks

Default value is 1 hour.

UseCache

Indicates if the cache is enabled.

Declaration
public bool UseCache { get; set; }
Property Value
Type Description
System.Boolean
Remarks

Default value is true.

UserOrderCacheExpiration

The expiration time for user order.

Declaration
public TimeSpan UserOrderCacheExpiration { get; set; }
Property Value
Type Description
System.TimeSpan
Remarks

Default value is 5 minutes.

Extension Methods