Sana Assistant (online)
Table of Contents

CheckoutItemLineCommentValidationContext reference

This article provides reference material about CheckoutItemLineCommentValidationContext record which provides information that needed to validate the checkout item line comment. It is available as a parameter in ValidateCommentAsync method of the checkout item line extension.

CheckoutItemLineCommentValidationContext record

Properties

Line

The checkout item line.

Product

The checkout item line product.

Variant

The checkout item line variant.

User

The current user browsing the web store. This can be used to implement user-specific validation rules.

See WebstoreUserInfo reference for detailed information.

Account

The current ERP account which is used to communicate with ERP. This can be used for account-specific validation rules.

See AccountInfo reference for detailed information.

See also