PayPal\Api\Template::getCustom PHP Method

getCustom() public method

Indicates whether this is a custom template created by the merchant. Non custom templates are system generated
public getCustom ( ) : boolean
return boolean
    public function getCustom()
    {
        return $this->custom;
    }

Usage Example

 /**
  * @depends testSerializationDeserialization
  * @param Template $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getTemplateId(), "TestSample");
     $this->assertEquals($obj->getName(), "TestSample");
     $this->assertEquals($obj->getDefault(), true);
     $this->assertEquals($obj->getTemplateData(), TemplateDataTest::getObject());
     $this->assertEquals($obj->getSettings(), TemplateSettingsTest::getObject());
     $this->assertEquals($obj->getUnitOfMeasure(), "TestSample");
     $this->assertEquals($obj->getCustom(), true);
 }