Пример #1
0
 public static function fromJson($json)
 {
     $r = new Price();
     $r->setGross($json->gross);
     $r->setCurrency($json->currency);
     return $r;
 }