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

getJson() public static method

Gets Json String of Object Currency
public static getJson ( ) : string
return string
    public static function getJson()
    {
        return '{"currency":"TestSample","value":"12.34"}';
    }

Usage Example

 /**
  * Gets Json String of Object Capture
  * @return string
  */
 public static function getJson()
 {
     return '{"id":"TestSample","amount":' . AmountTest::getJson() . ',"is_final_capture":true,"state":"TestSample","reason_code":"TestSample","parent_payment":"TestSample","invoice_number":"TestSample","transaction_fee":' . CurrencyTest::getJson() . ',"create_time":"TestSample","update_time":"TestSample","links":' . LinksTest::getJson() . '}';
 }
All Usage Examples Of PayPal\Test\Api\CurrencyTest::getJson