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

getJson() public static method

Gets Json String of Object Address
public static getJson ( ) : string
return string
    public static function getJson()
    {
        return '{"line1":"TestSample","line2":"TestSample","city":"TestSample","country_code":"TestSample","postal_code":"TestSample","state":"TestSample","phone":"TestSample","normalization_status":"TestSample","status":"TestSample","type":"TestSample"}';
    }

Usage Example

 /**
  * Gets Json String of Object PotentialPayerInfo
  * @return string
  */
 public static function getJson()
 {
     return '{"email":"TestSample","external_remember_me_id":"TestSample","account_number":"TestSample","billing_address":' . AddressTest::getJson() . '}';
 }
All Usage Examples Of PayPal\Test\Api\AddressTest::getJson