PHP Class PayPal\EBLBaseComponents\InvoiceItemType

Inheritance: extends PayPal\Core\PPXmlMessage
Show file Open project: paypal/merchant-sdk-php

Public Properties

Property Type Description
$AdditionalFees AdditionalFeeType Additional fees to this item
$Description string a human readable item descriptionOptional Character length and limits: 127 single-byte characters
$Discount DiscountType discount applied to this item
$EAN string The International Article Number or Universal Product Code (UPC) for the item. Empty string is allowed. Character length and limits: 17 single-byte characters
$ISBN string International Standard Book Number. Reference http://en.wikipedia.org/wiki/ISBN Character length and limits: 32 single-byte characters
$ItemCount double quantity of the item (non-negative)
$ItemCountUnit string Unit of measure for the itemCount
$ItemPrice PayPal\CoreComponentTypes\BasicAmountType price per item quantity
$MPN string Manufacturer part number.
$ModelNumber string Character length and limits: 32 single-byte characters
$Name string a human readable item nameOptional Character length and limits: 127 single-byte characters
$PLU string Price Look-Up code Reference http://en.wikipedia.org/wiki/Price_Look-Up_code Character length and limits: 5 single-byte characters
$Price PayPal\CoreComponentTypes\BasicAmountType total price of this item
$Reimbursable boolean identifies whether this is reimbursable or not. If not pass, this will be assumed to be true.
$ReturnPolicyIdentifier string A retailer could apply different return policies on different items. Each return policy would be identified using a label or identifier. This return policy identifier should be set here. This identifier will be displayed next to the item in the e-Receipt. Character length and limits: 8 single-byte characters
$SKU string The Stock-Keeping Unit or other identification code assigned to the item. Character length and limits: 64 single-byte characters
$StyleNumber string Character length and limits: 32 single-byte characters
$TaxRate double The tax percentage applied to the item. This is only used for displaying in the receipt, it is not used in pricing calculations. Note: we have totalTax at invoice level. It's up to the caller to do the calculations for setting that other element.
$Taxable boolean identifies whether this item is taxable or not. If not passed, this will be assumed to be true.

Property Details

$AdditionalFees public property

Additional fees to this item
public AdditionalFeeType,PayPal\EBLBaseComponents $AdditionalFees
return AdditionalFeeType

$Description public property

a human readable item descriptionOptional Character length and limits: 127 single-byte characters
public string $Description
return string

$Discount public property

discount applied to this item
public DiscountType,PayPal\EBLBaseComponents $Discount
return DiscountType

$EAN public property

The International Article Number or Universal Product Code (UPC) for the item. Empty string is allowed. Character length and limits: 17 single-byte characters
public string $EAN
return string

$ISBN public property

International Standard Book Number. Reference http://en.wikipedia.org/wiki/ISBN Character length and limits: 32 single-byte characters
public string $ISBN
return string

$ItemCount public property

quantity of the item (non-negative)
public double $ItemCount
return double

$ItemCountUnit public property

Unit of measure for the itemCount
public string $ItemCountUnit
return string

$ItemPrice public property

price per item quantity
public BasicAmountType,PayPal\CoreComponentTypes $ItemPrice
return PayPal\CoreComponentTypes\BasicAmountType

$MPN public property

Manufacturer part number.
public string $MPN
return string

$ModelNumber public property

Character length and limits: 32 single-byte characters
public string $ModelNumber
return string

$Name public property

a human readable item nameOptional Character length and limits: 127 single-byte characters
public string $Name
return string

$PLU public property

Price Look-Up code Reference http://en.wikipedia.org/wiki/Price_Look-Up_code Character length and limits: 5 single-byte characters
public string $PLU
return string

$Price public property

total price of this item
public BasicAmountType,PayPal\CoreComponentTypes $Price
return PayPal\CoreComponentTypes\BasicAmountType

$Reimbursable public property

identifies whether this is reimbursable or not. If not pass, this will be assumed to be true.
public bool $Reimbursable
return boolean

$ReturnPolicyIdentifier public property

A retailer could apply different return policies on different items. Each return policy would be identified using a label or identifier. This return policy identifier should be set here. This identifier will be displayed next to the item in the e-Receipt. Character length and limits: 8 single-byte characters
public string $ReturnPolicyIdentifier
return string

$SKU public property

The Stock-Keeping Unit or other identification code assigned to the item. Character length and limits: 64 single-byte characters
public string $SKU
return string

$StyleNumber public property

Character length and limits: 32 single-byte characters
public string $StyleNumber
return string

$TaxRate public property

The tax percentage applied to the item. This is only used for displaying in the receipt, it is not used in pricing calculations. Note: we have totalTax at invoice level. It's up to the caller to do the calculations for setting that other element.
public double $TaxRate
return double

$Taxable public property

identifies whether this item is taxable or not. If not passed, this will be assumed to be true.
public bool $Taxable
return boolean