Class AddMyCartLineItem
java.lang.Object
com.commercetools.graphql.api.types.AddMyCartLineItem
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAddMyCartLineItem(OffsetDateTime addedAt, ItemShippingDetailsDraft shippingDetails, CustomFieldsDraft custom, ResourceIdentifierInput distributionChannel, ResourceIdentifierInput supplyChannel, Integer variantId, Long quantity, String sku, String key, String productId) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetKey()getSku()inthashCode()static AddMyCartLineItem.BuildervoidsetAddedAt(OffsetDateTime addedAt) voidsetCustom(CustomFieldsDraft custom) voidsetDistributionChannel(ResourceIdentifierInput distributionChannel) voidvoidsetProductId(String productId) voidsetQuantity(Long quantity) voidsetShippingDetails(ItemShippingDetailsDraft shippingDetails) voidvoidsetSupplyChannel(ResourceIdentifierInput supplyChannel) voidsetVariantId(Integer variantId) toString()
-
Constructor Details
-
AddMyCartLineItem
public AddMyCartLineItem() -
AddMyCartLineItem
public AddMyCartLineItem(OffsetDateTime addedAt, ItemShippingDetailsDraft shippingDetails, CustomFieldsDraft custom, ResourceIdentifierInput distributionChannel, ResourceIdentifierInput supplyChannel, Integer variantId, Long quantity, String sku, String key, String productId)
-
-
Method Details
-
getAddedAt
-
setAddedAt
-
getShippingDetails
-
setShippingDetails
-
getCustom
-
setCustom
-
getDistributionChannel
-
setDistributionChannel
-
getSupplyChannel
-
setSupplyChannel
-
getVariantId
-
setVariantId
-
getQuantity
-
setQuantity
-
getSku
-
setSku
-
getKey
-
setKey
-
getProductId
-
setProductId
-
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-