getAmount() public method

The custom amount value. Valid range is from -999999.99 to 999999.99.
public getAmount ( ) : PayPal\Api\Currency
return PayPal\Api\Currency
Esempio n. 1
0
 /**
  * @depends testSerializationDeserialization
  * @param CustomAmount $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getLabel(), "TestSample");
     $this->assertEquals($obj->getAmount(), CurrencyTest::getObject());
 }