1: <?php
2: /**
3: * LeadCommerce\Shopware\SDK\Entity
4: *
5: * Copyright 2016 LeadCommerce
6: *
7: * @author Alexander Mahrt <amahrt@leadcommerce.de>
8: * @copyright 2016 LeadCommerce <amahrt@leadcommerce.de>
9: */
10: namespace LeadCommerce\Shopware\SDK\Entity;
11:
12: /**
13: * Class CustomerGroupSurcharge
14: */
15: class CustomerGroupSurcharge extends Base
16: {
17: /**
18: * @var int
19: */
20: protected $id;
21: /**
22: * @var int
23: */
24: protected $discount;
25: /**
26: * @var int
27: */
28: protected $value;
29:
30: /**
31: * @return int
32: */
33: public function getId()
34: {
35: return $this->id;
36: }
37:
38: /**
39: * @param int $id
40: *
41: * @return CustomerGroupSurcharge
42: */
43: public function setId($id)
44: {
45: $this->id = $id;
46:
47: return $this;
48: }
49:
50: /**
51: * @return int
52: */
53: public function getDiscount()
54: {
55: return $this->discount;
56: }
57:
58: /**
59: * @param int $discount
60: *
61: * @return CustomerGroupSurcharge
62: */
63: public function setDiscount($discount)
64: {
65: $this->discount = $discount;
66:
67: return $this;
68: }
69:
70: /**
71: * @return int
72: */
73: public function getValue()
74: {
75: return $this->value;
76: }
77:
78: /**
79: * @param int $value
80: *
81: * @return CustomerGroupSurcharge
82: */
83: public function setValue($value)
84: {
85: $this->value = $value;
86:
87: return $this;
88: }
89: }
90: