getAmount() public method

Amount to be recorded as refund against invoice. If this field is not passed, the total invoice paid amount is recorded as refund.
public getAmount ( ) : PayPal\Api\Currency
return PayPal\Api\Currency
Example #1
0
 /**
  * @depends testSerializationDeserialization
  * @param RefundDetail $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getType(), "TestSample");
     $this->assertEquals($obj->getDate(), "TestSample");
     $this->assertEquals($obj->getNote(), "TestSample");
     $this->assertEquals($obj->getAmount(), CurrencyTest::getObject());
 }