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

Delete cart addition More...

Inheritance diagram for Recombee.ApiClient.ApiRequests.DeleteCartAddition:
Inheritance graph
[legend]
Collaboration diagram for Recombee.ApiClient.ApiRequests.DeleteCartAddition:
Collaboration graph
[legend]

Public Member Functions

 DeleteCartAddition (string userId, string itemId, DateTime?timestamp=null)
 Construct the request More...
 
override string Path ()
 
Returns
URI to the endpoint including path parameters
More...
 
override Dictionary< string, object > QueryParameters ()
 Get query parameters More...
 
override Dictionary< string, object > BodyParameters ()
 Get body parameters More...
 
- Public Member Functions inherited from Recombee.ApiClient.ApiRequests.Request
 Request (HttpMethod httpMethod, int timeoutMilliseconds, bool ensureHttps=false)
 Construct the request More...
 

Properties

string UserId [get]
 ID of the user who made the cart addition. More...
 
string ItemId [get]
 ID of the item of which was added to cart. More...
 
DateTime Timestamp [get]
 Unix timestamp of the cart addition. If the timestamp is omitted, then all the cart additions with given userId and itemId are deleted. More...
 
- Properties inherited from Recombee.ApiClient.ApiRequests.Request
TimeSpan Timeout [get, set]
 Timeout for the request in milliseconds More...
 
bool EnsureHttps [get]
 If true, HTTPS must be chosen over HTTP for this request More...
 
HttpMethod RequestHttpMehod [get]
 Used HTTP method More...
 

Additional Inherited Members

- Protected Member Functions inherited from Recombee.ApiClient.ApiRequests.Request
double ConvertToUnixTimestamp (DateTime date)
 
Returns
Converts DateTime to UNIX timestamp (epoch)
More...
 

Detailed Description

Delete cart addition

Deletes an existing cart addition uniquely specified by userId, itemId, and timestamp or all the cart additions with given userId and itemId if timestamp is omitted.

Constructor & Destructor Documentation

Recombee.ApiClient.ApiRequests.DeleteCartAddition.DeleteCartAddition ( string  userId,
string  itemId,
DateTime?  timestamp = null 
)
inline

Construct the request

Parameters
userIdID of the user who made the cart addition.
itemIdID of the item of which was added to cart.
timestampUnix timestamp of the cart addition. If the timestamp is omitted, then all the cart additions with given userId and itemId are deleted.

Member Function Documentation

override Dictionary<string, object> Recombee.ApiClient.ApiRequests.DeleteCartAddition.BodyParameters ( )
inlinevirtual

Get body parameters

Returns
Dictionary containing values of body parameters (name of parameter: value of the parameter)

Implements Recombee.ApiClient.ApiRequests.Request.

override string Recombee.ApiClient.ApiRequests.DeleteCartAddition.Path ( )
inlinevirtual

Returns
URI to the endpoint including path parameters

Implements Recombee.ApiClient.ApiRequests.Request.

override Dictionary<string, object> Recombee.ApiClient.ApiRequests.DeleteCartAddition.QueryParameters ( )
inlinevirtual

Get query parameters

Returns
Dictionary containing values of query parameters (name of parameter: value of the parameter)

Implements Recombee.ApiClient.ApiRequests.Request.

Property Documentation

string Recombee.ApiClient.ApiRequests.DeleteCartAddition.ItemId
get

ID of the item of which was added to cart.

DateTime Recombee.ApiClient.ApiRequests.DeleteCartAddition.Timestamp
get

Unix timestamp of the cart addition. If the timestamp is omitted, then all the cart additions with given userId and itemId are deleted.

string Recombee.ApiClient.ApiRequests.DeleteCartAddition.UserId
get

ID of the user who made the cart addition.


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