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

getJson() public static method

Gets Json String of Object PaymentCardToken
public static getJson ( ) : string
return string
    public static function getJson()
    {
        return '{"payment_card_id":"TestSample","external_customer_id":"TestSample","last4":"TestSample","type":"TestSample","expire_month":123,"expire_year":123}';
    }

Usage Example

 /**
  * 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() . ',"payment_card_token":' . PaymentCardTokenTest::getJson() . ',"bank_account":' . ExtendedBankAccountTest::getJson() . ',"bank_account_token":' . BankTokenTest::getJson() . ',"credit":' . CreditTest::getJson() . '}';
 }