Package | Description |
---|---|
io.sphere.sdk.products |
Provides model classes and builders for products.
|
Modifier and Type | Method and Description |
---|---|
PriceBuilder |
PriceBuilder.channel(Referenceable<Channel> channel)
Sets the
channel property of this builder. |
PriceBuilder |
PriceBuilder.country(com.neovisionaries.i18n.CountryCode country)
Sets the
country property of this builder. |
PriceBuilder |
PriceBuilder.custom(CustomFields custom)
Sets the
custom property of this builder. |
PriceBuilder |
PriceBuilder.customerGroup(Referenceable<CustomerGroup> customerGroup)
Sets the
customerGroup property of this builder. |
PriceBuilder |
PriceBuilder.discounted(DiscountedPrice discounted)
Sets the
discounted property of this builder. |
PriceBuilder |
PriceBuilder.id(String id)
Sets the
id property of this builder. |
static PriceBuilder |
PriceBuilder.of(javax.money.MonetaryAmount value)
Creates a new object initialized with the given values.
|
static PriceBuilder |
PriceBuilder.of(Price template)
Creates a new object initialized with the fields of the template parameter.
|
PriceBuilder |
PriceBuilder.tiers(List<PriceTier> tiers)
Sets the
tiers property of this builder. |
PriceBuilder |
PriceBuilder.validFrom(ZonedDateTime validFrom)
Sets the
validFrom property of this builder. |
PriceBuilder |
PriceBuilder.validUntil(ZonedDateTime validUntil)
Sets the
validUntil property of this builder. |
PriceBuilder |
PriceBuilder.value(javax.money.MonetaryAmount value)
Sets the
value property of this builder. |