Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
PayPal
Api
InvoiceItem
setDiscount
PayPal\Api\InvoiceItem::setDiscount PHP Méthode
InvoiceItem Class Documentation
Afficher le fichier
Open project: paypal/rest-api-sdk-php
setDiscount()
public
méthode
The item discount, as a percent or an amount value.
public
setDiscount
(
Cost
$discount
)
$discount
Cost
public function setDiscount($discount) { $this->discount = $discount; return $this; }
InvoiceItem
getDate
getDescription
getDiscount
getImageUrl
getName
getQuantity
getTax
getUnitOfMeasure
getUnitPrice
setDate
setDescription
setDiscount
setImageUrl
setName
setQuantity
setTax
setUnitOfMeasure
setUnitPrice