getDiscountAmount() public method

Discount amount applied to the payment, if any
public getDiscountAmount ( ) : PayPal\Api\Currency
return PayPal\Api\Currency
 /**
  * @depends testSerializationDeserialization
  * @param InstallmentOption $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getTerm(), 123);
     $this->assertEquals($obj->getMonthlyPayment(), CurrencyTest::getObject());
     $this->assertEquals($obj->getDiscountAmount(), CurrencyTest::getObject());
     $this->assertEquals($obj->getDiscountPercentage(), "TestSample");
 }