_get('pickup_location_code'); } /** * @param string $pickupLocationCode * @return $this */ public function setPickupLocationCode($pickupLocationCode) { $this->setData('pickup_location_code', $pickupLocationCode); return $this; } /** * @return \Magento\SalesRule\Api\Data\RuleDiscountInterface[]|null */ public function getDiscounts() { return $this->_get('discounts'); } /** * @param \Magento\SalesRule\Api\Data\RuleDiscountInterface[] $discounts * @return $this */ public function setDiscounts($discounts) { $this->setData('discounts', $discounts); return $this; } }