getAmount() public method

The cost, as an amount. Valid range is from 0 to 1,000,000.
public getAmount ( ) : PayPal\Api\Currency
return PayPal\Api\Currency
Example #1
0
 /**
  * @depends testSerializationDeserialization
  * @param Cost $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getPercent(), "12.34");
     $this->assertEquals($obj->getAmount(), CurrencyTest::getObject());
 }