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

getJson() public static method

Gets Json String of Object FmfDetails
public static getJson ( ) : string
return string
    public static function getJson()
    {
        return '{"filter_type":"TestSample","filter_id":"TestSample","name":"TestSample","description":"TestSample"}';
    }

Usage Example

コード例 #1
0
ファイル: ErrorTest.php プロジェクト: paypal/rest-api-sdk-php
 /**
  * Gets Json String of Object Error
  *
  * @return string
  */
 public static function getJson()
 {
     return '{"name":"TestSample","purchase_unit_reference_id":"TestSample","message":"TestSample","code":"TestSample","details":' . ErrorDetailsTest::getJson() . ',"processor_response":' . ProcessorResponseTest::getJson() . ',"fmf_details":' . FmfDetailsTest::getJson() . ',"information_link":"TestSample","debug_id":"TestSample","links":' . LinksTest::getJson() . '}';
 }
All Usage Examples Of PayPal\Test\Api\FmfDetailsTest::getJson