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
Ejemplo n.º 1
0
 /**
  * @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");
 }
Ejemplo n.º 2
0
 /**
  * @depends testSerializationDeserialization
  * @param Presentation $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getBrandName(), "TestSample");
     $this->assertEquals($obj->getLogoImage(), "TestSample");
     $this->assertEquals($obj->getLocaleCode(), "TestSample");
 }