public class OrderRestrictionModel extends RestrictionModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
CURRENCY
Generated constant - Attribute key of
OrderRestriction.currency attribute defined at extension voucher. |
static java.lang.String |
NET
Generated constant - Attribute key of
OrderRestriction.net attribute defined at extension voucher. |
static java.lang.String |
TOTAL
Generated constant - Attribute key of
OrderRestriction.total attribute defined at extension voucher. |
static java.lang.String |
VALUEOFGOODSONLY
Generated constant - Attribute key of
OrderRestriction.valueofgoodsonly attribute defined at extension voucher. |
_VOUCHERRESTRICTIONSRELATION, DESCRIPTION, POSITIVE, RESTRICTIONTYPE, VIOLATIONMESSAGE, VOUCHER, VOUCHERPOS_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
OrderRestrictionModel()
Generated constructor - Default constructor for generic creation.
|
OrderRestrictionModel(CurrencyModel _currency,
java.lang.Double _total,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
OrderRestrictionModel(CurrencyModel _currency,
ItemModel _owner,
java.lang.Double _total,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
OrderRestrictionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
CurrencyModel |
getCurrency()
Generated method - Getter of the
OrderRestriction.currency attribute defined at extension voucher. |
java.lang.Boolean |
getNet()
Generated method - Getter of the
OrderRestriction.net attribute defined at extension voucher. |
java.lang.Double |
getTotal()
Generated method - Getter of the
OrderRestriction.total attribute defined at extension voucher. |
java.lang.Boolean |
getValueofgoodsonly()
Generated method - Getter of the
OrderRestriction.valueofgoodsonly attribute defined at extension voucher. |
void |
setCurrency(CurrencyModel value)
Generated method - Setter of
OrderRestriction.currency attribute defined at extension voucher. |
void |
setNet(java.lang.Boolean value)
Generated method - Setter of
OrderRestriction.net attribute defined at extension voucher. |
void |
setTotal(java.lang.Double value)
Generated method - Setter of
OrderRestriction.total attribute defined at extension voucher. |
void |
setValueofgoodsonly(java.lang.Boolean value)
Generated method - Setter of
OrderRestriction.valueofgoodsonly attribute defined at extension voucher. |
getDescription, getDescription, getPositive, getRestrictionType, getRestrictionType, getViolationMessage, getViolationMessage, getVoucher, setDescription, setDescription, setPositive, setViolationMessage, setViolationMessage, setVouchergetComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerequals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplacepublic static final java.lang.String _TYPECODE
public static final java.lang.String TOTAL
OrderRestriction.total attribute defined at extension voucher.public static final java.lang.String CURRENCY
OrderRestriction.currency attribute defined at extension voucher.public static final java.lang.String NET
OrderRestriction.net attribute defined at extension voucher.public static final java.lang.String VALUEOFGOODSONLY
OrderRestriction.valueofgoodsonly attribute defined at extension voucher.public OrderRestrictionModel()
public OrderRestrictionModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public OrderRestrictionModel(CurrencyModel _currency, java.lang.Double _total, VoucherModel _voucher)
_currency - initial attribute declared by type OrderRestriction at extension voucher_total - initial attribute declared by type OrderRestriction at extension voucher_voucher - initial attribute declared by type Restriction at extension voucher@Deprecated public OrderRestrictionModel(CurrencyModel _currency, ItemModel _owner, java.lang.Double _total, VoucherModel _voucher)
_currency - initial attribute declared by type OrderRestriction at extension voucher_owner - initial attribute declared by type Item at extension core_total - initial attribute declared by type OrderRestriction at extension voucher_voucher - initial attribute declared by type Restriction at extension voucher@Accessor(qualifier="currency", type=GETTER) public CurrencyModel getCurrency()
OrderRestriction.currency attribute defined at extension voucher.@Accessor(qualifier="net", type=GETTER) public java.lang.Boolean getNet()
OrderRestriction.net attribute defined at extension voucher.@Accessor(qualifier="total", type=GETTER) public java.lang.Double getTotal()
OrderRestriction.total attribute defined at extension voucher.@Accessor(qualifier="valueofgoodsonly", type=GETTER) public java.lang.Boolean getValueofgoodsonly()
OrderRestriction.valueofgoodsonly attribute defined at extension voucher.@Accessor(qualifier="currency", type=SETTER) public void setCurrency(CurrencyModel value)
OrderRestriction.currency attribute defined at extension voucher.value - the currency - the currency of the total sum of an order for which the given voucher is valid.@Accessor(qualifier="net", type=SETTER) public void setNet(java.lang.Boolean value)
OrderRestriction.net attribute defined at extension voucher.value - the net - Specifies if total sum of an order is consulted inclusive or exclusive VAT.
Default is true (exclusive VAT).@Accessor(qualifier="total", type=SETTER) public void setTotal(java.lang.Double value)
OrderRestriction.total attribute defined at extension voucher.value - the total - the total sum of an order for which the given voucher is valid.@Accessor(qualifier="valueofgoodsonly", type=SETTER) public void setValueofgoodsonly(java.lang.Boolean value)
OrderRestriction.valueofgoodsonly attribute defined at extension voucher.value - the valueofgoodsonly - Specifies if total sum of an order is consulted inclusive or exclusive shipping and payment costs.
Default is true (exclusive shipping costs).Copyright © 2018 SAP SE. All Rights Reserved.