getJson() public static method

Gets Json String of Object PayoutSenderBatchHeader
public static getJson ( ) : string
return 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() . '}';
 }
Exemplo n.º 2
0
 /**
  * Gets Json String of Object Payout
  * @return string
  */
 public static function getJson()
 {
     return '{"sender_batch_header":' . PayoutSenderBatchHeaderTest::getJson() . ',"items":' . PayoutItemTest::getJson() . ',"links":' . LinksTest::getJson() . '}';
 }