コード例 #1
0
        /// <summary>
        /// Returns true if CustomInfo instances are equal
        /// </summary>
        /// <param name="input">Instance of CustomInfo to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(CustomInfo input)
        {
            if (input == null)
            {
                return(false);
            }

            return(base.Equals(input));
        }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CreateAccount" /> class.
 /// </summary>
 /// <param name="userId">The user&#39;s account ID according to your systems. Note that user IDs are case sensitive..</param>
 /// <param name="sessionId">The user&#39;s current session ID, used to tie a user&#39;s action before and after login or account creation. Required if no user_id values is provided..</param>
 /// <param name="deviceIp">IP address of the request made by the user. Recommended for historical backfills and customers with mobile apps..</param>
 /// <param name="originTimestamp">Represents the time the event occured in your system. Send as a UNIX timestamp in milliseconds in string..</param>
 /// <param name="userEmail">Email of the user creating this order. Note - If the user&#39;s email is also their account ID in your system, set both the userId and userEmail fields to their email address..</param>
 /// <param name="firstName">Provide the first name associated with the user here..</param>
 /// <param name="lastName">Provide the last name associated with the user here..</param>
 /// <param name="phone">The primary phone number of the user associated with this account. Provide the phone number as a string..</param>
 /// <param name="age">Age of the user e.g. \&quot;25\&quot;.</param>
 /// <param name="gender">Gender of the user e.g. \&quot;_male\&quot;, \&quot;_female\&quot; or \&quot;_trans\&quot;.</param>
 /// <param name="referralCode">Code or promotion used by the user while creating account..</param>
 /// <param name="referrerUserId">The ID of the user that referred the current user to your business. This field is required for detecting referral fraud..</param>
 /// <param name="billingAddress">billingAddress.</param>
 /// <param name="shippingAddress">shippingAddress.</param>
 /// <param name="paymentMethods">The payment information associated with this account. Represented as an array of nested payment_method objects containing payment type, payment gateway, credit card bin, etc..</param>
 /// <param name="promotions">The list of promotions that apply to this account. You can add one or more promotions when creating or updating an order. Represented as a JSON array of promotion objects. You can also separately add promotions to the account via the addPromotion event..</param>
 /// <param name="socialSignOnType">If the user logged in with a social identify provider, give the name here. e.g. _google, _facebook, _twitter, _linkedin, _other.</param>
 /// <param name="emailConfirmedStatus">Status of email verification. e.g. _success, _failure, _pending.</param>
 /// <param name="phoneConfirmedStatus">Status of phone verification. e.g. _success, _failure, _pending.</param>
 /// <param name="isNewsletterSubscribed">Is user subscribed for newsletter. e.g. true, false.</param>
 /// <param name="accountStatus">Current status of account, e.g. _active, _inactive.</param>
 /// <param name="facebookId">Facebook user id or token of the user. This can help to varify his social identity..</param>
 /// <param name="googleId">Google user id or token of the user. This can help to varify his social identity..</param>
 /// <param name="twitterId">Twitter handle or token of the user. This can help to varify his social identity..</param>
 /// <param name="customInfo">customInfo.</param>
 public CreateAccount(string userId = default(string), string sessionId = default(string), string deviceIp = default(string), string originTimestamp = default(string), string userEmail = default(string), string firstName = default(string), string lastName = default(string), string phone = default(string), string age = default(string), string gender = default(string), string referralCode = default(string), string referrerUserId = default(string), BillingAddress billingAddress = default(BillingAddress), ShippingAddress shippingAddress = default(ShippingAddress), List <PaymentMethod> paymentMethods = default(List <PaymentMethod>), List <Promotion> promotions = default(List <Promotion>), string socialSignOnType = default(string), string emailConfirmedStatus = default(string), string phoneConfirmedStatus = default(string), bool?isNewsletterSubscribed = default(bool?), string accountStatus = default(string), string facebookId = default(string), string googleId = default(string), string twitterId = default(string), CustomInfo customInfo = default(CustomInfo))
 {
     this.userId                 = userId;
     this.sessionId              = sessionId;
     this.deviceIp               = deviceIp;
     this.originTimestamp        = originTimestamp;
     this.userEmail              = userEmail;
     this.firstName              = firstName;
     this.lastName               = lastName;
     this.phone                  = phone;
     this.age                    = age;
     this.gender                 = gender;
     this.referralCode           = referralCode;
     this.referrerUserId         = referrerUserId;
     this.billingAddress         = billingAddress;
     this.shippingAddress        = shippingAddress;
     this.paymentMethods         = paymentMethods;
     this.promotions             = promotions;
     this.socialSignOnType       = socialSignOnType;
     this.emailConfirmedStatus   = emailConfirmedStatus;
     this.phoneConfirmedStatus   = phoneConfirmedStatus;
     this.isNewsletterSubscribed = isNewsletterSubscribed;
     this.accountStatus          = accountStatus;
     this.facebookId             = facebookId;
     this.googleId               = googleId;
     this.twitterId              = twitterId;
     this.customInfo             = customInfo;
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AddPromotion" /> class.
 /// </summary>
 /// <param name="userId">The user&#39;s account ID according to your systems. Note that user IDs are case sensitive..</param>
 /// <param name="sessionId">The user&#39;s current session ID, used to tie a user&#39;s action before and after login or account creation. Required if no user_id values is provided..</param>
 /// <param name="deviceIp">IP address of the request made by the user. Recommended for historical backfills and customers with mobile apps..</param>
 /// <param name="originTimestamp">Represents the time the event occured in your system. Send as a UNIX timestamp in milliseconds in string..</param>
 /// <param name="promotions">Contains all promotions that have been newly applied to the referenced user..</param>
 /// <param name="customInfo">customInfo.</param>
 public AddPromotion(string userId = default(string), string sessionId = default(string), string deviceIp = default(string), string originTimestamp = default(string), List <Promotion> promotions = default(List <Promotion>), CustomInfo customInfo = default(CustomInfo))
 {
     this.userId          = userId;
     this.sessionId       = sessionId;
     this.deviceIp        = deviceIp;
     this.originTimestamp = originTimestamp;
     this.promotions      = promotions;
     this.customInfo      = customInfo;
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Tag" /> class.
 /// </summary>
 /// <param name="userId">The user&#39;s account ID according to your systems. Note that user IDs are case sensitive..</param>
 /// <param name="isBad">Indicates whether a user is engaging in behavior deemed harmful to your business. Set to true if the user is engaging in abusive activity. Set to false if the user is engaging in valid activity..</param>
 /// <param name="abuseType">The type of abuse for which you want to send a tag. It&#39;s important to send a tag specific to the type of abuse the user is committing so that thirdwatch can learn about specific patterns of behavior. You&#39;ll end up with more accurate results this way. e.g. _paymentAbuse, _contentAbuse, _promotionAbuse, _accountAbuse.</param>
 /// <param name="description">The text content of the tag.Useful as annotation on why the label was added..</param>
 /// <param name="source">String describing the original source of the tag information (e.g. payment gateway, manual review, etc.)..</param>
 /// <param name="analyst">Unique identifier (e.g. email address) of the analyst who applied the label. Useful for tracking purposes after the fact..</param>
 /// <param name="customInfo">customInfo.</param>
 public Tag(string userId = default(string), bool?isBad = default(bool?), string abuseType = default(string), string description = default(string), string source = default(string), string analyst = default(string), CustomInfo customInfo = default(CustomInfo))
 {
     this.userId      = userId;
     this.isBad       = isBad;
     this.abuseType   = abuseType;
     this.description = description;
     this.source      = source;
     this.analyst     = analyst;
     this.customInfo  = customInfo;
 }
コード例 #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Login" /> class.
 /// </summary>
 /// <param name="userId">The user&#39;s account ID according to your systems. Note that user IDs are case sensitive..</param>
 /// <param name="sessionId">The user&#39;s current session ID, used to tie a user&#39;s action before and after login or account creation. Required if no user_id values is provided..</param>
 /// <param name="deviceIp">IP address of the request made by the user. Recommended for historical backfills and customers with mobile apps..</param>
 /// <param name="originTimestamp">Represents the time the event occured in your system. Send as a UNIX timestamp in milliseconds in string..</param>
 /// <param name="loginStatus">Use _loginStatus to represent the success or failure of the login attempt. e.g. _success, _failure.</param>
 /// <param name="customInfo">customInfo.</param>
 public Login(string userId = default(string), string sessionId = default(string), string deviceIp = default(string), string originTimestamp = default(string), string loginStatus = default(string), CustomInfo customInfo = default(CustomInfo))
 {
     this.userId          = userId;
     this.sessionId       = sessionId;
     this.deviceIp        = deviceIp;
     this.originTimestamp = originTimestamp;
     this.loginStatus     = loginStatus;
     this.customInfo      = customInfo;
 }
コード例 #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Transaction" /> class.
 /// </summary>
 /// <param name="userId">The user&#39;s account ID according to your systems. Note that user IDs are case sensitive..</param>
 /// <param name="sessionId">The user&#39;s current session ID, used to tie a user&#39;s action before and after login or account creation. Required if no user_id values is provided..</param>
 /// <param name="orderId">The ID for tracking this order in your system. (required).</param>
 /// <param name="transactionId">The ID for identifying this transaction. Important for tracking transactions, and linking different parts of the same transaction together, e.g., linking a refund to its original transaction..</param>
 /// <param name="deviceIp">IP address of the request made by the user. Recommended for historical backfills and customers with mobile apps..</param>
 /// <param name="originTimestamp">Represents the time the event occured in your system. Send as a UNIX timestamp in milliseconds in string..</param>
 /// <param name="userEmail">Email of the user creating this order. Note - If the user&#39;s email is also their account ID in your system, set both the userId and userEmail fields to their email address..</param>
 /// <param name="amount">The item unit price in numbers, in the base unit of the currency_code.e.g. \&quot;2500\&quot;.</param>
 /// <param name="currencyCode">The [ISO-4217](http://en.wikipedia.org/wiki/ISO_4217) currency code for the amount. e.g., USD, INR alternative currencies, like bitcoin or points systems..</param>
 /// <param name="transactionType">The type of transaction being recorded. e.g. _sale, _authorize, _capture, _void, _refund, _deposit, _withdrawal, _transfer.</param>
 /// <param name="transactionStatus">Use _transactionStatus to indicate the status of the transaction. The value can be \&quot;_success\&quot; (default value), \&quot;_failure\&quot; or \&quot;_pending\&quot;. For instance, If the transaction was rejected by the payment gateway, set the value to \&quot;_failure\&quot;. (required).</param>
 /// <param name="isFirstTimeBuyer">Is user first time buyer..</param>
 /// <param name="billingAddress">billingAddress.</param>
 /// <param name="shippingAddress">shippingAddress.</param>
 /// <param name="paymentMethod">paymentMethod.</param>
 /// <param name="customInfo">customInfo.</param>
 public Transaction(string userId = default(string), string sessionId = default(string), string orderId = default(string), string transactionId = default(string), string deviceIp = default(string), string originTimestamp = default(string), string userEmail = default(string), string amount = default(string), string currencyCode = default(string), string transactionType = default(string), string transactionStatus = default(string), bool?isFirstTimeBuyer = default(bool?), BillingAddress billingAddress = default(BillingAddress), ShippingAddress shippingAddress = default(ShippingAddress), PaymentMethod paymentMethod = default(PaymentMethod), CustomInfo customInfo = default(CustomInfo))
 {
     // to ensure "orderId" is required (not null)
     if (orderId == null)
     {
         throw new InvalidDataException("orderId is a required property for Transaction and cannot be null");
     }
     else
     {
         this.orderId = orderId;
     }
     // to ensure "transactionStatus" is required (not null)
     if (transactionStatus == null)
     {
         throw new InvalidDataException("transactionStatus is a required property for Transaction and cannot be null");
     }
     else
     {
         this.transactionStatus = transactionStatus;
     }
     this.userId           = userId;
     this.sessionId        = sessionId;
     this.transactionId    = transactionId;
     this.deviceIp         = deviceIp;
     this.originTimestamp  = originTimestamp;
     this.userEmail        = userEmail;
     this.amount           = amount;
     this.currencyCode     = currencyCode;
     this.transactionType  = transactionType;
     this.isFirstTimeBuyer = isFirstTimeBuyer;
     this.billingAddress   = billingAddress;
     this.shippingAddress  = shippingAddress;
     this.paymentMethod    = paymentMethod;
     this.customInfo       = customInfo;
 }
コード例 #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Chargeback" /> class.
 /// </summary>
 /// <param name="userId">The user&#39;s account ID according to your systems. Note that user IDs are case sensitive..</param>
 /// <param name="sessionId">The user&#39;s current session ID, used to tie a user&#39;s action before and after login or account creation. Required if no user_id values is provided..</param>
 /// <param name="orderId">The ID for the order that this chargeback is filed against. This field is not required if this chargeback was filed against a transaction with no _orderId..</param>
 /// <param name="transactionId">The ID for the transaction that this chargeback is filed against..</param>
 /// <param name="chargebackState">The current state of the chargeback. e.g. _received, _accepted, _disputed, _won, _lost.</param>
 /// <param name="chargebackReason">This field can be used to capture the reason given. e.g. _fraud, _duplicate, _product_not_received, _product_unacceptable, _other\&quot;.</param>
 /// <param name="customInfo">customInfo.</param>
 public Chargeback(string userId = default(string), string sessionId = default(string), string orderId = default(string), string transactionId = default(string), string chargebackState = default(string), string chargebackReason = default(string), CustomInfo customInfo = default(CustomInfo))
 {
     this.userId           = userId;
     this.sessionId        = sessionId;
     this.orderId          = orderId;
     this.transactionId    = transactionId;
     this.chargebackState  = chargebackState;
     this.chargebackReason = chargebackReason;
     this.customInfo       = customInfo;
 }
コード例 #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LinkSessionToUser" /> class.
 /// </summary>
 /// <param name="userId">The user&#39;s account ID according to your systems. Note that user IDs are case sensitive..</param>
 /// <param name="sessionId">The user&#39;s current session ID, used to associate session id with user id..</param>
 /// <param name="customInfo">customInfo.</param>
 public LinkSessionToUser(string userId = default(string), string sessionId = default(string), CustomInfo customInfo = default(CustomInfo))
 {
     this.userId     = userId;
     this.sessionId  = sessionId;
     this.customInfo = customInfo;
 }
コード例 #9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CreateOrder" /> class.
 /// </summary>
 /// <param name="userId">The user&#39;s account ID according to your systems. Note that user IDs are case sensitive..</param>
 /// <param name="sessionId">The user&#39;s current session ID, used to tie a user&#39;s action before and after login or account creation. Required if no user_id values is provided..</param>
 /// <param name="orderId">The ID for tracking this order in your system. (required).</param>
 /// <param name="deviceIp">IP address of the request made by the user. Recommended for historical backfills and customers with mobile apps..</param>
 /// <param name="originTimestamp">Represents the time the event occured in your system. Send as a UNIX timestamp in milliseconds in string..</param>
 /// <param name="userEmail">Email of the user creating this order. Note - If the user&#39;s email is also their account ID in your system, set both the userId and userEmail fields to their email address..</param>
 /// <param name="amount">The item unit price in numbers, in the base unit of the currency_code.e.g. \&quot;2500\&quot;.</param>
 /// <param name="currencyCode">The [ISO-4217](http://en.wikipedia.org/wiki/ISO_4217) currency code for the amount. e.g., USD, INR alternative currencies, like bitcoin or points systems..</param>
 /// <param name="hasExpeditedShipping">Whether the user requested priority/expedited shipping on their order..</param>
 /// <param name="shippingMethod">Indicates the method of delivery to the user. e.g. _electronic, _physical.</param>
 /// <param name="orderReferrer">Referer website or user name..</param>
 /// <param name="isPrePaid">is order is prepaid..</param>
 /// <param name="isGift">Is user chosen gift pack..</param>
 /// <param name="isReturn">Is this return order..</param>
 /// <param name="isFirstTimeBuyer">Is user first time buyer..</param>
 /// <param name="billingAddress">billingAddress.</param>
 /// <param name="shippingAddress">shippingAddress.</param>
 /// <param name="paymentMethods">The payment information associated with this order. Represented as an array of nested payment_method objects containing payment type, payment gateway, credit card bin, etc..</param>
 /// <param name="promotions">The list of promotions that apply to this order. You can add one or more promotions when creating or updating an order. Represented as a JSON array of promotion objects. You can also separately add promotions to the account via the addPromotion event..</param>
 /// <param name="items">The list of items ordered. Represented as a JSON array of item.</param>
 /// <param name="customInfo">customInfo.</param>
 public CreateOrder(string userId = default(string), string sessionId = default(string), string orderId = default(string), string deviceIp = default(string), string originTimestamp = default(string), string userEmail = default(string), string amount = default(string), string currencyCode = default(string), bool?hasExpeditedShipping = default(bool?), string shippingMethod = default(string), string orderReferrer = default(string), bool?isPrePaid = default(bool?), bool?isGift = default(bool?), bool?isReturn = default(bool?), bool?isFirstTimeBuyer = default(bool?), BillingAddress billingAddress = default(BillingAddress), ShippingAddress shippingAddress = default(ShippingAddress), List <PaymentMethod> paymentMethods = default(List <PaymentMethod>), List <Promotion> promotions = default(List <Promotion>), List <Item> items = default(List <Item>), CustomInfo customInfo = default(CustomInfo))
 {
     // to ensure "orderId" is required (not null)
     if (orderId == null)
     {
         throw new InvalidDataException("orderId is a required property for CreateOrder and cannot be null");
     }
     else
     {
         this.orderId = orderId;
     }
     this.userId               = userId;
     this.sessionId            = sessionId;
     this.deviceIp             = deviceIp;
     this.originTimestamp      = originTimestamp;
     this.userEmail            = userEmail;
     this.amount               = amount;
     this.currencyCode         = currencyCode;
     this.hasExpeditedShipping = hasExpeditedShipping;
     this.shippingMethod       = shippingMethod;
     this.orderReferrer        = orderReferrer;
     this.isPrePaid            = isPrePaid;
     this.isGift               = isGift;
     this.isReturn             = isReturn;
     this.isFirstTimeBuyer     = isFirstTimeBuyer;
     this.billingAddress       = billingAddress;
     this.shippingAddress      = shippingAddress;
     this.paymentMethods       = paymentMethods;
     this.promotions           = promotions;
     this.items      = items;
     this.customInfo = customInfo;
 }
コード例 #10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ReportItem" /> class.
 /// </summary>
 /// <param name="userId">The user&#39;s account ID according to your systems. Note that user IDs are case sensitive..</param>
 /// <param name="sessionId">The user&#39;s current session ID, used to tie a user&#39;s action before and after login or account creation. Required if no user_id values is provided..</param>
 /// <param name="itemId">The unique ID for the item that is being reported. Note - item IDs are case sensitive..</param>
 /// <param name="deviceIp">IP address of the request made by the user. Recommended for historical backfills and customers with mobile apps..</param>
 /// <param name="originTimestamp">Represents the time the event occured in your system. Send as a UNIX timestamp in milliseconds in string..</param>
 /// <param name="userEmail">Email of the user creating this order. Note - If the user&#39;s email is also their account ID in your system, set both the userId and userEmail fields to their email address..</param>
 /// <param name="customInfo">customInfo.</param>
 public ReportItem(string userId = default(string), string sessionId = default(string), string itemId = default(string), string deviceIp = default(string), string originTimestamp = default(string), string userEmail = default(string), CustomInfo customInfo = default(CustomInfo))
 {
     this.userId          = userId;
     this.sessionId       = sessionId;
     this.itemId          = itemId;
     this.deviceIp        = deviceIp;
     this.originTimestamp = originTimestamp;
     this.userEmail       = userEmail;
     this.customInfo      = customInfo;
 }
コード例 #11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ItemStatus" /> class.
 /// </summary>
 /// <param name="userId">The user&#39;s account ID according to your systems. Note that user IDs are case sensitive..</param>
 /// <param name="sessionId">The user&#39;s current session ID, used to tie a user&#39;s action before and after login or account creation. Required if no user_id values is provided..</param>
 /// <param name="orderId">The ID for the order that this chargeback is filed against. This field is not required if this chargeback was filed against a transaction with no _orderId..</param>
 /// <param name="itemId">The item&#39;s unique identifier according to your systems. Use the same ID that you would use to look up items on your website&#39;s database..</param>
 /// <param name="_itemStatus">Indicates the high-level state of the order. e.g. _approved, _canceled, _held, _fulfilled, _returned, _rto.</param>
 /// <param name="reason">The reason for a cancellation. e.g. _paymentRisk, _abuse, _policy, _other.</param>
 /// <param name="shippingCost">if _approved or _fulfilled than pass the shipping cost. e.g. \&quot;50\&quot;.</param>
 /// <param name="trackingNumber">if _approved or _fulfilled than pass the tracking number. e.g. \&quot;55327470\&quot;.</param>
 /// <param name="trackingMethod">if _approved or _fulfilled than pass the tracking url. e.g. \&quot;http://fedex.com/track?q&#x3D;abc123\&quot;.</param>
 /// <param name="source">The source of a decision. e.g. _automated, _manualReview\&quot;.</param>
 /// <param name="analyst">The analyst who made the decision, if manual..</param>
 /// <param name="description">Any additional information about this order status change..</param>
 /// <param name="customInfo">customInfo.</param>
 public ItemStatus(string userId = default(string), string sessionId = default(string), string orderId = default(string), string itemId = default(string), string _itemStatus = default(string), string reason = default(string), string shippingCost = default(string), string trackingNumber = default(string), string trackingMethod = default(string), string source = default(string), string analyst = default(string), string description = default(string), CustomInfo customInfo = default(CustomInfo))
 {
     this.userId         = userId;
     this.sessionId      = sessionId;
     this.orderId        = orderId;
     this.itemId         = itemId;
     this._itemStatus    = _itemStatus;
     this.reason         = reason;
     this.shippingCost   = shippingCost;
     this.trackingNumber = trackingNumber;
     this.trackingMethod = trackingMethod;
     this.source         = source;
     this.analyst        = analyst;
     this.description    = description;
     this.customInfo     = customInfo;
 }
コード例 #12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SubmitReview" /> class.
 /// </summary>
 /// <param name="userId">The user&#39;s account ID according to your systems. Note that user IDs are case sensitive..</param>
 /// <param name="sessionId">The user&#39;s current session ID, used to tie a user&#39;s action before and after login or account creation. Required if no user_id values is provided..</param>
 /// <param name="deviceIp">IP address of the request made by the user. Recommended for historical backfills and customers with mobile apps..</param>
 /// <param name="originTimestamp">Represents the time the event occured in your system. Send as a UNIX timestamp in milliseconds in string..</param>
 /// <param name="reviewTitle">The title of review submitted..</param>
 /// <param name="reviewContent">The text content of review submitted..</param>
 /// <param name="itemId">The ID of the product or service being reviewed..</param>
 /// <param name="submissionStatus">If reviews in your system must be approved, use _submissionStatus to represent the status of the review. e.g. _success, _failure, _pending.</param>
 /// <param name="rating">The rating provided by the user. e.g. \&quot;4\&quot;.</param>
 /// <param name="customInfo">customInfo.</param>
 public SubmitReview(string userId = default(string), string sessionId = default(string), string deviceIp = default(string), string originTimestamp = default(string), string reviewTitle = default(string), string reviewContent = default(string), string itemId = default(string), string submissionStatus = default(string), string rating = default(string), CustomInfo customInfo = default(CustomInfo))
 {
     this.userId           = userId;
     this.sessionId        = sessionId;
     this.deviceIp         = deviceIp;
     this.originTimestamp  = originTimestamp;
     this.reviewTitle      = reviewTitle;
     this.reviewContent    = reviewContent;
     this.itemId           = itemId;
     this.submissionStatus = submissionStatus;
     this.rating           = rating;
     this.customInfo       = customInfo;
 }
コード例 #13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AddToCart" /> class.
 /// </summary>
 /// <param name="userId">The user&#39;s account ID according to your systems. Note that user IDs are case sensitive..</param>
 /// <param name="sessionId">The user&#39;s current session ID, used to tie a user&#39;s action before and after login or account creation. Required if no user_id values is provided..</param>
 /// <param name="deviceIp">IP address of the request made by the user. Recommended for historical backfills and customers with mobile apps..</param>
 /// <param name="originTimestamp">Represents the time the event occured in your system. Send as a UNIX timestamp in milliseconds in string..</param>
 /// <param name="item">item.</param>
 /// <param name="customInfo">customInfo.</param>
 public AddToCart(string userId = default(string), string sessionId = default(string), string deviceIp = default(string), string originTimestamp = default(string), Item item = default(Item), CustomInfo customInfo = default(CustomInfo))
 {
     this.userId          = userId;
     this.sessionId       = sessionId;
     this.deviceIp        = deviceIp;
     this.originTimestamp = originTimestamp;
     this.item            = item;
     this.customInfo      = customInfo;
 }
コード例 #14
0
ファイル: UnTag.cs プロジェクト: thirdwatch/thirdwatch-csharp
 /// <summary>
 /// Initializes a new instance of the <see cref="UnTag" /> class.
 /// </summary>
 /// <param name="userId">The user&#39;s account ID according to your systems. Note that user IDs are case sensitive..</param>
 /// <param name="abuseType">The type of abuse for which you want to untag user. It&#39;s important to send a untag specific to the type of abuse. You&#39;ll end up with more accurate results this way. e.g. _paymentAbuse, _contentAbuse, _promotionAbuse, _accountAbuse If you wants to untag from all type of abuses than don&#39;t send this parameter..</param>
 /// <param name="analyst">Unique identifier (e.g. email address) of the analyst who applied the label. Useful for tracking purposes after the fact..</param>
 /// <param name="customInfo">customInfo.</param>
 public UnTag(string userId = default(string), string abuseType = default(string), string analyst = default(string), CustomInfo customInfo = default(CustomInfo))
 {
     this.userId     = userId;
     this.abuseType  = abuseType;
     this.analyst    = analyst;
     this.customInfo = customInfo;
 }
コード例 #15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SendMessage" /> class.
 /// </summary>
 /// <param name="userId">The user&#39;s account ID according to your systems. Note that user IDs are case sensitive..</param>
 /// <param name="sessionId">The user&#39;s current session ID, used to tie a user&#39;s action before and after login or account creation. Required if no user_id values is provided..</param>
 /// <param name="deviceIp">IP address of the request made by the user. Recommended for historical backfills and customers with mobile apps..</param>
 /// <param name="originTimestamp">Represents the time the event occured in your system. Send as a UNIX timestamp in milliseconds in string..</param>
 /// <param name="recipientUserId">_userID of the receiving user by default Store..</param>
 /// <param name="subject">The subject of the message..</param>
 /// <param name="content">The text content of the message..</param>
 /// <param name="customInfo">customInfo.</param>
 public SendMessage(string userId = default(string), string sessionId = default(string), string deviceIp = default(string), string originTimestamp = default(string), string recipientUserId = default(string), string subject = default(string), string content = default(string), CustomInfo customInfo = default(CustomInfo))
 {
     this.userId          = userId;
     this.sessionId       = sessionId;
     this.deviceIp        = deviceIp;
     this.originTimestamp = originTimestamp;
     this.recipientUserId = recipientUserId;
     this.subject         = subject;
     this.content         = content;
     this.customInfo      = customInfo;
 }