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

getJson() public static method

Gets Json String of Object FlowConfig
public static getJson ( ) : string
return string
    public static function getJson()
    {
        return '{"landing_page_type":"TestSample","bank_txn_pending_url":"http://www.google.com","user_action":"TestSample","return_uri_http_method":"TestSample"}';
    }

Usage Example

 /**
  * Gets Json String of Object WebProfile
  * @return string
  */
 public static function getJson()
 {
     return '{"id":"TestSample","name":"TestSample","temporary":true,"flow_config":' . FlowConfigTest::getJson() . ',"input_fields":' . InputFieldsTest::getJson() . ',"presentation":' . PresentationTest::getJson() . '}';
 }