11 use Magento\Quote\Model\QuoteIdMaskFactory;
21 private $quoteIdMaskFactory;
26 private $billingAddressManagement;
36 QuoteIdMaskFactory $quoteIdMaskFactory
38 $this->quoteIdMaskFactory = $quoteIdMaskFactory;
39 $this->billingAddressManagement = $billingAddressManagement;
49 return $this->billingAddressManagement->assign(
$quoteIdMask->getQuoteId(),
$address, $useForShipping);
59 return $this->billingAddressManagement->get(
$quoteIdMask->getQuoteId());
assign($cartId, \Magento\Quote\Api\Data\AddressInterface $address, $useForShipping=false)
__construct(BillingAddressManagementInterface $billingAddressManagement, QuoteIdMaskFactory $quoteIdMaskFactory)