Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
PayPal
Api
Cost
setAmount
PayPal\Api\Cost::setAmount PHP Method
Cost Class Documentation
Mostrar archivo
Open project: paypal/rest-api-sdk-php
setAmount()
public
method
The cost, as an amount. Valid range is from 0 to 1,000,000.
public
setAmount
(
PayPal\Api\Currency
$amount
)
$amount
PayPal\Api\Currency
public function setAmount($amount) { $this->amount = $amount; return $this; }
Cost
getAmount
getPercent
setAmount
setPercent