Class AddCartLineItem
java.lang.Object
com.commercetools.graphql.api.types.AddCartLineItem
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAddCartLineItem(OffsetDateTime addedAt, ItemShippingDetailsDraft shippingDetails, InventoryMode inventoryMode, ExternalLineItemTotalPriceDraft externalTotalPrice, BaseMoneyInput externalPrice, List<MethodExternalTaxRateDraft> perMethodExternalTaxRate, ExternalTaxRateDraft externalTaxRate, CustomFieldsDraft custom, ResourceIdentifierInput distributionChannel, ResourceIdentifierInput supplyChannel, Integer variantId, Long quantity, String key, String sku, String productId) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetKey()getSku()inthashCode()static AddCartLineItem.BuildervoidsetAddedAt(OffsetDateTime addedAt) voidsetCustom(CustomFieldsDraft custom) voidsetDistributionChannel(ResourceIdentifierInput distributionChannel) voidsetExternalPrice(BaseMoneyInput externalPrice) voidsetExternalTaxRate(ExternalTaxRateDraft externalTaxRate) voidsetExternalTotalPrice(ExternalLineItemTotalPriceDraft externalTotalPrice) voidsetInventoryMode(InventoryMode inventoryMode) voidvoidsetPerMethodExternalTaxRate(List<MethodExternalTaxRateDraft> perMethodExternalTaxRate) voidsetProductId(String productId) voidsetQuantity(Long quantity) voidsetShippingDetails(ItemShippingDetailsDraft shippingDetails) voidvoidsetSupplyChannel(ResourceIdentifierInput supplyChannel) voidsetVariantId(Integer variantId) toString()
-
Constructor Details
-
AddCartLineItem
public AddCartLineItem() -
AddCartLineItem
public AddCartLineItem(OffsetDateTime addedAt, ItemShippingDetailsDraft shippingDetails, InventoryMode inventoryMode, ExternalLineItemTotalPriceDraft externalTotalPrice, BaseMoneyInput externalPrice, List<MethodExternalTaxRateDraft> perMethodExternalTaxRate, ExternalTaxRateDraft externalTaxRate, CustomFieldsDraft custom, ResourceIdentifierInput distributionChannel, ResourceIdentifierInput supplyChannel, Integer variantId, Long quantity, String key, String sku, String productId)
-
-
Method Details
-
getAddedAt
-
setAddedAt
-
getShippingDetails
-
setShippingDetails
-
getInventoryMode
-
setInventoryMode
-
getExternalTotalPrice
-
setExternalTotalPrice
-
getExternalPrice
-
setExternalPrice
-
getPerMethodExternalTaxRate
-
setPerMethodExternalTaxRate
-
getExternalTaxRate
-
setExternalTaxRate
-
getCustom
-
setCustom
-
getDistributionChannel
-
setDistributionChannel
-
getSupplyChannel
-
setSupplyChannel
-
getVariantId
-
setVariantId
-
getQuantity
-
setQuantity
-
getKey
-
setKey
-
getSku
-
setSku
-
getProductId
-
setProductId
-
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-