Class TransactionRequest
Contains configuration for transaction used by Transaction(Transaction
Inheritance
Inherited Members
Namespace: SIX.TimApi
Assembly: TimApi.dll
Syntax
public class TransactionRequest
Constructors
TransactionRequest()
Create transaction request.
Declaration
public TransactionRequest()
TransactionRequest(TransactionRequest)
Create copy of transaction request.
Declaration
public TransactionRequest(TransactionRequest request)
Parameters
Type | Name | Description |
---|---|---|
Transaction |
request |
Properties
AdditionalInfo
Declaration
public Dictionary<long, string> AdditionalInfo { get; set; }
Property Value
Type | Description |
---|---|
System. |
Amount
Gets or sets the amount.
Declaration
public Amount Amount { get; set; }
Property Value
Type | Description |
---|---|
Amount | The Transaction amount. |
AmountDiscount
Gets or sets the amount discount. This is only for VALUE_ADDED_SERVICES.
Declaration
public AmountDiscount AmountDiscount { get; set; }
Property Value
Type | Description |
---|---|
Amount |
The AmountDiscount. |
AmountOther
Cashback amount and currency. This parameter is only used if ADVANCED_RETAIL is enabled.
Declaration
public Amount AmountOther { get; set; }
Property Value
Type | Description |
---|---|
Amount | The amount other. |
AmountTip
Gets or sets the amount tip. This is only for Gastro.
Declaration
public Amount AmountTip { get; set; }
Property Value
Type | Description |
---|---|
Amount | The AmountTip. |
Basket
Petrol: List of basket items.
Declaration
public Basket Basket { get; set; }
Property Value
Type | Description |
---|---|
Basket | The basket. |
CustomerData
Declaration
public Dictionary<CustomerDataType, string> CustomerData { get; set; }
Property Value
Type | Description |
---|---|
System. |
LoyaltyCouponList
Loyalty coupon list
Declaration
public List<LoyaltyCoupon> LoyaltyCouponList { get; set; }
Property Value
Type | Description |
---|---|
System. |
The Loyalty coupon list. |
MerchantOptions
List of MerchantOptions
Declaration
public List<MerchantOption> MerchantOptions { get; set; }
Property Value
Type | Description |
---|---|
System. |
The merchant options. |
RetainCard
Petrol retain card.
Declaration
public bool RetainCard { get; set; }
Property Value
Type | Description |
---|---|
System. |
retain Card. |
TipAmount
Proposed tip amount. Deprecated! Use AmountTip instead
Declaration
[Obsolete("Use AmountTip instead.")]
public Amount TipAmount { get; set; }
Property Value
Type | Description |
---|---|
Amount | The tip amount. |
TransactionData
Gets or sets the TransactionData.
Declaration
public TransactionData TransactionData { get; set; }
Property Value
Type | Description |
---|---|
Transaction |
UserId
Gets or sets the user id. if not set (=null) then the user id from the Activation is taken
Declaration
public int UserId { get; set; }
Property Value
Type | Description |
---|---|
System. |
The user id. |
Methods
ToString()
String representation for debugging purpose.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |