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)
 
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...
 

Detailed Description

CartAddition Binding

Constructor & Destructor Documentation

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

Member Function Documentation

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
override int Recombee.ApiClient.Bindings.CartAddition.GetHashCode ( )
inline

Hash function

Returns
A hash code for the current object

Property Documentation

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.

string Recombee.ApiClient.Bindings.CartAddition.ItemId
get

Item added to the cart

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.

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.

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.

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: