getJson() 공개 정적인 메소드

Gets Json String of Object ShippingAddress
public static getJson ( ) : string
리턴 string
예제 #1
0
 /**
  * Gets Json String of Object ItemList
  *
  * @return string
  */
 public static function getJson()
 {
     return '{"items":' . ItemTest::getJson() . ',"shipping_address":' . ShippingAddressTest::getJson() . ',"shipping_method":"TestSample","shipping_phone_number":"TestSample"}';
 }
예제 #2
0
 /**
  * Gets Json String of Object PayerInfo
  *
  * @return string
  */
 public static function getJson()
 {
     return '{"email":"TestSample","external_remember_me_id":"TestSample","account_number":"TestSample","salutation":"TestSample","first_name":"TestSample","middle_name":"TestSample","last_name":"TestSample","suffix":"TestSample","payer_id":"TestSample","phone":"TestSample","phone_type":"TestSample","birth_date":"TestSample","tax_id":"TestSample","tax_id_type":"TestSample","country_code":"TestSample","billing_address":' . AddressTest::getJson() . ',"shipping_address":' . ShippingAddressTest::getJson() . '}';
 }