E-Payment Integrator 2020 macOS Edition

Questions / Feedback?

PayPalPaymentItem 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:

PayPalPaymentItem item = new PayPalPaymentItem();
item.Amount = "30.00"
item.Name = "Motorcycle handlebars"
item.Number = "12345678"
item.Quantity = 1
item.SalesTax = "0"

class.Items.Add(item);

Example: Using the Constructors:

  class.Items.Add(new PayPalPaymentItem("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
Int32

Quantity of items ordered.

salesTax
String

Amount of tax charged on payment.

Constructors

public init()
public init(name: String)
public init(name: String, number: String)
public init(name: String, number: String, amount: String)
public init(name: String, number: String, amount: String, quantity: Int32)

Copyright (c) 2021 /n software inc. - All rights reserved.
E-Payment Integrator 2020 macOS Edition - Version 20.0 [Build 7941]