Package | Description |
---|---|
io.sphere.sdk.carts |
Provides model classes and builders for carts.
|
io.sphere.sdk.orders |
Provides model classes and builders for orders.
|
io.sphere.sdk.productdiscounts.queries |
Provides types to retrieve the state of 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.errors |
Modifier and Type | Method and Description |
---|---|
Price |
LineItem.getPrice() |
Modifier and Type | Method and Description |
---|---|
static LineItemImportDraftBuilder |
LineItemImportDraftBuilder.of(ProductVariantImportDraft variant,
long quantity,
Price price,
LocalizedString name)
Deprecated.
use LineItemImportDraftBuilder
LineItemImportDraftBuilder.of(ProductVariantImportDraft, long, PriceDraft, LocalizedString) instead. |
Modifier and Type | Method and Description |
---|---|
Price |
MatchingProductDiscountGet.getPrice() |
Modifier and Type | Method and Description |
---|---|
static MatchingProductDiscountGet |
MatchingProductDiscountGet.of(String productId,
Integer variantId,
Boolean staged,
Price price) |
Modifier and Type | Method and Description |
---|---|
Price |
PriceBuilder.build()
Creates a new instance of
Price with the values of this builder. |
Price |
ProductVariant.getPrice()
Optional price from the price selection in the search endpoint.
|
static Price |
Price.of(BigDecimal amount,
javax.money.CurrencyUnit currencyUnit) |
static Price |
Price.of(javax.money.MonetaryAmount money) |
default Price |
Price.withChannel(Referenceable<Channel> channel) |
default Price |
Price.withCountry(com.neovisionaries.i18n.CountryCode country) |
default Price |
Price.withCustomerGroup(Referenceable<CustomerGroup> customerGroup) |
default Price |
Price.withDiscounted(DiscountedPrice discounted) |
default Price |
Price.withId(String id) |
default Price |
Price.withValidFrom(ZonedDateTime validFrom) |
default Price |
Price.withValidUntil(ZonedDateTime validUntil) |
default Price |
Price.withValue(javax.money.MonetaryAmount value) |
Modifier and Type | Method and Description |
---|---|
List<Price> |
ProductVariant.getPrices()
Gets all prices for this product variant.
|
Modifier and Type | Method and Description |
---|---|
default boolean |
Price.equalsIgnoreId(Price price) |
static PriceDraftBuilder |
PriceDraftBuilder.of(Price template) |
static PriceDraftDsl |
PriceDraftDsl.of(Price template) |
static PriceDraftDsl |
PriceDraft.of(Price template) |
static PriceBuilder |
PriceBuilder.of(Price template)
Creates a new object initialized with the fields of the template parameter.
|
Modifier and Type | Method and Description |
---|---|
static RemovePrice |
RemovePrice.of(Price price)
Action to remove a price
|
static RemovePrice |
RemovePrice.of(Price price,
Boolean staged) |
static ChangePrice |
ChangePrice.of(Price oldPrice,
PriceDraft price) |
static ChangePrice |
ChangePrice.of(Price oldPrice,
PriceDraft price,
Boolean staged) |
Modifier and Type | Method and Description |
---|---|
List<Price> |
DuplicatePriceScopeError.getConflictingPrices() |
Modifier and Type | Method and Description |
---|---|
static DuplicatePriceScopeError |
DuplicatePriceScopeError.of(String message,
List<Price> conflictingPrices) |