/// <summary>
 /// Initializes a new instance of the <see cref="AffiliateLedger" /> class.
 /// </summary>
 /// <param name="affiliateClickOid">Unique object identifier for the click associated with this ledger entry.</param>
 /// <param name="affiliateLinkOid">Unique object identifier for the link that this click is associated with.</param>
 /// <param name="affiliateOid">Affiliate object ID associated with this transaction.</param>
 /// <param name="assignedByUser">User that assigned the transaction if it was done manually.</param>
 /// <param name="click">click.</param>
 /// <param name="itemId">Item ID associated with this transaction.</param>
 /// <param name="link">link.</param>
 /// <param name="order">order.</param>
 /// <param name="orderId">Order ID associated with this transaction.</param>
 /// <param name="originalTransactionDts">Date/time of the original transaction for reversals.</param>
 /// <param name="subId">Sub ID associated with transaction (from the click).</param>
 /// <param name="tierNumber">Tier number that this transaction earned.</param>
 /// <param name="transactionAmount">Transaction amount.</param>
 /// <param name="transactionAmountPaid">Amount of the transaction that has been paid out..</param>
 /// <param name="transactionDts">Date/time that the transaction was made.</param>
 /// <param name="transactionMemo">Memo explaining the transaction.</param>
 /// <param name="transactionPercentage">Percentage associated with this transaction.</param>
 /// <param name="transactionState">Transaction state.</param>
 public AffiliateLedger(int?affiliateClickOid = default(int?), int?affiliateLinkOid = default(int?), int?affiliateOid = default(int?), string assignedByUser = default(string), AffiliateClick click = default(AffiliateClick), string itemId = default(string), AffiliateLink link = default(AffiliateLink), Order order = default(Order), string orderId = default(string), string originalTransactionDts = default(string), string subId = default(string), string tierNumber = default(string), decimal?transactionAmount = default(decimal?), decimal?transactionAmountPaid = default(decimal?), string transactionDts = default(string), string transactionMemo = default(string), string transactionPercentage = default(string), TransactionStateEnum?transactionState = default(TransactionStateEnum?))
 {
     this.AffiliateClickOid = affiliateClickOid;
     this.AffiliateLinkOid  = affiliateLinkOid;
     this.AffiliateOid      = affiliateOid;
     this.AssignedByUser    = assignedByUser;
     this.Click             = click;
     this.ItemId            = itemId;
     this.Link    = link;
     this.Order   = order;
     this.OrderId = orderId;
     this.OriginalTransactionDts = originalTransactionDts;
     this.SubId                 = subId;
     this.TierNumber            = tierNumber;
     this.TransactionAmount     = transactionAmount;
     this.TransactionAmountPaid = transactionAmountPaid;
     this.TransactionDts        = transactionDts;
     this.TransactionMemo       = transactionMemo;
     this.TransactionPercentage = transactionPercentage;
     this.TransactionState      = transactionState;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AffiliateClick" /> class.
 /// </summary>
 /// <param name="affiliateClickOid">Unique object identifier for this click.</param>
 /// <param name="affiliateLinkOid">Unique object identifier for for the link that this click is associated with.</param>
 /// <param name="affiliateOid">Affiliate object ID associated with this click.</param>
 /// <param name="clickDts">Date/time that the click was made.</param>
 /// <param name="ipAddress">IP address that generated the click.</param>
 /// <param name="landingPage">URL of the landing page the customer was sent to..</param>
 /// <param name="landingPageQueryString">Query string on the landing page URL the customer was sent to..</param>
 /// <param name="link">link.</param>
 /// <param name="referrer">URL that referred the click (Browser Header Referer).</param>
 /// <param name="referrerQueryString">Query string that was on the referrer URL..</param>
 /// <param name="subId">Sub ID value passed on the click.</param>
 public AffiliateClick(int?affiliateClickOid = default(int?), int?affiliateLinkOid = default(int?), int?affiliateOid = default(int?), string clickDts = default(string), string ipAddress = default(string), string landingPage = default(string), string landingPageQueryString = default(string), AffiliateLink link = default(AffiliateLink), string referrer = default(string), string referrerQueryString = default(string), string subId = default(string))
 {
     this.AffiliateClickOid      = affiliateClickOid;
     this.AffiliateLinkOid       = affiliateLinkOid;
     this.AffiliateOid           = affiliateOid;
     this.ClickDts               = clickDts;
     this.IpAddress              = ipAddress;
     this.LandingPage            = landingPage;
     this.LandingPageQueryString = landingPageQueryString;
     this.Link                = link;
     this.Referrer            = referrer;
     this.ReferrerQueryString = referrerQueryString;
     this.SubId               = subId;
 }