Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class CustomerCacheOptions

Represent configurable customer cache options

Inheritance
System.Object
CustomerCacheOptions
Namespace: Mediachase.Commerce.Customers
Assembly: Mediachase.Commerce.dll
Version: 14.26.0
Syntax
public class CustomerCacheOptions : Object

Constructors

CustomerCacheOptions()

Declaration
public CustomerCacheOptions()

Properties

AddressCacheExpiration

Gets or sets the address expiration time.

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

Default value is 1 minute.

AddressCollectionCacheExpiration

Gets or sets the address collection expiration time.

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

Default value is 1 minute.

ContactCacheExpiration

Gets or sets the contact expiration time.

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

Default value is 1 minute.

ContactCollectionCacheExpiration

Gets or sets the contact collection expiration time.

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

Default value is 1 minute.

CreditCardCacheExpiration

Gets or sets the credit card expiration time.

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

Default value is 1 minute.

CreditCardCollectionCacheExpiration

Gets or sets the credit card collection expiration time.

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

Default value is 1 minute.

OrganizationCacheExpiration

Gets or sets the organization expiration time.

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

Default value is 1 minute.

OrganizationCollectionCacheExpiration

Gets or sets the organization collection expiration time.

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

Default value is 1 minute.

UseCache

Gets or sets if the cache is enabled.

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

Default value is true.