Package | Description |
---|---|
io.sphere.sdk.productdiscounts |
Provides model classes and builders for product discounts.
|
io.sphere.sdk.products |
Provides model classes and builders for products.
|
io.sphere.sdk.products.commands.updateactions |
Provides the possible operations which can be performed on update commands for products.
|
io.sphere.sdk.products.messages |
Provides model classes and builders for products.
|
Modifier and Type | Method and Description |
---|---|
static DiscountedPrice |
DiscountedPrice.of(javax.money.MonetaryAmount value,
Reference<ProductDiscount> discount) |
Modifier and Type | Method and Description |
---|---|
DiscountedPrice |
PriceLike.getDiscounted()
Supplies a discount if there is any.
|
DiscountedPrice |
Price.getDiscounted() |
DiscountedPrice |
PriceDraftBuilder.getDiscounted() |
DiscountedPrice |
PriceDraftDsl.getDiscounted() |
DiscountedPrice |
PriceDraft.getDiscounted() |
DiscountedPrice |
ScopedPrice.getDiscounted() |
Modifier and Type | Method and Description |
---|---|
PriceDraftBuilder |
PriceDraftBuilder.discounted(DiscountedPrice discounted) |
PriceBuilder |
PriceBuilder.discounted(DiscountedPrice discounted)
Sets the
discounted property of this builder. |
default Price |
Price.withDiscounted(DiscountedPrice discounted) |
PriceDraftDsl |
PriceDraftDsl.withDiscounted(DiscountedPrice discounted) |
Modifier and Type | Method and Description |
---|---|
DiscountedPrice |
SetDiscountedPrice.getDiscounted() |
Modifier and Type | Method and Description |
---|---|
static SetDiscountedPrice |
SetDiscountedPrice.of(String priceId,
DiscountedPrice discounted) |
static SetDiscountedPrice |
SetDiscountedPrice.of(String priceId,
DiscountedPrice discounted,
Boolean staged) |
Modifier and Type | Method and Description |
---|---|
DiscountedPrice |
ProductPriceDiscountsSetMessage.getDiscounted() |
DiscountedPrice |
ProductPriceExternalDiscountSetMessage.getDiscounted() |
DiscountedPrice |
ProductPriceDiscountUpdate.getDiscounted() |