Class LineItemDraftOutput
java.lang.Object
com.commercetools.graphql.api.types.LineItemDraftOutput
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionLineItemDraftOutput(String productId, String sku, String key, Long quantity, Integer variantId, CustomFieldsCommand custom, ExternalTaxRateDraftOutput externalTaxRate, List<MethodExternalTaxRateDraftOutput> perMethodExternalTaxRate, BaseMoney externalPrice, ExternalLineItemTotalPrice externalTotalPrice, InventoryMode inventoryMode, ItemShippingDetailsDraftOutput shippingDetails, OffsetDateTime addedAt, ResourceIdentifier distributionChannelResId, ResourceIdentifier supplyChannelResId) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetKey()getSku()inthashCode()static LineItemDraftOutput.BuildervoidsetAddedAt(OffsetDateTime addedAt) voidsetCustom(CustomFieldsCommand custom) voidsetDistributionChannelResId(ResourceIdentifier distributionChannelResId) voidsetExternalPrice(BaseMoney externalPrice) voidsetExternalTaxRate(ExternalTaxRateDraftOutput externalTaxRate) voidsetExternalTotalPrice(ExternalLineItemTotalPrice externalTotalPrice) voidsetInventoryMode(InventoryMode inventoryMode) voidvoidsetPerMethodExternalTaxRate(List<MethodExternalTaxRateDraftOutput> perMethodExternalTaxRate) voidsetProductId(String productId) voidsetQuantity(Long quantity) voidsetShippingDetails(ItemShippingDetailsDraftOutput shippingDetails) voidvoidsetSupplyChannelResId(ResourceIdentifier supplyChannelResId) voidsetVariantId(Integer variantId) toString()
-
Constructor Details
-
LineItemDraftOutput
public LineItemDraftOutput() -
LineItemDraftOutput
public LineItemDraftOutput(String productId, String sku, String key, Long quantity, Integer variantId, CustomFieldsCommand custom, ExternalTaxRateDraftOutput externalTaxRate, List<MethodExternalTaxRateDraftOutput> perMethodExternalTaxRate, BaseMoney externalPrice, ExternalLineItemTotalPrice externalTotalPrice, InventoryMode inventoryMode, ItemShippingDetailsDraftOutput shippingDetails, OffsetDateTime addedAt, ResourceIdentifier distributionChannelResId, ResourceIdentifier supplyChannelResId)
-
-
Method Details
-
getProductId
-
setProductId
-
getSku
-
setSku
-
getKey
-
setKey
-
getQuantity
-
setQuantity
-
getVariantId
-
setVariantId
-
getCustom
-
setCustom
-
getExternalTaxRate
-
setExternalTaxRate
-
getPerMethodExternalTaxRate
-
setPerMethodExternalTaxRate
public void setPerMethodExternalTaxRate(List<MethodExternalTaxRateDraftOutput> perMethodExternalTaxRate) -
getExternalPrice
-
setExternalPrice
-
getExternalTotalPrice
-
setExternalTotalPrice
-
getInventoryMode
-
setInventoryMode
-
getShippingDetails
-
setShippingDetails
-
getAddedAt
-
setAddedAt
-
getDistributionChannelResId
-
setDistributionChannelResId
-
getSupplyChannelResId
-
setSupplyChannelResId
-
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-