PayPal\Api\Presentation::getLocaleCode PHP Method

getLocaleCode() public method

The locale of pages displayed by PayPal payment experience. A valid value is AU, AT, BE, BR, CA, CH, CN, DE, ES, GB, FR, IT, NL, PL, PT, RU, or US. A 5-character code is also valid for languages in specific countries: da_DK, he_IL, id_ID, ja_JP, no_NO, pt_BR, ru_RU, sv_SE, th_TH, zh_CN, zh_HK, or zh_TW.
public getLocaleCode ( ) : string
return string
    public function getLocaleCode()
    {
        return $this->locale_code;
    }

Usage Example

 /**
  * @depends testSerializationDeserialization
  * @param Presentation $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getBrandName(), "TestSample");
     $this->assertEquals($obj->getLogoImage(), "TestSample");
     $this->assertEquals($obj->getLocaleCode(), "TestSample");
     $this->assertEquals($obj->getReturnUrlLabel(), "TestSample");
     $this->assertEquals($obj->getNoteToSellerLabel(), "TestSample");
 }
All Usage Examples Of PayPal\Api\Presentation::getLocaleCode