Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (\Magento\Quote\Api\CartRepositoryInterface $quoteRepository, QuoteAddressValidator $addressValidator, Logger $logger, \Magento\Customer\Api\AddressRepositoryInterface $addressRepository) | |
get ($cartId) | |
![]() | |
assign ($cartId, \Magento\Quote\Api\Data\AddressInterface $address, $useForShipping=false) | |
Protected Attributes | |
$addressValidator | |
$logger | |
$quoteRepository | |
$addressRepository | |
Quote billing address write service object.
Definition at line 19 of file BillingAddressManagement.php.
__construct | ( | \Magento\Quote\Api\CartRepositoryInterface | $quoteRepository, |
QuoteAddressValidator | $addressValidator, | ||
Logger | $logger, | ||
\Magento\Customer\Api\AddressRepositoryInterface | $addressRepository | ||
) |
Constructs a quote billing address service object.
\Magento\Quote\Api\CartRepositoryInterface | $quoteRepository | Quote repository. |
QuoteAddressValidator | $addressValidator | Address validator. |
Logger | $logger | Logger. |
\Magento\Customer\Api\AddressRepositoryInterface | $addressRepository |
Definition at line 60 of file BillingAddressManagement.php.
get | ( | $cartId | ) |
Returns the billing address for a specified quote.
int | $cartId | The cart ID. |
Implements BillingAddressManagementInterface.
Definition at line 96 of file BillingAddressManagement.php.
|
protected |
Definition at line 45 of file BillingAddressManagement.php.
|
protected |
Definition at line 26 of file BillingAddressManagement.php.
|
protected |
Definition at line 33 of file BillingAddressManagement.php.
|
protected |
Definition at line 40 of file BillingAddressManagement.php.