Class GiftLineItemValue
java.lang.Object
com.commercetools.graphql.api.types.GiftLineItemValue
- All Implemented Interfaces:
CartDiscountValue
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionGiftLineItemValue(String type, Integer variantId, ProductReferenceIdentifier productRef, ChannelReferenceIdentifier distributionChannelRef, ChannelReferenceIdentifier supplyChannelRef) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetType()inthashCode()static GiftLineItemValue.BuildervoidsetDistributionChannelRef(ChannelReferenceIdentifier distributionChannelRef) voidsetProductRef(ProductReferenceIdentifier productRef) voidsetSupplyChannelRef(ChannelReferenceIdentifier supplyChannelRef) voidvoidsetVariantId(Integer variantId) toString()
-
Constructor Details
-
GiftLineItemValue
public GiftLineItemValue() -
GiftLineItemValue
public GiftLineItemValue(String type, Integer variantId, ProductReferenceIdentifier productRef, ChannelReferenceIdentifier distributionChannelRef, ChannelReferenceIdentifier supplyChannelRef)
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceCartDiscountValue
-
setType
- Specified by:
setTypein interfaceCartDiscountValue
-
getVariantId
-
setVariantId
-
getProductRef
-
setProductRef
-
getDistributionChannelRef
-
setDistributionChannelRef
-
getSupplyChannelRef
-
setSupplyChannelRef
-
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-