Skip to content

Commit f78a4af

Browse files
author
Cari Spruiell
committed
MAGETWO-37464: Merge and Fix Builds
- merge MAGETWO-32618-35024-merge branch
1 parent 5139b6b commit f78a4af

12 files changed

+42
-23
lines changed

app/code/Magento/Quote/Api/CartManagementInterface.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77

88
interface CartManagementInterface
99
{
10+
/**
11+
* Checkout types: Checkout as Guest
12+
*/
13+
const METHOD_GUEST = 'guest';
14+
1015
/**
1116
* Creates an empty cart and quote for a guest.
1217
*

app/code/Magento/Quote/Api/GuestBillingAddressManagementInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
interface GuestBillingAddressManagementInterface
1212
{
1313
/**
14-
* Assigns a specified billing address to a specified cart.
14+
* Assign a specified billing address to a specified cart.
1515
*
1616
* @param string $cartId The cart ID.
1717
* @param \Magento\Quote\Api\Data\AddressInterface $address Billing address data.
@@ -22,7 +22,7 @@ interface GuestBillingAddressManagementInterface
2222
public function assign($cartId, \Magento\Quote\Api\Data\AddressInterface $address);
2323

2424
/**
25-
* Returns the billing address for a specified quote.
25+
* Return the billing address for a specified quote.
2626
*
2727
* @param string $cartId The cart ID.
2828
* @return \Magento\Quote\Api\Data\AddressInterface Quote billing address object.

app/code/Magento/Quote/Api/GuestCartItemRepositoryInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
interface GuestCartItemRepositoryInterface
1212
{
1313
/**
14-
* Lists items that are assigned to a specified cart.
14+
* List items that are assigned to a specified cart.
1515
*
1616
* @param string $cartId The cart ID.
1717
* @return \Magento\Quote\Api\Data\CartItemInterface[] Array of items.
@@ -20,7 +20,7 @@ interface GuestCartItemRepositoryInterface
2020
public function getList($cartId);
2121

2222
/**
23-
* Adds the specified item to the specified cart.
23+
* Add the specified item to the specified cart.
2424
*
2525
* @param \Magento\Quote\Api\Data\CartItemInterface $cartItem The item.
2626
* @return \Magento\Quote\Api\Data\CartItemInterface Item.
@@ -31,7 +31,7 @@ public function getList($cartId);
3131
public function save(\Magento\Quote\Api\Data\CartItemInterface $cartItem);
3232

3333
/**
34-
* Removes the specified item from the specified cart.
34+
* Remove the specified item from the specified cart.
3535
*
3636
* @param string $cartId The cart ID.
3737
* @param int $itemId The item ID of the item to be removed.

app/code/Magento/Quote/Api/GuestCartManagementInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
interface GuestCartManagementInterface
1212
{
1313
/**
14-
* Enables an customer or guest user to create an empty cart and quote for an anonymous customer.
14+
* Enable an customer or guest user to create an empty cart and quote for an anonymous customer.
1515
*
1616
* @return string Cart ID.
1717
* @throws \Magento\Framework\Exception\CouldNotSaveException The empty cart and quote could not be created.
1818
*/
1919
public function createEmptyCart();
2020

2121
/**
22-
* Assigns a specified customer to a specified shopping cart.
22+
* Assign a specified customer to a specified shopping cart.
2323
*
2424
* @param string $cartId The cart ID.
2525
* @param int $customerId The customer ID.
@@ -29,7 +29,7 @@ public function createEmptyCart();
2929
public function assignCustomer($cartId, $customerId, $storeId);
3030

3131
/**
32-
* Places an order for a specified cart.
32+
* Place an order for a specified cart.
3333
*
3434
* @param string $cartId The cart ID.
3535
* @return int Order ID.

app/code/Magento/Quote/Api/GuestCartRepositoryInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
interface GuestCartRepositoryInterface
1212
{
1313
/**
14-
* Enables a guest user to return information for a specified cart.
14+
* Enable a guest user to return information for a specified cart.
1515
*
1616
* @param string $cartId
1717
* @return \Magento\Quote\Api\Data\CartInterface

app/code/Magento/Quote/Api/GuestCartTotalRepositoryInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
interface GuestCartTotalRepositoryInterface
1313
{
1414
/**
15-
* Returns quote totals data for a specified cart.
15+
* Return quote totals data for a specified cart.
1616
*
1717
* @param string $cartId The cart ID.
1818
* @return \Magento\Quote\Api\Data\TotalsInterface Quote totals data.

app/code/Magento/Quote/Api/GuestCouponManagementInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
interface GuestCouponManagementInterface
1414
{
1515
/**
16-
* Returns information for a coupon in a specified cart.
16+
* Return information for a coupon in a specified cart.
1717
*
1818
* @param string $cartId The cart ID.
1919
* @return string The coupon code data.
@@ -22,7 +22,7 @@ interface GuestCouponManagementInterface
2222
public function get($cartId);
2323

2424
/**
25-
* Adds a coupon by code to a specified cart.
25+
* Add a coupon by code to a specified cart.
2626
*
2727
* @param string $cartId The cart ID.
2828
* @param string $couponCode The coupon code data.
@@ -33,7 +33,7 @@ public function get($cartId);
3333
public function set($cartId, $couponCode);
3434

3535
/**
36-
* Deletes a coupon from a specified cart.
36+
* Delete a coupon from a specified cart.
3737
*
3838
* @param string $cartId The cart ID.
3939
* @return bool

app/code/Magento/Quote/Api/GuestPaymentMethodManagementInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
interface GuestPaymentMethodManagementInterface
1212
{
1313
/**
14-
* Adds a specified payment method to a specified shopping cart.
14+
* Add a specified payment method to a specified shopping cart.
1515
*
1616
* @param string $cartId The cart ID.
1717
* @param \Magento\Quote\Api\Data\PaymentInterface $method The payment method.
@@ -23,7 +23,7 @@ interface GuestPaymentMethodManagementInterface
2323
public function set($cartId, \Magento\Quote\Api\Data\PaymentInterface $method);
2424

2525
/**
26-
* Returns the payment method for a specified shopping cart.
26+
* Return the payment method for a specified shopping cart.
2727
*
2828
* @param string $cartId The cart ID.
2929
* @return \Magento\Quote\Api\Data\PaymentInterface Payment method object.
@@ -32,7 +32,7 @@ public function set($cartId, \Magento\Quote\Api\Data\PaymentInterface $method);
3232
public function get($cartId);
3333

3434
/**
35-
* Lists available payment methods for a specified shopping cart.
35+
* List available payment methods for a specified shopping cart.
3636
*
3737
* @param string $cartId The cart ID.
3838
* @return \Magento\Quote\Api\Data\PaymentMethodInterface[] Array of payment methods.

app/code/Magento/Quote/Api/GuestShippingAddressManagementInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
interface GuestShippingAddressManagementInterface
1212
{
1313
/**
14-
* Assigns a specified shipping address to a specified cart.
14+
* Assign a specified shipping address to a specified cart.
1515
*
1616
* @param string $cartId The cart ID.
1717
* @param \Magento\Quote\Api\Data\AddressInterface $address The shipping address data.
@@ -22,7 +22,7 @@ interface GuestShippingAddressManagementInterface
2222
public function assign($cartId, \Magento\Quote\Api\Data\AddressInterface $address);
2323

2424
/**
25-
* Returns the shipping address for a specified quote.
25+
* Return the shipping address for a specified quote.
2626
*
2727
* @param string $cartId The cart ID.
2828
* @return \Magento\Quote\Api\Data\AddressInterface Shipping address object.

app/code/Magento/Quote/Api/GuestShippingMethodManagementInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
interface GuestShippingMethodManagementInterface
1212
{
1313
/**
14-
* Sets the carrier and shipping methods codes for a specified cart.
14+
* Set the carrier and shipping methods codes for a specified cart.
1515
*
1616
* @param string $cartId The shopping cart ID.
1717
* @param string $carrierCode The carrier code.
@@ -26,7 +26,7 @@ interface GuestShippingMethodManagementInterface
2626
public function set($cartId, $carrierCode, $methodCode);
2727

2828
/**
29-
* Returns selected shipping method for a specified quote.
29+
* Return selected shipping method for a specified quote.
3030
*
3131
* @param string $cartId The shopping cart ID.
3232
* @return \Magento\Quote\Api\Data\ShippingMethodInterface Shipping method.
@@ -36,7 +36,7 @@ public function set($cartId, $carrierCode, $methodCode);
3636
public function get($cartId);
3737

3838
/**
39-
* Lists applicable shipping methods for a specified quote.
39+
* List applicable shipping methods for a specified quote.
4040
*
4141
* @param string $cartId The shopping cart ID.
4242
* @return \Magento\Quote\Api\Data\ShippingMethodInterface[] An array of shipping methods.

0 commit comments

Comments
 (0)