26 private $addressAdapterFactory;
34 AddressAdapterFactory $addressAdapterFactory
37 $this->addressAdapterFactory = $addressAdapterFactory;
47 return $this->quote->getCurrency()->getBaseCurrencyCode();
57 return $this->quote->getReservedOrderId();
67 return $this->quote->getCustomer()->getId();
77 if ($this->quote->getBillingAddress()) {
78 return $this->addressAdapterFactory->create(
79 [
'address' => $this->quote->getBillingAddress()]
93 if ($this->quote->getShippingAddress()) {
94 return $this->addressAdapterFactory->create(
95 [
'address' => $this->quote->getShippingAddress()]
109 return $this->quote->getStoreId();
119 return $this->quote->getId();
139 return $this->quote->getItems();
__construct(CartInterface $quote, AddressAdapterFactory $addressAdapterFactory)