/** * Gets Json String of Object Amount * * @return string */ public static function getJson() { return '{"currency":"TestSample","total":"12.34","details":' . DetailsTest::getJson() . '}'; }