Overview
The AffiliatePaymentsViewModel is used to display commission information over to a specific affiliate. This article will help you understand what's available to you in the view model.
Requirements
The following pre-requisites will be necessary to accomplish the goals of this article:
- General understanding of template engines
- Understanding HTML, CSS, JavaScript
- Familiarity with template languages
- Familiarity with ASP.NET MVC Razor
Getting Started
There are no tasks needed to get started with understanding this object.
AffiliatePaymentsViewModel
The AffiliatePaymentsViewModel object will contain all of the details for a commission report for a single affiliate in your Hotcakes Commerce store.
Members
The following table gives you details on the various members of the AffiliatePaymentsViewModel object. The descriptions are based upon default functionality and the default Viewset included with Hotcakes.
Member | Type | Description |
Payments | PaymentViewModel |
List of payments for the specific Afficiliate which shown on Affiliate Dashboard |
TotalAmount | String | Total of amount of commission for all orders |
TotalCount | Int | Total number of commission payments for the affiliate |
Need More Help?
Do you need more assistance with this article? Please review your support options.