PayPal\Api\ShippingCost::setAmount PHP Method

setAmount() public method

The shipping cost, as an amount. Valid range is from 0 to 999999.99.
public setAmount ( PayPal\Api\Currency $amount )
$amount PayPal\Api\Currency
    public function setAmount($amount)
    {
        $this->amount = $amount;
        return $this;
    }