public getDiscountAmount ( ) : PayPal\Api\Currency | ||
return | PayPal\Api\Currency |
public function getDiscountAmount()
{
return $this->discount_amount;
}
/** * @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"); }