Class PaymentViewModel
- Namespace
- Dynamicweb.Ecommerce.Frontend
- Assembly
- Dynamicweb.Ecommerce.dll
Represents a ViewModelBase for payment method information, containing details about specific payment methods used within Dynamicweb. This class includes properties such as the payment method identifier, name, description, icon, and terms related to the payment process.
public class PaymentViewModel : ViewModelBase
- Inheritance
-
PaymentViewModel
- Inherited Members
Properties
Code
Another code identifying the payment method, it's used when integrating with Business Central.
public string Code { get; set; }
Property Value
Description
A description of the payment method. This description can include details on the payment process, any applicable fees, or any special conditions.
public string Description { get; set; }
Property Value
- string
Detailed information about the payment method.
Icon
The path or URL to an icon representing the payment method visually for ease of recognition. If it is a path, the root will be the Dynamicweb Files folder, so a path could be "/Images/Payment/mobilepay_logo.svg"
public string Icon { get; set; }
Property Value
- string
URL or path to the payment methods icon.
Id
The unique identifier for the payment method. This id is essential for differentiating between various payment options within Dynamicweb.
public string Id { get; set; }
Property Value
- string
Unique identifier for the payment method.
Name
The name of the payment method, presented to users during the checkout process. This name helps users identify the correct payment option, reflecting the brand or type of payment method, for example "Creditcard", "Invoice", "MobilePay".
public string Name { get; set; }
Property Value
- string
The display name of the payment method.
TermsCode
The code that references the terms and conditions specific to the payment method, it's used when integrating with Business Central.
public string TermsCode { get; set; }
Property Value
TermsDescription
A description of the terms and conditions associated with the payment method, it's used when integrating with Business Central.
public string TermsDescription { get; set; }