public class RegularCustomerOrderTotalRestrictionModel extends RestrictionModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
ALLORDERSTOTAL
Generated constant - Attribute key of
RegularCustomerOrderTotalRestriction.allOrdersTotal attribute defined at extension voucher. |
static java.lang.String |
CURRENCY
Generated constant - Attribute key of
RegularCustomerOrderTotalRestriction.currency attribute defined at extension voucher. |
static java.lang.String |
NET
Generated constant - Attribute key of
RegularCustomerOrderTotalRestriction.net attribute defined at extension voucher. |
static java.lang.String |
VALUEOFGOODSONLY
Generated constant - Attribute key of
RegularCustomerOrderTotalRestriction.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 |
|---|
RegularCustomerOrderTotalRestrictionModel()
Generated constructor - Default constructor for generic creation.
|
RegularCustomerOrderTotalRestrictionModel(java.lang.Double _allOrdersTotal,
CurrencyModel _currency,
ItemModel _owner,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
RegularCustomerOrderTotalRestrictionModel(java.lang.Double _allOrdersTotal,
CurrencyModel _currency,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
RegularCustomerOrderTotalRestrictionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Double |
getAllOrdersTotal()
Generated method - Getter of the
RegularCustomerOrderTotalRestriction.allOrdersTotal attribute defined at extension voucher. |
CurrencyModel |
getCurrency()
Generated method - Getter of the
RegularCustomerOrderTotalRestriction.currency attribute defined at extension voucher. |
java.lang.Boolean |
getNet()
Generated method - Getter of the
RegularCustomerOrderTotalRestriction.net attribute defined at extension voucher. |
java.lang.Boolean |
getValueofgoodsonly()
Generated method - Getter of the
RegularCustomerOrderTotalRestriction.valueofgoodsonly attribute defined at extension voucher. |
void |
setAllOrdersTotal(java.lang.Double value)
Generated method - Setter of
RegularCustomerOrderTotalRestriction.allOrdersTotal attribute defined at extension voucher. |
void |
setCurrency(CurrencyModel value)
Generated method - Setter of
RegularCustomerOrderTotalRestriction.currency attribute defined at extension voucher. |
void |
setNet(java.lang.Boolean value)
Generated method - Setter of
RegularCustomerOrderTotalRestriction.net attribute defined at extension voucher. |
void |
setValueofgoodsonly(java.lang.Boolean value)
Generated method - Setter of
RegularCustomerOrderTotalRestriction.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 ALLORDERSTOTAL
RegularCustomerOrderTotalRestriction.allOrdersTotal attribute defined at extension voucher.public static final java.lang.String CURRENCY
RegularCustomerOrderTotalRestriction.currency attribute defined at extension voucher.public static final java.lang.String NET
RegularCustomerOrderTotalRestriction.net attribute defined at extension voucher.public static final java.lang.String VALUEOFGOODSONLY
RegularCustomerOrderTotalRestriction.valueofgoodsonly attribute defined at extension voucher.public RegularCustomerOrderTotalRestrictionModel()
public RegularCustomerOrderTotalRestrictionModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated
public RegularCustomerOrderTotalRestrictionModel(java.lang.Double _allOrdersTotal,
CurrencyModel _currency,
VoucherModel _voucher)
_allOrdersTotal - initial attribute declared by type RegularCustomerOrderTotalRestriction at extension voucher_currency - initial attribute declared by type RegularCustomerOrderTotalRestriction at extension voucher_voucher - initial attribute declared by type Restriction at extension voucher@Deprecated
public RegularCustomerOrderTotalRestrictionModel(java.lang.Double _allOrdersTotal,
CurrencyModel _currency,
ItemModel _owner,
VoucherModel _voucher)
_allOrdersTotal - initial attribute declared by type RegularCustomerOrderTotalRestriction at extension voucher_currency - initial attribute declared by type RegularCustomerOrderTotalRestriction at extension voucher_owner - initial attribute declared by type Item at extension core_voucher - initial attribute declared by type Restriction at extension voucher@Accessor(qualifier="allOrdersTotal", type=GETTER) public java.lang.Double getAllOrdersTotal()
RegularCustomerOrderTotalRestriction.allOrdersTotal attribute defined at extension voucher.@Accessor(qualifier="currency", type=GETTER) public CurrencyModel getCurrency()
RegularCustomerOrderTotalRestriction.currency attribute defined at extension voucher.@Accessor(qualifier="net", type=GETTER) public java.lang.Boolean getNet()
RegularCustomerOrderTotalRestriction.net attribute defined at extension voucher.@Accessor(qualifier="valueofgoodsonly", type=GETTER) public java.lang.Boolean getValueofgoodsonly()
RegularCustomerOrderTotalRestriction.valueofgoodsonly attribute defined at extension voucher.@Accessor(qualifier="allOrdersTotal", type=SETTER) public void setAllOrdersTotal(java.lang.Double value)
RegularCustomerOrderTotalRestriction.allOrdersTotal attribute defined at extension voucher.value - the allOrdersTotal - restrict to customers who ordered a total of x or greater in
their lifetime.@Accessor(qualifier="currency", type=SETTER) public void setCurrency(CurrencyModel value)
RegularCustomerOrderTotalRestriction.currency attribute defined at extension voucher.value - the currency - the currency associated with the orderTotalSum.@Accessor(qualifier="net", type=SETTER) public void setNet(java.lang.Boolean value)
RegularCustomerOrderTotalRestriction.net attribute defined at extension voucher.value - the net - Specifies if total sum of all existing orders is consulted
inclusive or exclusive VAT. Default is true (exclusive VAT).@Accessor(qualifier="valueofgoodsonly", type=SETTER) public void setValueofgoodsonly(java.lang.Boolean value)
RegularCustomerOrderTotalRestriction.valueofgoodsonly attribute defined at extension voucher.value - the valueofgoodsonly - Specifies if total sum of all orders is consulted inclusive or
exclusive shipping and payment costs. Default is true (exclusive shipping
and payment costs).Copyright © 2018 SAP SE. All Rights Reserved.