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

getJson() public static method

Gets Json String of Object ExternalFunding
public static getJson ( ) : string
return string
    public static function getJson()
    {
        return '{"reference_id":"TestSample","code":"TestSample","funding_account_id":"TestSample","display_text":"TestSample","amount":' . AmountTest::getJson() . '}';
    }

Usage Example

Beispiel #1
0
 /**
  * Gets Json String of Object CartBase
  *
  * @return string
  */
 public static function getJson()
 {
     return '{"reference_id":"TestSample","amount":' . AmountTest::getJson() . ',"payee":' . PayeeTest::getJson() . ',"description":"TestSample","note_to_payee":"TestSample","custom":"TestSample","invoice_number":"TestSample","soft_descriptor":"TestSample","soft_descriptor_city":"TestSample","payment_options":' . PaymentOptionsTest::getJson() . ',"item_list":' . ItemListTest::getJson() . ',"notify_url":"http://www.google.com","order_url":"http://www.google.com","external_funding":' . ExternalFundingTest::getJson() . '}';
 }
All Usage Examples Of PayPal\Test\Api\ExternalFundingTest::getJson