Method |
Description |
|
getDate ( ) : string |
The date when the item or service was provided. The date format is *yyyy*-*MM*-*dd* *z* as defined in Internet Date/Time Format. |
|
getDescription ( ) : string |
Description of the item. 1000 characters max. |
|
getDiscount ( ) : Cost |
The item discount, as a percent or an amount value. |
|
getImageUrl ( ) : string |
The image URL. Maximum length is 4000 characters. |
|
getName ( ) : string |
Name of the item. 200 characters max. |
|
getQuantity ( ) : string |
Quantity of the item. Range of -10000 to 10000. |
|
getTax ( ) : Tax |
Tax associated with the item. |
|
getUnitOfMeasure ( ) : string |
The unit of measure of the item being invoiced. |
|
getUnitPrice ( ) : PayPal\Api\Currency |
Unit price of the item. Range of -1,000,000 to 1,000,000. |
|
setDate ( string $date ) |
The date when the item or service was provided. The date format is *yyyy*-*MM*-*dd* *z* as defined in Internet Date/Time Format. |
|
setDescription ( string $description ) |
Description of the item. 1000 characters max. |
|
setDiscount ( Cost $discount ) |
The item discount, as a percent or an amount value. |
|
setImageUrl ( string $image_url ) |
The image URL. Maximum length is 4000 characters. |
|
setName ( string $name ) |
Name of the item. 200 characters max. |
|
setQuantity ( string | double $quantity ) |
Quantity of the item. Range of -10000 to 10000. |
|
setTax ( Tax $tax ) |
Tax associated with the item. |
|
setUnitOfMeasure ( string $unit_of_measure ) |
The unit of measure of the item being invoiced. |
|
setUnitPrice ( PayPal\Api\Currency $unit_price ) |
Unit price of the item. Range of -1,000,000 to 1,000,000. |
|