PayPal\Test\Api\FlowConfigTest::getJson PHP 메소드

getJson() 공개 정적인 메소드

Gets Json String of Object FlowConfig
public static getJson ( ) : string
리턴 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

예제 #1
0
 /**
  * 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() . '}';
 }