public interface PriceLike extends Custom
Price
and ScopedPrice
.Modifier and Type | Method and Description |
---|---|
Reference<Channel> |
getChannel() |
com.neovisionaries.i18n.CountryCode |
getCountry() |
CustomFields |
getCustom() |
Reference<CustomerGroup> |
getCustomerGroup() |
DiscountedPrice |
getDiscounted()
Supplies a discount if there is any.
|
String |
getId()
The unique ID of this price.
|
ZonedDateTime |
getValidFrom() |
ZonedDateTime |
getValidUntil() |
javax.money.MonetaryAmount |
getValue() |
javax.money.MonetaryAmount getValue()
@Nullable com.neovisionaries.i18n.CountryCode getCountry()
@Nullable Reference<CustomerGroup> getCustomerGroup()
@Nullable DiscountedPrice getDiscounted()
@Nullable ZonedDateTime getValidFrom()
@Nullable ZonedDateTime getValidUntil()
@Nullable CustomFields getCustom()