PayPal\Test\Api\PhoneTest::getJson PHP Method

getJson() public static method

Gets Json String of Object Phone
public static getJson ( ) : string
return string
    public static function getJson()
    {
        return '{"country_code":"TestSample","national_number":"TestSample","extension":"TestSample"}';
    }

Usage Example

 /**
  * Gets Json String of Object Address
  * @return string
  */
 public static function getJson()
 {
     return '{"line1":"TestSample","line2":"TestSample","city":"TestSample","country_code":"TestSample","postal_code":"TestSample","state":"TestSample","phone":' . PhoneTest::getJson() . "}";
 }
All Usage Examples Of PayPal\Test\Api\PhoneTest::getJson