PayPal\Api\TemplateSettings::getFieldName PHP Method

getFieldName() public method

The field name (for any field in template_data) for which the corresponding display preferences will be mapped to.
public getFieldName ( ) : string
return string
    public function getFieldName()
    {
        return $this->field_name;
    }

Usage Example

 /**
  * @depends testSerializationDeserialization
  * @param TemplateSettings $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getFieldName(), "TestSample");
     $this->assertEquals($obj->getDisplayPreference(), TemplateSettingsMetadataTest::getObject());
 }