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

getJson() public static method

Gets Json String of Object Links
public static getJson ( ) : string
return string
    public static function getJson()
    {
        return '{"href":"TestSample","rel":"TestSample","targetSchema":' . HyperSchemaTest::getJson() . ',"method":"TestSample","enctype":"TestSample","schema":' . HyperSchemaTest::getJson() . '}';
    }

Usage Example

コード例 #1
0
ファイル: AgreementTest.php プロジェクト: aliuadepoju/hqpay
 /**
  * Gets Json String of Object Agreement
  * @return string
  */
 public static function getJson()
 {
     return '{"id":"TestSample","state":"TestSample","name":"TestSample","description":"TestSample","start_date":"TestSample","payer":' . PayerTest::getJson() . ',"shipping_address":' . AddressTest::getJson() . ',"override_merchant_preferences":' . MerchantPreferencesTest::getJson() . ',"override_charge_models":' . OverrideChargeModelTest::getJson() . ',"plan":' . PlanTest::getJson() . ',"create_time":"TestSample","update_time":"TestSample","links":' . LinksTest::getJson() . '}';
 }
All Usage Examples Of PayPal\Test\Api\LinksTest::getJson