Class InStore
java.lang.Object
com.commercetools.graphql.api.types.InStore
- All Implemented Interfaces:
CartDiscountQueryInterface,CartQueryInterface,CustomerActiveCartInterface,CustomerQueryInterface,MeFieldInterface,OrderQueryInterface,ShippingMethodsByCartInterface
public class InStore
extends Object
implements CartDiscountQueryInterface, CartQueryInterface, CustomerActiveCartInterface, OrderQueryInterface, CustomerQueryInterface, ShippingMethodsByCartInterface, MeFieldInterface
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionInStore()InStore(InStoreMe me, List<ShippingMethod> shippingMethodsByCart, CartDiscount cartDiscount, CartDiscountQueryResult cartDiscounts, Product product, Customer customer, CustomerQueryResult customers, Cart cart, CartQueryResult carts, Cart customerActiveCart, Order order, OrderQueryResult orders, ShoppingList shoppingList, ShoppingListQueryResult shoppingLists, ProductAssignmentQueryResult productSelectionAssignments) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCart()getCarts()getMe()This field can only be used with an access token created with the password flow or with an anonymous session.getOrder()inthashCode()static InStore.BuildervoidvoidsetCartDiscount(CartDiscount cartDiscount) voidsetCartDiscounts(CartDiscountQueryResult cartDiscounts) voidsetCarts(CartQueryResult carts) voidsetCustomer(Customer customer) voidsetCustomerActiveCart(Cart customerActiveCart) voidsetCustomers(CustomerQueryResult customers) voidvoidvoidsetOrders(OrderQueryResult orders) voidsetProduct(Product product) voidsetProductSelectionAssignments(ProductAssignmentQueryResult productSelectionAssignments) voidsetShippingMethodsByCart(List<ShippingMethod> shippingMethodsByCart) voidsetShoppingList(ShoppingList shoppingList) voidsetShoppingLists(ShoppingListQueryResult shoppingLists) toString()
-
Constructor Details
-
InStore
public InStore() -
InStore
public InStore(InStoreMe me, List<ShippingMethod> shippingMethodsByCart, CartDiscount cartDiscount, CartDiscountQueryResult cartDiscounts, Product product, Customer customer, CustomerQueryResult customers, Cart cart, CartQueryResult carts, Cart customerActiveCart, Order order, OrderQueryResult orders, ShoppingList shoppingList, ShoppingListQueryResult shoppingLists, ProductAssignmentQueryResult productSelectionAssignments)
-
-
Method Details
-
getMe
This field can only be used with an access token created with the password flow or with an anonymous session. It gives access to the data that is specific to the customer or the anonymous session linked to the access token. -
setMe
-
getShippingMethodsByCart
- Specified by:
getShippingMethodsByCartin interfaceShippingMethodsByCartInterface
-
setShippingMethodsByCart
- Specified by:
setShippingMethodsByCartin interfaceShippingMethodsByCartInterface
-
getCartDiscount
- Specified by:
getCartDiscountin interfaceCartDiscountQueryInterface
-
setCartDiscount
- Specified by:
setCartDiscountin interfaceCartDiscountQueryInterface
-
getCartDiscounts
- Specified by:
getCartDiscountsin interfaceCartDiscountQueryInterface
-
setCartDiscounts
- Specified by:
setCartDiscountsin interfaceCartDiscountQueryInterface
-
getProduct
-
setProduct
-
getCustomer
- Specified by:
getCustomerin interfaceCustomerQueryInterface
-
setCustomer
- Specified by:
setCustomerin interfaceCustomerQueryInterface
-
getCustomers
- Specified by:
getCustomersin interfaceCustomerQueryInterface
-
setCustomers
- Specified by:
setCustomersin interfaceCustomerQueryInterface
-
getCart
- Specified by:
getCartin interfaceCartQueryInterface
-
setCart
- Specified by:
setCartin interfaceCartQueryInterface
-
getCarts
- Specified by:
getCartsin interfaceCartQueryInterface
-
setCarts
- Specified by:
setCartsin interfaceCartQueryInterface
-
getCustomerActiveCart
- Specified by:
getCustomerActiveCartin interfaceCustomerActiveCartInterface
-
setCustomerActiveCart
- Specified by:
setCustomerActiveCartin interfaceCustomerActiveCartInterface
-
getOrder
- Specified by:
getOrderin interfaceOrderQueryInterface
-
setOrder
- Specified by:
setOrderin interfaceOrderQueryInterface
-
getOrders
- Specified by:
getOrdersin interfaceOrderQueryInterface
-
setOrders
- Specified by:
setOrdersin interfaceOrderQueryInterface
-
getShoppingList
-
setShoppingList
-
getShoppingLists
-
setShoppingLists
-
getProductSelectionAssignments
-
setProductSelectionAssignments
public void setProductSelectionAssignments(ProductAssignmentQueryResult productSelectionAssignments) -
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-