PaymentItem Type
The item being purchased.
Remarks
This type describes the item that is being purchased from the merchant.
For example, the following code adds one item to a transaction.
Example: Setting the fields:
PaymentItem item = new PaymentItem(); item.Amount = "30.00" item.Name = "Motorcycle handlebars" item.Number = "12345678" item.Quantity = 1 item.SalesTax = "0" component.Items.Add(item);
Example: Using the Constructors:
component.Items.Add(new PaymentItem("Motorcycle handlebars", "12345678", "30.00", 1));
Fields
Constructors
[VB.NET] Public PaymentItem() [C#] public PaymentItem();
[VB.NET] Public PaymentItem(ByVal Name As String) [C#] public PaymentItem(string name);
[VB.NET] Public PaymentItem(ByVal Name As String, ByVal Number As String) [C#] public PaymentItem(string name, string number);
[VB.NET] Public PaymentItem(ByVal Name As String, ByVal Number As String, ByVal Amount As String) [C#] public PaymentItem(string name, string number, string amount);
[VB.NET] Public PaymentItem(ByVal Name As String, ByVal Number As String, ByVal Amount As String, ByVal Quantity As Integer) [C#] public PaymentItem(string name, string number, string amount, int quantity);