Class UserTransaction
- Namespace
- Dynamicweb.Ecommerce.Loyalty
- Assembly
- Dynamicweb.Ecommerce.dll
Represents information about an user transaction.
public class UserTransaction
- Inheritance
-
UserTransaction
- Inherited Members
Constructors
UserTransaction()
Initializes a new instance of the class.
public UserTransaction()
UserTransaction(IDataReader)
Initializes a new instance of the class.
[Obsolete("This method is no longer used.")]
public UserTransaction(IDataReader dataReader)
Parameters
dataReader
IDataReader- The data reader.
Properties
AuthorizingUser
Gets authorizing User.
public User AuthorizingUser { get; }
Property Value
Comment
Gets or sets the comment for transaction.
public string Comment { get; set; }
Property Value
ExpirationDate
Gets expitarion date for points.
public DateTime ExpirationDate { get; }
Property Value
Id
Gets or sets the user transaction ID.
public int Id { get; set; }
Property Value
ObjectElement
public string ObjectElement { get; set; }
Property Value
ObjectType
Gets the ObjectType.
public TransactionObjectType ObjectType { get; set; }
Property Value
Order
Gets transaction Order.
public Order Order { get; }
Property Value
Points
Gets or sets the number of points.
public double Points { get; set; }
Property Value
Reward
Gets or sets transaction Reward.
public Reward Reward { get; set; }
Property Value
RewardId
Gets or sets the reward ID.
public int RewardId { get; set; }
Property Value
TransactionDate
Gets or sets the transaction date.
public DateTime TransactionDate { get; set; }
Property Value
User
Gets or sets transaction User.
public User User { get; set; }
Property Value
UserId
Gets or sets the user ID.
public int UserId { get; set; }
Property Value
Methods
SetObjectType(OrderLine)
Sets the ObjectType.
[Obsolete("Use Services.Loyalty.CreateTransaction(UserTransaction, OrderLine) instead")]
public void SetObjectType(OrderLine orderLine)
Parameters
SetObjectType(User)
Sets the ObjectType.
[Obsolete("Use Services.Loyalty.CreateTransaction(UserTransaction, User) instead")]
public void SetObjectType(User user)