Class LineItemImportDraft
java.lang.Object
com.commercetools.graphql.api.types.LineItemImportDraft
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionLineItemImportDraft(String productId, List<LocalizedStringItemInputType> name, String key, ProductPriceDataInput price, Long quantity, ResourceIdentifierInput supplyChannel, ResourceIdentifierInput distributionChannel, TaxRateInput taxRate, ProductVariantImportDraft variant, List<ItemStateDraftType> state, CustomFieldsDraft custom, ItemShippingDetailsDraft shippingDetails) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetKey()getName()getPrice()getState()inthashCode()static LineItemImportDraft.BuildervoidsetCustom(CustomFieldsDraft custom) voidsetDistributionChannel(ResourceIdentifierInput distributionChannel) voidvoidvoidsetPrice(ProductPriceDataInput price) voidsetProductId(String productId) voidsetQuantity(Long quantity) voidsetShippingDetails(ItemShippingDetailsDraft shippingDetails) voidsetState(List<ItemStateDraftType> state) voidsetSupplyChannel(ResourceIdentifierInput supplyChannel) voidsetTaxRate(TaxRateInput taxRate) voidsetVariant(ProductVariantImportDraft variant) toString()
-
Constructor Details
-
LineItemImportDraft
public LineItemImportDraft() -
LineItemImportDraft
public LineItemImportDraft(String productId, List<LocalizedStringItemInputType> name, String key, ProductPriceDataInput price, Long quantity, ResourceIdentifierInput supplyChannel, ResourceIdentifierInput distributionChannel, TaxRateInput taxRate, ProductVariantImportDraft variant, List<ItemStateDraftType> state, CustomFieldsDraft custom, ItemShippingDetailsDraft shippingDetails)
-
-
Method Details
-
getProductId
-
setProductId
-
getName
-
setName
-
getKey
-
setKey
-
getPrice
-
setPrice
-
getQuantity
-
setQuantity
-
getSupplyChannel
-
setSupplyChannel
-
getDistributionChannel
-
setDistributionChannel
-
getTaxRate
-
setTaxRate
-
getVariant
-
setVariant
-
getState
-
setState
-
getCustom
-
setCustom
-
getShippingDetails
-
setShippingDetails
-
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-