Click or drag to resize
ShoppingCartCheckResult Methods

The ShoppingCartCheckResult type exposes the following members.

Methods
  NameDescription
Public methodAddCartItemResult
Adds specified item check result to this cart check result object.
Public methodGetFormattedMessage
Returns formatted error message when check has failed, meaning that errors from each item are on its own line using end-of-line char. Returns empty string if check passed.
Public methodGetHTMLFormattedMessage
Returns HTML formatted error message when check has failed, meaning that errors from each item are on its own line using [br /] HTML tag. Returns empty string if check passed.
Public methodGetMessage
Returns check result formatted as string. Message consists of common error message followed by individual item error messages separated using specified separators. Empty string is returned when no errors found.
Top
See Also