| 1 | <?php |
||
| 12 | final class RequestData extends AbstractRequestData |
||
| 13 | { |
||
| 14 | use CustomerTrait; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * FLag if sending the confirmation email should be sent. |
||
| 18 | * |
||
| 19 | * @var integer |
||
| 20 | * |
||
| 21 | * @JMS\Type("integer") |
||
| 22 | * @JMS\SerializedName("SUPPRESS_MAIL") |
||
| 23 | */ |
||
| 24 | protected $suppressEmail; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Constructor. |
||
| 28 | * |
||
| 29 | * @param integer $customerId The customer ID to update. |
||
| 30 | */ |
||
| 31 | 3 | public function __construct($customerId) |
|
| 32 | { |
||
| 33 | 3 | $this->setCustomerId($customerId); |
|
| 34 | 3 | } |
|
| 35 | |||
| 36 | /** |
||
| 37 | * Get if sending confirmation email is suppressed. |
||
| 38 | * |
||
| 39 | * @return boolean |
||
| 40 | */ |
||
| 41 | public function getSuppressEmail() |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Set if the confirmation email should be suppressed. |
||
| 48 | * |
||
| 49 | * @param boolean $suppressEmail Flag if the confirmation email should be suppressed. |
||
| 50 | * @return RequestData |
||
| 51 | */ |
||
| 52 | public function setSuppressEmail($suppressEmail) |
||
| 56 | } |
||
| 57 |