The AffiliateReferralsViewModel makes it possible to display the history of referrals for a specific affiliate over a period of time. This article will help you understand what's available to you in the view model.
The following pre-requisites will be necessary to accomplish the goals of this article:
- General understanding of template engines
- Familiarity with template languages
- Familiarity with ASP.NET MVC Razor
There are no tasks needed to get started with understanding this object.
The AffiliateReferralsViewModel object will contain all of the details for the referral history of a specific affiliate in your Hotcakes Commerce store.
The following table gives you details on the various members of the AffiliateReferralsViewModel object. The descriptions are based upon default functionality and the default Viewset included with Hotcakes.
List of referrals for the specific affiliate which are shown on affiliate dashboard
|TotalAmount||String||Total revenue of all referrals for the affiliate|
|TotalCount||Int||Number of referrals for the affiliate|