public interface PriceDraft extends CustomDraft
Modifier and Type | Method and Description |
---|---|
ResourceIdentifier<Channel> |
getChannel() |
com.neovisionaries.i18n.CountryCode |
getCountry() |
CustomFieldsDraft |
getCustom() |
ResourceIdentifier<CustomerGroup> |
getCustomerGroup() |
DiscountedPrice |
getDiscounted() |
List<PriceTier> |
getTiers() |
ZonedDateTime |
getValidFrom() |
ZonedDateTime |
getValidUntil() |
javax.money.MonetaryAmount |
getValue() |
static PriceDraftDsl |
of(BigDecimal amount,
javax.money.CurrencyUnit currencyUnit) |
static PriceDraftDsl |
of(javax.money.MonetaryAmount money) |
static PriceDraftDsl |
of(Price template) |
javax.money.MonetaryAmount getValue()
@Nullable com.neovisionaries.i18n.CountryCode getCountry()
@Nullable ResourceIdentifier<CustomerGroup> getCustomerGroup()
@Nullable ResourceIdentifier<Channel> getChannel()
@Nullable ZonedDateTime getValidFrom()
@Nullable ZonedDateTime getValidUntil()
CustomFieldsDraft getCustom()
getCustom
in interface CustomDraft
@Nullable DiscountedPrice getDiscounted()
static PriceDraftDsl of(javax.money.MonetaryAmount money)
static PriceDraftDsl of(BigDecimal amount, javax.money.CurrencyUnit currencyUnit)
static PriceDraftDsl of(Price template)