Table of Contents

Class PaymentCardExpirationEmailViewModel

Namespace
Dynamicweb.Ecommerce.Frontend
Assembly
Dynamicweb.Ecommerce.dll

View model used to render the payment card expiration notification. This model is supplied to the email template when notifying a user that a saved payment card is approaching its expiration date.

public class PaymentCardExpirationEmailViewModel : ViewModelBase
Inheritance
PaymentCardExpirationEmailViewModel
Inherited Members

Properties

PaymentCardExpiration

Information about the expiring payment card. This includes details such as card type, masked number (e.g. last four digits) and expiration date which the email template uses to identify the card being notified.

public required PaymentCardExpirationViewModel PaymentCardExpiration { get; init; }

Property Value

PaymentCardExpirationViewModel

Link to the page where the user can view and manage their saved payment cards.

public Uri? SavedCardsLink { get; init; }

Property Value

Uri

SiteBase

The base URL of the site from which the email was sent, e.g. https://example.com. This is derived from the incoming request and includes scheme, host, and port (when non-default).

public Uri? SiteBase { get; init; }

Property Value

Uri

User

Optional user information used to personalize the notification (for example display name and recipient email).

public required UserViewModel User { get; init; }

Property Value

UserViewModel
To top