PayPal\Api\InstallmentOption::getMonthlyPayment PHP Method

getMonthlyPayment() public method

Monthly payment
public getMonthlyPayment ( ) : PayPal\Api\Currency
return PayPal\Api\Currency
    public function getMonthlyPayment()
    {
        return $this->monthly_payment;
    }

Usage Example

 /**
  * @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");
 }