PayPal\Api\Incentive::getMinimumPurchaseAmount PHP Method

getMinimumPurchaseAmount() public method

Indicates incentive is applicable for this minimum purchase amount.
public getMinimumPurchaseAmount ( ) : PayPal\Api\Currency
return PayPal\Api\Currency
    public function getMinimumPurchaseAmount()
    {
        return $this->minimum_purchase_amount;
    }

Usage Example

Example #1
0
 /**
  * @depends testSerializationDeserialization
  * @param Incentive $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getId(), "TestSample");
     $this->assertEquals($obj->getCode(), "TestSample");
     $this->assertEquals($obj->getName(), "TestSample");
     $this->assertEquals($obj->getDescription(), "TestSample");
     $this->assertEquals($obj->getMinimumPurchaseAmount(), CurrencyTest::getObject());
     $this->assertEquals($obj->getLogoImageUrl(), "http://www.google.com");
     $this->assertEquals($obj->getExpiryDate(), "TestSample");
     $this->assertEquals($obj->getType(), "TestSample");
     $this->assertEquals($obj->getTerms(), "TestSample");
 }