Class LineItem.Builder
java.lang.Object
com.commercetools.graphql.api.types.LineItem.Builder
- Enclosing class:
- LineItem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddedAt(OffsetDateTime addedAt) build()custom(CustomFieldsType custom) discountedPricePerQuantity(List<DiscountedLineItemPriceForQuantity> discountedPricePerQuantity) distributionChannel(Channel distributionChannel) distributionChannelRef(Reference distributionChannelRef) inventoryMode(InventoryMode inventoryMode) lastModifiedAt(OffsetDateTime lastModifiedAt) lineItemMode(LineItemMode lineItemMode) nameAllLocales(List<LocalizedString> nameAllLocales) perMethodTaxRate(List<MethodTaxRate> perMethodTaxRate) price(ProductPrice price) priceMode(LineItemPriceMode priceMode) productKey(String productKey) productSlug(String productSlug) productSlugAllLocales(List<LocalizedString> productSlugAllLocales) productType(ProductTypeDefinition productType) productTypeRef(Reference productTypeRef) shippingDetails(ItemShippingDetails shippingDetails) supplyChannel(Channel supplyChannel) supplyChannelRef(Reference supplyChannelRef) taxedPrice(TaxedItemPrice taxedPrice) taxedPricePortions(List<MethodTaxedPrice> taxedPricePortions) totalPrice(Money totalPrice) variant(ProductVariant variant)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
-
id
-
key
-
productId
-
productKey
-
name
-
nameAllLocales
-
productSlug
-
productSlugAllLocales
-
productType
-
productTypeRef
-
variant
-
price
-
taxedPrice
-
totalPrice
-
quantity
-
addedAt
-
lastModifiedAt
-
state
-
taxRate
-
supplyChannel
-
supplyChannelRef
-
distributionChannel
-
distributionChannelRef
-
discountedPricePerQuantity
public LineItem.Builder discountedPricePerQuantity(List<DiscountedLineItemPriceForQuantity> discountedPricePerQuantity) -
lineItemMode
-
priceMode
-
custom
-
inventoryMode
-
shippingDetails
-
perMethodTaxRate
-
taxedPricePortions
-