| Line 412... |
Line 412... |
| 412 |
Cart getCart(1:i64 cartId) throws (1:ShoppingCartException scx),
|
412 |
Cart getCart(1:i64 cartId) throws (1:ShoppingCartException scx),
|
| 413 |
list<Cart> getCartsForUser(1:i64 userId, 2:CartStatus status) throws (1:ShoppingCartException scx),
|
413 |
list<Cart> getCartsForUser(1:i64 userId, 2:CartStatus status) throws (1:ShoppingCartException scx),
|
| 414 |
list<Cart> getCartsByStatus(1:CartStatus status) throws (1:ShoppingCartException scx),
|
414 |
list<Cart> getCartsByStatus(1:CartStatus status) throws (1:ShoppingCartException scx),
|
| 415 |
list<Cart> getCartsByTime(1:i64 from_time, 2:i64 to_time, 3:CartStatus status) throws (1:ShoppingCartException scx),
|
415 |
list<Cart> getCartsByTime(1:i64 from_time, 2:i64 to_time, 3:CartStatus status) throws (1:ShoppingCartException scx),
|
| 416 |
void changeCartStatus(1:i64 cartId, 2:CartStatus status) throws (1:ShoppingCartException scx),
|
416 |
void changeCartStatus(1:i64 cartId, 2:CartStatus status) throws (1:ShoppingCartException scx),
|
| 417 |
string addItemToCart(1:i64 cartId, 2:i64 itemId, 3:i64 quantity) throws (1:ShoppingCartException scx),
|
417 |
string addItemToCart(1:i64 cartId, 2:i64 itemId, 3:i64 quantity, 4:i64 sourceId) throws (1:ShoppingCartException scx),
|
| 418 |
void deleteItemFromCart(1:i64 cartId, 2:i64 itemId) throws (1:ShoppingCartException scx),
|
418 |
void deleteItemFromCart(1:i64 cartId, 2:i64 itemId) throws (1:ShoppingCartException scx),
|
| 419 |
void changeQuantity(1:i64 cartId, 2:i64 itemId, 3:i64 quantity) throws (1:ShoppingCartException scx),
|
419 |
void changeQuantity(1:i64 cartId, 2:i64 itemId, 3:i64 quantity) throws (1:ShoppingCartException scx),
|
| 420 |
void changeItemStatus(1:i64 cartId, 2:i64 itemId, 3:LineStatus status) throws (1:ShoppingCartException scx),
|
420 |
void changeItemStatus(1:i64 cartId, 2:i64 itemId, 3:LineStatus status) throws (1:ShoppingCartException scx),
|
| 421 |
void addAddressToCart(1:i64 cartId, 2:i64 addressId) throws (1:ShoppingCartException scx),
|
421 |
void addAddressToCart(1:i64 cartId, 2:i64 addressId) throws (1:ShoppingCartException scx),
|
| 422 |
void applyCouponToCart(1:i64 cartId, 2:string couponCode, 3:double totalPrice, 4:double discountedPrice) throws (1:ShoppingCartException scx),
|
422 |
void applyCouponToCart(1:i64 cartId, 2:string couponCode, 3:double totalPrice, 4:double discountedPrice) throws (1:ShoppingCartException scx),
|
| Line 442... |
Line 442... |
| 442 |
1. The checkout timestamp is greater than the updatedOn timestamp.
|
442 |
1. The checkout timestamp is greater than the updatedOn timestamp.
|
| 443 |
2. All of the lines in the cart are active items.
|
443 |
2. All of the lines in the cart are active items.
|
| 444 |
3. The estimate for any of the lines in cart doesn't change.
|
444 |
3. The estimate for any of the lines in cart doesn't change.
|
| 445 |
If all three are true, returns empty string; else returns appropriate message.
|
445 |
If all three are true, returns empty string; else returns appropriate message.
|
| 446 |
*/
|
446 |
*/
|
| 447 |
string validateCart(1:i64 cartId) throws (1:ShoppingCartException scex),
|
447 |
string validateCart(1:i64 cartId, 2:i64 sourceId) throws (1:ShoppingCartException scex),
|
| 448 |
|
448 |
|
| 449 |
/**
|
449 |
/**
|
| 450 |
Merges the lines from the first cart into the second cart. Lines with duplicate items are removed.
|
450 |
Merges the lines from the first cart into the second cart. Lines with duplicate items are removed.
|
| 451 |
*/
|
451 |
*/
|
| 452 |
void mergeCart(1:i64 fromCartId, 2:i64 toCartId),
|
452 |
void mergeCart(1:i64 fromCartId, 2:i64 toCartId),
|