Click or drag to resize
ShoppingCartItemCheckResult Methods

The ShoppingCartItemCheckResult type exposes the following members.

Methods
  NameDescription
Public methodCombineWithResult
Includes specified check result into this object in order to find the most restrictive values. No action is taken when results belong to different SKUs.
Public methodGetFormattedMessage
Returns formatted result message when check has failed. Message is HTML-formatted: each error on its own line. Returns empty string if check passed.
Protected methodGetMax
Returns larger value from params. Values below 0 are considered to be "not specified".
Public methodGetMessage
Returns check result formatted as string. Message contains individual error messages separated with specified separator. Empty string is returned when no errors found.
Protected methodGetMin
Returns smaller value from params. Values below 0 are considered to be "not specified".
Public methodMarkMaxUnitsFailed
Marks this result as "Maximum unit count not reached".
Public methodMarkMinUnitsFailed
Marks this result as "Minimum unit count not reached".
Public methodMarkNotEnoughUnits
Marks this result as "Not enough units available".
Public methodMarkOtherError
Marks this result with error message. Use this method to report custom errors. Duplicate entries are removed.
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
See Also