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