PayPal\Test\Api\FundingDetailTest::getJson PHP Method

getJson() public static method

Gets Json String of Object FundingDetail
public static getJson ( ) : string
return string
    public static function getJson()
    {
        return '{"clearing_time":"TestSample","payment_hold_date":"TestSample","payment_debit_date":"TestSample","processing_type":"TestSample"}';
    }

Usage Example

Example #1
0
 /**
  * Gets Json String of Object FundingSource
  *
  * @return string
  */
 public static function getJson()
 {
     return '{"funding_mode":"TestSample","funding_instrument_type":"TestSample","soft_descriptor":"TestSample","amount":' . CurrencyTest::getJson() . ',"legal_text":"TestSample","funding_detail":' . FundingDetailTest::getJson() . ',"additional_text":"TestSample","extends":' . FundingInstrumentTest::getJson() . ',"links":' . LinksTest::getJson() . '}';
 }