Recombee API Client
Public Member Functions | Properties | List of all members
Recombee.ApiClient.Bindings.CartAddition Class Reference

CartAddition Binding More...

Inheritance diagram for Recombee.ApiClient.Bindings.CartAddition:
Inheritance graph
[legend]
Collaboration diagram for Recombee.ApiClient.Bindings.CartAddition:
Collaboration graph
[legend]

Public Member Functions

 CartAddition (string userId, string itemId, DateTime? timestamp=null, double? amount=null, double? price=null, string recommId=null, Dictionary< string, object > additionalData=null)
 
override bool Equals (Object obj)
 Determines whether the specified object is equal to the current object More...
 
override int GetHashCode ()
 Hash function More...
 

Properties

string UserId [get]
 User who added the item to the cart More...
 
string ItemId [get]
 Item added to the cart More...
 
DateTime? Timestamp [get]
 UTC timestamp of the cart addition as ISO8601-1 pattern or UTC epoch time. The default value is the current time. More...
 
double? Amount [get]
 Amount (number) added to cart. The default is 1. For example if user-x adds two item-y during a single order (session...), the amount should equal to 2. More...
 
double? Price [get]
 Price of the added item. If amount is greater than 1, sum of prices of all the items should be given. More...
 
string RecommId [get]
 If this cart addition is based on a recommendation request, recommId is the id of the clicked recommendation. More...
 
Dictionary< string, object > AdditionalData [get]
 A dictionary of additional data for the interaction. More...
 

Detailed Description

CartAddition Binding

Constructor & Destructor Documentation

◆ CartAddition()

Recombee.ApiClient.Bindings.CartAddition.CartAddition ( string  userId,
string  itemId,
DateTime?  timestamp = null,
double?  amount = null,
double?  price = null,
string  recommId = null,
Dictionary< string, object >  additionalData = null 
)
inline

Member Function Documentation

◆ Equals()

override bool Recombee.ApiClient.Bindings.CartAddition.Equals ( Object  obj)
inline

Determines whether the specified object is equal to the current object

Parameters
objThe object to compare with the current object
Returns
true if the specified object is equal to the current object; otherwise, false

◆ GetHashCode()

override int Recombee.ApiClient.Bindings.CartAddition.GetHashCode ( )
inline

Hash function

Returns
A hash code for the current object

Property Documentation

◆ AdditionalData

Dictionary<string, object> Recombee.ApiClient.Bindings.CartAddition.AdditionalData
get

A dictionary of additional data for the interaction.

◆ Amount

double? Recombee.ApiClient.Bindings.CartAddition.Amount
get

Amount (number) added to cart. The default is 1. For example if user-x adds two item-y during a single order (session...), the amount should equal to 2.

◆ ItemId

string Recombee.ApiClient.Bindings.CartAddition.ItemId
get

Item added to the cart

◆ Price

double? Recombee.ApiClient.Bindings.CartAddition.Price
get

Price of the added item. If amount is greater than 1, sum of prices of all the items should be given.

◆ RecommId

string Recombee.ApiClient.Bindings.CartAddition.RecommId
get

If this cart addition is based on a recommendation request, recommId is the id of the clicked recommendation.

◆ Timestamp

DateTime? Recombee.ApiClient.Bindings.CartAddition.Timestamp
get

UTC timestamp of the cart addition as ISO8601-1 pattern or UTC epoch time. The default value is the current time.

◆ UserId

string Recombee.ApiClient.Bindings.CartAddition.UserId
get

User who added the item to the cart


The documentation for this class was generated from the following file: