Class MyLineItemDraft
java.lang.Object
com.commercetools.graphql.api.types.MyLineItemDraft
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionMyLineItemDraft(String key, String productId, String sku, Long quantity, Integer variantId, ResourceIdentifierInput supplyChannel, ResourceIdentifierInput distributionChannel, CustomFieldsDraft custom, ItemShippingDetailsDraft shippingDetails, OffsetDateTime addedAt) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetKey()getSku()inthashCode()static MyLineItemDraft.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
-
MyLineItemDraft
public MyLineItemDraft() -
MyLineItemDraft
public MyLineItemDraft(String key, String productId, String sku, Long quantity, Integer variantId, ResourceIdentifierInput supplyChannel, ResourceIdentifierInput distributionChannel, CustomFieldsDraft custom, ItemShippingDetailsDraft shippingDetails, OffsetDateTime addedAt)
-
-
Method Details
-
getKey
-
setKey
-
getProductId
-
setProductId
-
getSku
-
setSku
-
getQuantity
-
setQuantity
-
getVariantId
-
setVariantId
-
getSupplyChannel
-
setSupplyChannel
-
getDistributionChannel
-
setDistributionChannel
-
getCustom
-
setCustom
-
getShippingDetails
-
setShippingDetails
-
getAddedAt
-
setAddedAt
-
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-