magento2-docker/generated/code/Magento/Sales/Api/Data/OrderExtension.php

171 lines
4.1 KiB
PHP
Executable File

<?php
namespace Magento\Sales\Api\Data;
/**
* Extension class for @see \Magento\Sales\Api\Data\OrderInterface
*/
class OrderExtension extends \Magento\Framework\Api\AbstractSimpleObject implements OrderExtensionInterface
{
/**
* @return \Magento\Sales\Api\Data\ShippingAssignmentInterface[]|null
*/
public function getShippingAssignments()
{
return $this->_get('shipping_assignments');
}
/**
* @param \Magento\Sales\Api\Data\ShippingAssignmentInterface[] $shippingAssignments
* @return $this
*/
public function setShippingAssignments($shippingAssignments)
{
$this->setData('shipping_assignments', $shippingAssignments);
return $this;
}
/**
* @return \Magento\Payment\Api\Data\PaymentAdditionalInfoInterface[]|null
*/
public function getPaymentAdditionalInfo()
{
return $this->_get('payment_additional_info');
}
/**
* @param \Magento\Payment\Api\Data\PaymentAdditionalInfoInterface[] $paymentAdditionalInfo
* @return $this
*/
public function setPaymentAdditionalInfo($paymentAdditionalInfo)
{
$this->setData('payment_additional_info', $paymentAdditionalInfo);
return $this;
}
/**
* @return \Magento\GiftMessage\Api\Data\MessageInterface|null
*/
public function getGiftMessage()
{
return $this->_get('gift_message');
}
/**
* @param \Magento\GiftMessage\Api\Data\MessageInterface $giftMessage
* @return $this
*/
public function setGiftMessage(\Magento\GiftMessage\Api\Data\MessageInterface $giftMessage)
{
$this->setData('gift_message', $giftMessage);
return $this;
}
/**
* @return string|null
*/
public function getPickupLocationCode()
{
return $this->_get('pickup_location_code');
}
/**
* @param string $pickupLocationCode
* @return $this
*/
public function setPickupLocationCode($pickupLocationCode)
{
$this->setData('pickup_location_code', $pickupLocationCode);
return $this;
}
/**
* @return int|null
*/
public function getNotificationSent()
{
return $this->_get('notification_sent');
}
/**
* @param int $notificationSent
* @return $this
*/
public function setNotificationSent($notificationSent)
{
$this->setData('notification_sent', $notificationSent);
return $this;
}
/**
* @return int|null
*/
public function getSendNotification()
{
return $this->_get('send_notification');
}
/**
* @param int $sendNotification
* @return $this
*/
public function setSendNotification($sendNotification)
{
$this->setData('send_notification', $sendNotification);
return $this;
}
/**
* @return \Magento\Tax\Api\Data\OrderTaxDetailsAppliedTaxInterface[]|null
*/
public function getAppliedTaxes()
{
return $this->_get('applied_taxes');
}
/**
* @param \Magento\Tax\Api\Data\OrderTaxDetailsAppliedTaxInterface[] $appliedTaxes
* @return $this
*/
public function setAppliedTaxes($appliedTaxes)
{
$this->setData('applied_taxes', $appliedTaxes);
return $this;
}
/**
* @return \Magento\Tax\Api\Data\OrderTaxDetailsItemInterface[]|null
*/
public function getItemAppliedTaxes()
{
return $this->_get('item_applied_taxes');
}
/**
* @param \Magento\Tax\Api\Data\OrderTaxDetailsItemInterface[] $itemAppliedTaxes
* @return $this
*/
public function setItemAppliedTaxes($itemAppliedTaxes)
{
$this->setData('item_applied_taxes', $itemAppliedTaxes);
return $this;
}
/**
* @return boolean|null
*/
public function getConvertingFromQuote()
{
return $this->_get('converting_from_quote');
}
/**
* @param boolean $convertingFromQuote
* @return $this
*/
public function setConvertingFromQuote($convertingFromQuote)
{
$this->setData('converting_from_quote', $convertingFromQuote);
return $this;
}
}