Class Amount
Class Amount
payment amount with break-ups.
-
PayPal\Common\PayPalModel
-
PayPal\Api\Amount
Methods summary
public
|
|
public
string
|
|
public
|
#
setTotal( string|float $total )
Total amount charged from the payer to the payee. In case of a refund, this is the refunded amount to the original payer from the payee. 10 characters max with support for 2 decimal places.
Total amount charged from the payer to the payee. In case of a refund, this is the refunded amount to the original payer from the payee. 10 characters max with support for 2 decimal places.
Parameters
Returns
$this
|
public
string
|
#
getTotal( )
Total amount charged from the payer to the payee. In case of a refund, this is the refunded amount to the original payer from the payee. 10 characters max with support for 2 decimal places.
Total amount charged from the payer to the payee. In case of a refund, this is the refunded amount to the original payer from the payee. 10 characters max with support for 2 decimal places.
Returns
string
|
public
|
#
setDetails( PayPal\Api\Details $details )
Additional details of the payment amount.
Additional details of the payment amount.
Parameters
Returns
$this
|
public
PayPal\Api\Details
|
#
getDetails( )
Additional details of the payment amount.
Additional details of the payment amount.
Returns
|
__construct()
,
__get()
,
__isset()
,
__set()
,
__toString()
,
__unset()
,
fromArray()
,
fromJson()
,
getList()
,
setCredential()
,
toArray()
,
toJSON()