getJson() public static méthode

Gets Json String of Object Tax
public static getJson ( ) : string
Résultat string
 /**
  * Gets Json String of Object InvoiceItem
  * @return string
  */
 public static function getJson()
 {
     return '{"name":"TestSample","description":"TestSample","quantity":"12.34","unit_price":' . CurrencyTest::getJson() . ',"tax":' . TaxTest::getJson() . ',"date":"TestSample","discount":' . CostTest::getJson() . '}';
 }
 /**
  * Gets Json String of Object ShippingCost
  * @return string
  */
 public static function getJson()
 {
     return '{"amount":' . CurrencyTest::getJson() . ',"tax":' . TaxTest::getJson() . '}';
 }
 /**
  * Gets Json String of Object InvoiceItem
  * @return string
  */
 public static function getJson()
 {
     return '{"name":"TestSample","description":"TestSample","quantity":"12.34","unit_price":' . CurrencyTest::getJson() . ',"tax":' . TaxTest::getJson() . ',"date":"TestSample","discount":' . CostTest::getJson() . ',"image_url":"http://www.google.com","unit_of_measure":"TestSample"}';
 }