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

InvoiceItem Type

Details about an invoice item.

Remarks

Details about an invoice item.

For example, the following code adds one item to an invoice.

Example: Setting the fields:

InvoiceItem item = new InvoiceItem();
item.Name = "THNLZZY-JB-VL"
item.Description = "Thin Lizzy Jailbreak Vinyl"
item.Quantity = "1"
item.UnitPrice = "12.00"

bean.InvoiceItems.Add(item);

Example: Using the Constructors:

  bean.InvoiceItems.Add(new InvoiceItem("THNLZZY-JB-VL", "1", "12.00"));

Fields

Date
String

Date on which the product or service was provided.

The date and time must be in the following format:

"yyyy-MM-ddTHH:mm:ss.fffZ".

This is explained in more detail below:

yyyyFour-digit year, e.g. "2005"
MM Two-digit month.
ddTwo-digit day.
TIndicates time follows the date.
HHHours in military time (24-hour format).
mm Minutes
ssSeconds
fffMilliseconds
Z1-character (US military) representation of the time zone, "A" - "M" are negative offsets -1 to -12, with "J" not being used. "N" - "Y" are positive offsets 1 to 12, and "Z" indicates GMT/UTC (no offset).

For instance, "2004-05-26T15:00:00.000Z" is May 26th, 2004 at 3:00pm GMT.

Description
String

Description of the invoice item.

Name
String

SKU or name of the item.

This field is required.

Quantity
String

Item count. Valid values are 0 to 10.000.

This field is required.

TaxName
String

Name of the applicable tax.

TaxRate
String

Rate of the applicable tax.

UnitPrice
String

Price of the item (in the currency specified by CurrencyCode).

This field is required.

Constructors

public InvoiceItem();



public InvoiceItem(String name, String quantity, String unitPrice);



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