public class SerialVoucherModel extends VoucherModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
CODES
Generated constant - Attribute key of
SerialVoucher.codes attribute defined at extension voucher. |
_ORDERDISCOUNTRELATION, DESCRIPTION, FREESHIPPING, INVALIDATIONS, RESTRICTIONS, VALUESTRINGABSOLUTE, CODE, CURRENCY, DISCOUNTSTRING, GLOBAL, NAME, ORDERS, PRIORITY, VALUE_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
SerialVoucherModel()
Generated constructor - Default constructor for generic creation.
|
SerialVoucherModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
SerialVoucherModel(java.lang.String _code)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
SerialVoucherModel(java.lang.String _code,
ItemModel _owner)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<MediaModel> |
getCodes()
Generated method - Getter of the
SerialVoucher.codes attribute defined at extension voucher. |
void |
setCodes(java.util.Collection<MediaModel> value)
Generated method - Setter of
SerialVoucher.codes attribute defined at extension voucher. |
getDescription, getDescription, getFreeShipping, getInvalidations, getRestrictions, getValueString, setDescription, setDescription, setFreeShipping, setInvalidations, setRestrictionsgetAbsolute, getCode, getCurrency, getDiscountstring, getDiscountString, getGlobal, getName, getName, getOrders, getPriority, getValue, setCode, setCurrency, setGlobal, setName, setName, setOrders, setPriority, setValuegetComments, 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 CODES
SerialVoucher.codes attribute defined at extension voucher.public SerialVoucherModel()
public SerialVoucherModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public SerialVoucherModel(java.lang.String _code)
_code - initial attribute declared by type Voucher at extension voucher@Deprecated
public SerialVoucherModel(java.lang.String _code,
ItemModel _owner)
_code - initial attribute declared by type Voucher at extension voucher_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="codes", type=GETTER) public java.util.Collection<MediaModel> getCodes()
SerialVoucher.codes attribute defined at extension voucher.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="codes", type=SETTER) public void setCodes(java.util.Collection<MediaModel> value)
SerialVoucher.codes attribute defined at extension voucher.value - the codes - the generated codes of this voucher.Copyright © 2018 SAP SE. All Rights Reserved.