getJson() public static method

Gets Json String of Object Phone
public static getJson ( ) : string
return string
 /**
  * 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() . "}";
 }
Exemplo n.º 2
0
 /**
  * Gets Json String of Object Payee
  *
  * @return string
  */
 public static function getJson()
 {
     return '{"email":"TestSample","merchant_id":"TestSample","first_name":"TestSample","last_name":"TestSample","account_number":"TestSample","phone":' . PhoneTest::getJson() . '}';
 }
 /**
  * Gets Json String of Object BillingInfo
  * @return string
  */
 public static function getJson()
 {
     return '{"email":"TestSample","first_name":"TestSample","last_name":"TestSample","business_name":"TestSample","address":' . InvoiceAddressTest::getJson() . ',"language":"TestSample","additional_info":"TestSample","notification_channel":"TestSample","phone":' . PhoneTest::getJson() . '}';
 }
Exemplo n.º 4
0
 /**
  * Gets Json String of Object Templates
  * @return string
  */
 public static function getJson()
 {
     return '{"addresses":' . AddressTest::getJson() . ',"emails":"TestSample","phones":' . PhoneTest::getJson() . ',"templates":' . TemplateTest::getJson() . ',"links":' . LinksTest::getJson() . '}';
 }
Exemplo n.º 5
0
 /**
  * Gets Json String of Object MerchantInfo
  * @return string
  */
 public static function getJson()
 {
     return '{"email":"TestSample","first_name":"TestSample","last_name":"TestSample","address":' . AddressTest::getJson() . ',"business_name":"TestSample","phone":' . PhoneTest::getJson() . ',"fax":' . PhoneTest::getJson() . ',"website":"TestSample","tax_id":"TestSample","additional_info_label":"TestSample","additional_info":"TestSample"}';
 }