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
User
Optional user information used to personalize the notification (for example display name and recipient email).
public required UserViewModel User { get; init; }