PayPal\Test\Api\ProcessorResponseTest::getJson PHP Méthode

getJson() public static méthode

Gets Json String of Object ProcessorResponse
public static getJson ( ) : string
Résultat string
    public static function getJson()
    {
        return '{"response_code":"TestSample","avs_code":"TestSample","cvv_code":"TestSample","advice_code":"TestSample","eci_submitted":"TestSample","vpas":"TestSample"}';
    }

Usage Example

 /**
  * 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\ProcessorResponseTest::getJson