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