PayPal\Test\Api\AddressTest::getJson PHP 메소드

getJson() 공개 정적인 메소드

Gets Json String of Object Address
public static getJson ( ) : string
리턴 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

예제 #1
0
 /**
  * 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