public addPrice ( $key, $value = null ) : |
||
$key | ||
$value | ||
return |
public function addPrice($key, $value = null)
{
if (isset($value)) {
$this->json[$key] = RequestFormatter::formatPrice($value);
}
return $this;
}