getJson() public static method

Gets Json String of Object ExternalFunding
public static getJson ( ) : string
return string
Example #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() . '}';
 }
 /**
  * Gets Json String of Object FundingInstrument
  * @return string
  */
 public static function getJson()
 {
     return '{"credit_card":' . CreditCardTest::getJson() . ',"credit_card_token":' . CreditCardTokenTest::getJson() . ',"payment_card":' . PaymentCardTest::getJson() . ',"bank_account":' . ExtendedBankAccountTest::getJson() . ',"bank_account_token":' . BankTokenTest::getJson() . ',"credit":' . CreditTest::getJson() . ',"incentive":' . IncentiveTest::getJson() . ',"external_funding":' . ExternalFundingTest::getJson() . ',"carrier_account_token":' . CarrierAccountTokenTest::getJson() . ',"carrier_account":' . CarrierAccountTest::getJson() . ',"private_label_card":' . PrivateLabelCardTest::getJson() . ',"billing":' . BillingTest::getJson() . ',"alternate_payment":' . AlternatePaymentTest::getJson() . '}';
 }
 /**
  * Gets Json String of Object DetailedRefund
  * @return string
  */
 public static function getJson()
 {
     return '{"custom":"TestSample","invoice_number":"TestSample","refund_to_payer":' . CurrencyTest::getJson() . ',"refund_to_external_funding":' . ExternalFundingTest::getJson() . ',"refund_from_transaction_fee":' . CurrencyTest::getJson() . ',"refund_from_received_amount":' . CurrencyTest::getJson() . ',"total_refunded_amount":' . CurrencyTest::getJson() . '}';
 }