getJson() публичный статический Метод

Gets Json String of Object Error
public static getJson ( ) : string
Результат string
 /**
  * Gets Json String of Object PayoutBatchHeader
  * @return string
  */
 public static function getJson()
 {
     return '{"payout_batch_id":"TestSample","batch_status":"TestSample","time_created":"TestSample","time_completed":"TestSample","sender_batch_header":' . PayoutSenderBatchHeaderTest::getJson() . ',"amount":' . CurrencyTest::getJson() . ',"fees":' . CurrencyTest::getJson() . ',"errors":' . ErrorTest::getJson() . ',"links":' . LinksTest::getJson() . '}';
 }
Пример #2
0
 /**
  * Gets Json String of Object Payment
  *
  * @return string
  */
 public static function getJson()
 {
     return '{"id":"TestSample","intent":"TestSample","payer":' . PayerTest::getJson() . ',"potential_payer_info":' . PotentialPayerInfoTest::getJson() . ',"payee":' . PayeeTest::getJson() . ',"cart":"TestSample","transactions":[' . TransactionTest::getJson() . '],"failed_transactions":' . ErrorTest::getJson() . ',"billing_agreement_tokens":["TestSample"],"credit_financing_offered":' . CreditFinancingOfferedTest::getJson() . ',"payment_instruction":' . PaymentInstructionTest::getJson() . ',"state":"TestSample","experience_profile_id":"TestSample","note_to_payer":"TestSample","redirect_urls":' . RedirectUrlsTest::getJson() . ',"failure_reason":"TestSample","create_time":"TestSample","update_time":"TestSample","links":' . LinksTest::getJson() . '}';
 }
 /**
  * Gets Json String of Object PayoutItemDetails
  * @return string
  */
 public static function getJson()
 {
     return '{"payout_item_id":"TestSample","transaction_id":"TestSample","transaction_status":"TestSample","payout_item_fee":' . CurrencyTest::getJson() . ',"payout_batch_id":"TestSample","sender_batch_id":"TestSample","payout_item":' . PayoutItemTest::getJson() . ',"time_processed":"TestSample","errors":' . ErrorTest::getJson() . ',"links":' . LinksTest::getJson() . '}';
 }
 /**
  * Gets Json String of Object Payment
  * @return string
  */
 public static function getJson()
 {
     return '{"id":"TestSample","intent":"TestSample","payer":' . PayerTest::getJson() . ',"payee":' . PayeeTest::getJson() . ',"cart":"TestSample","transactions":' . TransactionTest::getJson() . ',"failed_transactions":' . ErrorTest::getJson() . ',"payment_instruction":' . PaymentInstructionTest::getJson() . ',"state":"TestSample","experience_profile_id":"TestSample","redirect_urls":' . RedirectUrlsTest::getJson() . ',"create_time":"TestSample","update_time":"TestSample","links":' . LinksTest::getJson() . '}';
 }