| Modifier and Type | Method and Description |
|---|---|
Reference<Channel> |
getChannel() |
com.neovisionaries.i18n.CountryCode |
getCountry() |
javax.money.MonetaryAmount |
getCurrentValue()
Either the original price value or the discounted value, if it’s available.
|
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() |
@Nullable Reference<Channel> getChannel()
getChannel in interface PriceLike@Nullable com.neovisionaries.i18n.CountryCode getCountry()
getCountry in interface PriceLike@Nullable CustomFields getCustom()
@Nullable Reference<CustomerGroup> getCustomerGroup()
getCustomerGroup in interface PriceLike@Nullable DiscountedPrice getDiscounted()
PriceLikegetDiscounted in interface PriceLike@Nullable String getId()
PriceLike@Nullable ZonedDateTime getValidFrom()
getValidFrom in interface PriceLike@Nullable ZonedDateTime getValidUntil()
getValidUntil in interface PriceLikejavax.money.MonetaryAmount getCurrentValue()