| Server IP : 54.36.91.62 / Your IP : 216.73.216.86 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/plugins/djcatalog2payment/paypal/lib/PayPal/Api/ |
Upload File : |
<?php
namespace PayPal\Api;
use PayPal\Common\PayPalModel;
/**
* Class CustomAmount
*
* The custom amount applied on an invoice. If you include a label, the amount cannot be empty.
*
* @package PayPal\Api
*
* @property string label
* @property \PayPal\Api\Currency amount
*/
class CustomAmount extends PayPalModel
{
/**
* The custom amount label. Maximum length is 25 characters.
*
* @param string $label
*
* @return $this
*/
public function setLabel($label)
{
$this->label = $label;
return $this;
}
/**
* The custom amount label. Maximum length is 25 characters.
*
* @return string
*/
public function getLabel()
{
return $this->label;
}
/**
* The custom amount value. Valid range is from -999999.99 to 999999.99.
*
* @param \PayPal\Api\Currency $amount
*
* @return $this
*/
public function setAmount($amount)
{
$this->amount = $amount;
return $this;
}
/**
* The custom amount value. Valid range is from -999999.99 to 999999.99.
*
* @return \PayPal\Api\Currency
*/
public function getAmount()
{
return $this->amount;
}
}