ShoppingCartItemCheckResult MembersKentico 8.0 API Reference
The ShoppingCartItemCheckResult type exposes the following members.
Constructors

  NameDescription
Public methodShoppingCartItemCheckResult
Back to Top
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 methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
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.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
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 methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
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.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Extension Methods

  NameDescription
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.)
Back to Top
Properties

  NameDescription
Public propertyCartItem
Affected shopping cart item object.
Public propertyHasOtherErrors
Indicates whether result has any other (custom) errors.
Public propertyCheckFailed
Indicates whether the check has failed.
Public propertyInventoryUnits
Number of available units when not enough. Value is set to -1 when all requested units are available.
Public propertyMaxUnits
Maximum unit count in one order. Value is set to -1 when maximum units in order condition is met.
Public propertyMaxUnitsExceeded
Indicates that maximum unit count in one order condition is not met.
Public propertyMinUnits
Minimum unit count in one order. Value is set to -1 when minimum units in order condition is met.
Public propertyMinUnitsNotReached
Indicates that minimum unit count in one order condition is not met.
Public propertyNotEnoughUnits
Indicates that requested unit count is not available.
Public propertyOtherErrors
List of other (custom) error messages.
Public propertyProductDisabled
Indicates that product is disabled.
Public propertyProductValidityExpired
Indicates that product has expired.
Public propertyRegisteredCustomerRequired
Indicates that product can not be purchased, because it requires registered customer.
Back to Top
See Also