Class ChangeCartLineItemQuantity
java.lang.Object
com.commercetools.graphql.api.types.ChangeCartLineItemQuantity
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionChangeCartLineItemQuantity(String lineItemId, String lineItemKey, Long quantity, BaseMoneyInput externalPrice, ExternalLineItemTotalPriceDraft externalTotalPrice) -
Method Summary
Modifier and TypeMethodDescriptionbooleanOnly valid for the general Carts API.Only valid for the general Carts API.inthashCode()voidsetExternalPrice(BaseMoneyInput externalPrice) voidsetExternalTotalPrice(ExternalLineItemTotalPriceDraft externalTotalPrice) voidsetLineItemId(String lineItemId) voidsetLineItemKey(String lineItemKey) voidsetQuantity(Long quantity) toString()
-
Constructor Details
-
ChangeCartLineItemQuantity
public ChangeCartLineItemQuantity() -
ChangeCartLineItemQuantity
public ChangeCartLineItemQuantity(String lineItemId, String lineItemKey, Long quantity, BaseMoneyInput externalPrice, ExternalLineItemTotalPriceDraft externalTotalPrice)
-
-
Method Details
-
getLineItemId
-
setLineItemId
-
getLineItemKey
-
setLineItemKey
-
getQuantity
-
setQuantity
-
getExternalPrice
Only valid for the general Carts API. Ignored for the My Carts API. -
setExternalPrice
-
getExternalTotalPrice
Only valid for the general Carts API. Ignored for the My Carts API. -
setExternalTotalPrice
-
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-