Class BasketItem
Inheritance
System.Object
BasketItem
Namespace: SIX.TimApi
Assembly: TimApi.dll
Syntax
public class BasketItem : object
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 |
---|---|
String |
ItemId
Identifies the item.
Declaration
public String ItemId { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|
String |
PetrolPumpNumber
Specifies the used petrol pump number used in a sixml:Item as part of a sixml:Basket.
Declaration
public int? PetrolPumpNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
ProdDescription
ProdDescription.
Declaration
public String ProdDescription { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|
String |