Skip to content

Commit

Permalink
Merge pull request #68 from frankdors/patch-2
Browse files Browse the repository at this point in the history
Adicionado leitura do sub_status do Produto
  • Loading branch information
dilowagner authored Jan 13, 2021
2 parents 23296ce + def501e commit 8d2eeb7
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion src/Requests/Product/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,12 @@ class Product
*/
private $status;

/**
* @var string
* @JMS\Type("array")
*/
private $subStatus;

/**
* @var \DateTime
* @JMS\Type("DateTime<'Y-m-d\TH:i:s.u\Z'>")
Expand Down Expand Up @@ -924,6 +930,24 @@ public function setStatus($status)
return $this;
}

/**
* @return array
*/
public function getSubStatus()
{
return $this->subStatus;
}

/**
* @param string $subStatus
* @return Product
*/
public function setSubStatus($subStatus)
{
$this->subStatus = $subStatus;
return $this;
}

/**
* @return \DateTime
*/
Expand Down Expand Up @@ -1011,4 +1035,4 @@ public function setVariations(Collection $values)
$this->variations = $values;
return $this;
}
}
}

0 comments on commit 8d2eeb7

Please sign in to comment.