示例#1
0
 public function __construct($price, $currency)
 {
     parent::__construct();
     if ($price !== null) {
         $this->setPrice($price);
     }
     if ($currency !== null) {
         $this->setCurrency($currency);
     }
 }
示例#2
0
 public function __construct($conditionType = null, $conditionNote = null)
 {
     parent::__construct();
     if ($conditionType !== null) {
         $this->setConditionType($conditionType);
     }
     if ($conditionNote != null) {
         $this->setConditionNote($conditionNote);
     }
 }
示例#3
0
 public function __construct($sku = null, $type = null)
 {
     parent::__construct();
     if ($sku !== null) {
         $this->setSKU($sku);
     }
     if ($type !== null) {
         $this->setType($type);
     }
 }
示例#4
0
 public function __construct()
 {
     parent::__construct();
 }