Class BasketItem
Inheritance
System.Object
BasketItem
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SIX.TimApi
Assembly: TimApi.dll
Syntax
public class BasketItem
Constructors
BasketItem()
Create basket item.
Declaration
public BasketItem()
BasketItem(BasketItem)
Create copy of basket item.
Declaration
public BasketItem(BasketItem copy)
Parameters
Type | Name | Description |
---|---|---|
BasketItem | copy |
Properties
Amount
Amount.
Declaration
public Amount Amount { get; set; }
Property Value
Type | Description |
---|---|
Amount |
AmountDiscount
Discount amount or 0 if discount amount is not used.
Declaration
public AmountDiscount AmountDiscount { get; set; }
Property Value
Type | Description |
---|---|
AmountDiscount |
AmountGross
Gross amount.
Declaration
public Amount AmountGross { get; set; }
Property Value
Type | Description |
---|---|
Amount |
AmountTax
Tax amount.
Declaration
public Amount AmountTax { get; set; }
Property Value
Type | Description |
---|---|
Amount |
AmountTotal
Total amount.
Declaration
public Amount AmountTotal { get; set; }
Property Value
Type | Description |
---|---|
Amount |
AuthResult
Acquirers result code, which indicates the result of a restriction request.
Declaration
public long AuthResult { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
DiscountId
Discount ID if AmountDiscount. Returns null if amount discount is null.
Declaration
public string DiscountId { get; }
Property Value
Type | Description |
---|---|
System.String |
ItemId
Identifies the item.
Declaration
public string ItemId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ItemQuantity
Quantity of the product.
Declaration
public ItemQuantity ItemQuantity { get; set; }
Property Value
Type | Description |
---|---|
ItemQuantity |
LoyaltyId
Identifies the loyalty type.
Declaration
public string LoyaltyId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ProdDescription
ProdDescription.
Declaration
public string ProdDescription { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UnitAmountDiscount
Unit amount discount.
Declaration
public Amount UnitAmountDiscount { get; set; }
Property Value
Type | Description |
---|---|
Amount |
UnitAmountGross
Unit amount gross.
Declaration
public Amount UnitAmountGross { get; set; }
Property Value
Type | Description |
---|---|
Amount |
Methods
ToString()
String representation for debugging purpose.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()