@Service(value="blCartStateService") public class CartStateServiceImpl extends Object implements CartStateService
| Modifier and Type | Field and Description |
|---|---|
protected FulfillmentGroupService |
fulfillmentGroupService |
| Constructor and Description |
|---|
CartStateServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected OrderPayment |
getUnconfirmedCCFromCart() |
boolean |
hasPopulatedBillingAddress()
A helper method used to determine the validity of the payments on the
CartState.getCart() |
boolean |
hasPopulatedOrderInfo()
A helper method used to determine the validity of the
CartState.getCart()'s order info |
boolean |
hasPopulatedShippingAddress()
A helper method used to determine the validity of the
CartState.getCart()'s fulfillment groups |
boolean |
orderContainsThirdPartyPayment()
A helper method used to determine whether or not the
CartState.getCart() is using a third party payment |
boolean |
orderContainsUnconfirmedCreditCard()
A helper method used to determine whether or not the
CartState.getCart() contains an unconfirmed credit card |
protected FulfillmentGroupService fulfillmentGroupService
public boolean hasPopulatedOrderInfo()
CartStateServiceCartState.getCart()'s order infohasPopulatedOrderInfo in interface CartStateServicepublic boolean hasPopulatedBillingAddress()
CartStateServiceCartState.getCart()hasPopulatedBillingAddress in interface CartStateServicepublic boolean hasPopulatedShippingAddress()
CartStateServiceCartState.getCart()'s fulfillment groupshasPopulatedShippingAddress in interface CartStateServicepublic boolean orderContainsThirdPartyPayment()
CartStateServiceCartState.getCart() is using a third party paymentorderContainsThirdPartyPayment in interface CartStateServicepublic boolean orderContainsUnconfirmedCreditCard()
CartStateServiceCartState.getCart() contains an unconfirmed credit cardorderContainsUnconfirmedCreditCard in interface CartStateServiceprotected OrderPayment getUnconfirmedCCFromCart()
Copyright © 2018. All rights reserved.