Class StandalonePrice
java.lang.Object
com.commercetools.graphql.api.types.StandalonePrice
- All Implemented Interfaces:
Versioned
StandalonePrices are managed and queried through the StandalonePrices API
and associated to a ProductVariant through the sku field.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionStandalonePrice(String id, Long version, String key, String sku, BaseMoney value, String country, Reference customerGroupRef, CustomerGroup customerGroup, Reference channelRef, Channel channel, OffsetDateTime validFrom, OffsetDateTime validUntil, List<ProductPriceTier> tiers, DiscountedProductPriceValue discounted, StagedStandalonePrice staged, CustomFieldsType custom, Boolean active, OffsetDateTime createdAt, OffsetDateTime lastModifiedAt, Initiator createdBy, Initiator lastModifiedBy) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()getKey()getSku()getTiers()getValue()inthashCode()static StandalonePrice.BuildervoidvoidsetChannel(Channel channel) voidsetChannelRef(Reference channelRef) voidsetCountry(String country) voidsetCreatedAt(OffsetDateTime createdAt) voidsetCreatedBy(Initiator createdBy) voidsetCustom(CustomFieldsType custom) voidsetCustomerGroup(CustomerGroup customerGroup) voidsetCustomerGroupRef(Reference customerGroupRef) voidsetDiscounted(DiscountedProductPriceValue discounted) voidvoidvoidsetLastModifiedAt(OffsetDateTime lastModifiedAt) voidsetLastModifiedBy(Initiator lastModifiedBy) voidvoidsetStaged(StagedStandalonePrice staged) voidsetTiers(List<ProductPriceTier> tiers) voidsetValidFrom(OffsetDateTime validFrom) voidsetValidUntil(OffsetDateTime validUntil) voidvoidsetVersion(Long version) toString()
-
Constructor Details
-
StandalonePrice
public StandalonePrice() -
StandalonePrice
public StandalonePrice(String id, Long version, String key, String sku, BaseMoney value, String country, Reference customerGroupRef, CustomerGroup customerGroup, Reference channelRef, Channel channel, OffsetDateTime validFrom, OffsetDateTime validUntil, List<ProductPriceTier> tiers, DiscountedProductPriceValue discounted, StagedStandalonePrice staged, CustomFieldsType custom, Boolean active, OffsetDateTime createdAt, OffsetDateTime lastModifiedAt, Initiator createdBy, Initiator lastModifiedBy)
-
-
Method Details
-
getId
-
setId
-
getVersion
- Specified by:
getVersionin interfaceVersioned
-
setVersion
- Specified by:
setVersionin interfaceVersioned
-
getKey
-
setKey
-
getSku
-
setSku
-
getValue
-
setValue
-
getCountry
-
setCountry
-
getCustomerGroupRef
-
setCustomerGroupRef
-
getCustomerGroup
-
setCustomerGroup
-
getChannelRef
-
setChannelRef
-
getChannel
-
setChannel
-
getValidFrom
-
setValidFrom
-
getValidUntil
-
setValidUntil
-
getTiers
-
setTiers
-
getDiscounted
-
setDiscounted
-
getStaged
-
setStaged
-
getCustom
-
setCustom
-
getActive
-
setActive
-
getCreatedAt
- Specified by:
getCreatedAtin interfaceVersioned
-
setCreatedAt
- Specified by:
setCreatedAtin interfaceVersioned
-
getLastModifiedAt
- Specified by:
getLastModifiedAtin interfaceVersioned
-
setLastModifiedAt
- Specified by:
setLastModifiedAtin interfaceVersioned
-
getCreatedBy
- Specified by:
getCreatedByin interfaceVersioned
-
setCreatedBy
- Specified by:
setCreatedByin interfaceVersioned
-
getLastModifiedBy
- Specified by:
getLastModifiedByin interfaceVersioned
-
setLastModifiedBy
- Specified by:
setLastModifiedByin interfaceVersioned
-
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-