Online documentation - Websydian v6.0

Users Guide | Patterns Reference | WebsydianExpress | Search

 

CreditCardTemplate Abstract Entity

The CreditCardTemplate entity is a template of some common fields used to identify credit card data. It is intended to be used as a field contributor for event handlers that model external events, e.g. the Ordering.Submit Payment.Ok event handler:

MyShop.Web.Ordering.Submit Payment.OK

local view VW

…for

MyShop.Abstract.CreditCartTemplate.Fetch

WebInput

CreditCardTemplate Fields

By default, the CreditCardTemplate entity defines the following fields: 

Fields.CreditCardNumber Credit card number.
Fields.CreditCardExpiryYear Credit card expiration year
Fields.CreditCardExpiryMonth Credit card expiration month

CreditCardTemplate Inheritance

The CreditCardTemplate entity does not inherit from any pattern.