예제 #1
0
 /**
  * Setter for customer with billing and shipping address changing ability
  *
  * @param CustomerDataObject $customerData
  * @param Address|null $billingAddress
  * @param Address|null $shippingAddress
  * @return $this
  */
 public function setCustomerWithAddressChange(CustomerDataObject $customerData, $billingAddress = null, $shippingAddress = null)
 {
     $this->_quote->assignCustomerWithAddressChange($customerData, $billingAddress, $shippingAddress);
     $this->_customerId = $customerData->getId();
     return $this;
 }