Class ProductPrice
java.lang.Object
com.commercetools.graphql.api.types.ProductPrice
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionProductPrice(String id, BaseMoney value, String key, String country, CustomerGroup customerGroup, Reference customerGroupRef, Channel channel, Reference channelRef, OffsetDateTime validFrom, OffsetDateTime validUntil, DiscountedProductPriceValue discounted, List<ProductPriceTier> tiers, CustomFieldsType custom) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()getKey()getTiers()getValue()inthashCode()static ProductPrice.BuildervoidsetChannel(Channel channel) voidsetChannelRef(Reference channelRef) voidsetCountry(String country) voidsetCustom(CustomFieldsType custom) voidsetCustomerGroup(CustomerGroup customerGroup) voidsetCustomerGroupRef(Reference customerGroupRef) voidsetDiscounted(DiscountedProductPriceValue discounted) voidvoidvoidsetTiers(List<ProductPriceTier> tiers) voidsetValidFrom(OffsetDateTime validFrom) voidsetValidUntil(OffsetDateTime validUntil) voidtoString()
-
Constructor Details
-
ProductPrice
public ProductPrice() -
ProductPrice
public ProductPrice(String id, BaseMoney value, String key, String country, CustomerGroup customerGroup, Reference customerGroupRef, Channel channel, Reference channelRef, OffsetDateTime validFrom, OffsetDateTime validUntil, DiscountedProductPriceValue discounted, List<ProductPriceTier> tiers, CustomFieldsType custom)
-
-
Method Details
-
getId
-
setId
-
getValue
-
setValue
-
getKey
-
setKey
-
getCountry
-
setCountry
-
getCustomerGroup
-
setCustomerGroup
-
getCustomerGroupRef
-
setCustomerGroupRef
-
getChannel
-
setChannel
-
getChannelRef
-
setChannelRef
-
getValidFrom
-
setValidFrom
-
getValidUntil
-
setValidUntil
-
getDiscounted
-
setDiscounted
-
getTiers
-
setTiers
-
getCustom
-
setCustom
-
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-