Package | Description |
---|---|
io.sphere.sdk.orders |
Provides model classes and builders for orders.
|
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.
|
Modifier and Type | Method and Description |
---|---|
PriceDraft |
LineItemImportDraft.getPrice() |
Modifier and Type | Method and Description |
---|---|
List<PriceDraft> |
ProductVariantImportDraft.getPrices() |
Modifier and Type | Method and Description |
---|---|
static LineItemImportDraftBuilder |
LineItemImportDraftBuilder.of(ProductVariantImportDraft variant,
long quantity,
PriceDraft price,
LocalizedString name) |
LineItemImportDraftBuilder |
LineItemImportDraftBuilder.price(PriceDraft price) |
Modifier and Type | Method and Description |
---|---|
ProductVariantImportDraftBuilder |
ProductVariantImportDraftBuilder.prices(List<PriceDraft> prices)
The prices of the variant.
|
Modifier and Type | Class and Description |
---|---|
class |
PriceDraftDsl
Amount that must be paid when buying goods.
|
Modifier and Type | Method and Description |
---|---|
List<PriceDraft> |
ProductVariantDraft.getPrices() |
List<PriceDraft> |
ProductVariantDraftDsl.getPrices() |
Modifier and Type | Method and Description |
---|---|
static PriceDraftBuilder |
PriceDraftBuilder.of(PriceDraft template) |
ProductVariantDraftBuilder |
ProductVariantDraftBuilder.price(PriceDraft price) |
ProductVariantDraftBuilder |
ProductVariantDraftBuilder.prices(PriceDraft... prices) |
Modifier and Type | Method and Description |
---|---|
ProductVariantDraftDsl |
ProductVariantDraftDsl.withPrices(List<PriceDraft> prices) |
Modifier and Type | Method and Description |
---|---|
PriceDraft |
ChangePrice.getPrice() |
PriceDraft |
AddPrice.getPrice() |
Modifier and Type | Method and Description |
---|---|
List<PriceDraft> |
SetPrices.getPrices() |
List<PriceDraft> |
AddVariant.getPrices() |
Modifier and Type | Method and Description |
---|---|
static AddPrice |
AddPrice.of(Integer variantId,
PriceDraft price) |
static ChangePrice |
ChangePrice.of(Price oldPrice,
PriceDraft price) |
static ChangePrice |
ChangePrice.of(Price oldPrice,
PriceDraft price,
Boolean staged) |
static ChangePrice |
ChangePrice.of(String priceId,
PriceDraft price) |
static ChangePrice |
ChangePrice.of(String priceId,
PriceDraft price,
Boolean staged) |
static AddPrice |
AddPrice.ofSku(String sku,
PriceDraft price) |
static AddPrice |
AddPrice.ofSku(String sku,
PriceDraft price,
Boolean staged) |
static AddPrice |
AddPrice.ofVariantId(Integer variantId,
PriceDraft price) |
static AddPrice |
AddPrice.ofVariantId(Integer variantId,
PriceDraft price,
Boolean staged) |
Modifier and Type | Method and Description |
---|---|
static SetPrices |
SetPrices.of(Integer variantId,
List<PriceDraft> prices) |
static AddVariant |
AddVariant.of(List<AttributeDraft> attributes,
List<PriceDraft> prices) |
static AddVariant |
AddVariant.of(List<AttributeDraft> attributes,
List<PriceDraft> prices,
Boolean staged) |
static AddVariant |
AddVariant.of(List<AttributeDraft> attributes,
List<PriceDraft> prices,
String sku) |
static AddVariant |
AddVariant.of(List<AttributeDraft> attributes,
List<PriceDraft> prices,
String sku,
Boolean staged) |
static SetPrices |
SetPrices.ofSku(String sku,
List<PriceDraft> prices) |
static SetPrices |
SetPrices.ofSku(String sku,
List<PriceDraft> prices,
Boolean staged) |
static SetPrices |
SetPrices.ofVariantId(Integer variantId,
List<PriceDraft> prices) |
static SetPrices |
SetPrices.ofVariantId(Integer variantId,
List<PriceDraft> prices,
Boolean staged) |