PayPal Integrator V5 - Online Help
PayPal Integrator V5
Questions / Feedback?

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

Amount
String

Amount of charged on payment. It must have 2 decimal places, the decimal separator must be a period (.). An example Amount is "1010.10".

Description
String

Paypal item description for the shopping cart.

Name
String

Name of the item purchased.

Number
String

Item number set by the merchant.

Options
String

Paypal item options for the shopping cart.

Quantity
int

Quantity of items ordered.

SalesTax
String

Amount of tax charged on payment.

Constructors

public PaymentItem();



public PaymentItem(String name);



public PaymentItem(String name, String number);



public PaymentItem(String name, String number, String amount);



public PaymentItem(String name, String number, String amount, int quantity);



 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 5.0.6240.0