public class AbstractDiscountRowModel extends PDTRowModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
ABSOLUTE
Generated constant - Attribute key of
AbstractDiscountRow.absolute attribute defined at extension europe1. |
static String |
CURRENCY
Generated constant - Attribute key of
AbstractDiscountRow.currency attribute defined at extension europe1. |
static String |
DISCOUNT
Generated constant - Attribute key of
AbstractDiscountRow.discount attribute defined at extension europe1. |
static String |
DISCOUNTSTRING
Generated constant - Attribute key of
AbstractDiscountRow.discountString attribute defined at extension europe1. |
static String |
VALUE
Generated constant - Attribute key of
AbstractDiscountRow.value attribute defined at extension europe1. |
DATERANGE, ENDTIME, PG, PRODUCT, PRODUCTID, PRODUCTMATCHQUALIFIER, STARTTIME, UG, USER, USERMATCHQUALIFIER_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
AbstractDiscountRowModel()
Generated constructor - Default constructor for generic creation.
|
AbstractDiscountRowModel(DiscountModel _discount)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
AbstractDiscountRowModel(DiscountModel _discount,
ItemModel _owner,
ProductDiscountGroup _pg,
ProductModel _product,
String _productId)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
AbstractDiscountRowModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getAbsolute()
Generated method - Getter of the
AbstractDiscountRow.absolute dynamic attribute defined at extension europe1. |
CurrencyModel |
getCurrency()
Generated method - Getter of the
AbstractDiscountRow.currency attribute defined at extension europe1. |
DiscountModel |
getDiscount()
Generated method - Getter of the
AbstractDiscountRow.discount attribute defined at extension europe1. |
String |
getDiscountString()
Generated method - Getter of the
AbstractDiscountRow.discountString dynamic attribute defined at extension europe1. |
Double |
getValue()
Generated method - Getter of the
AbstractDiscountRow.value attribute defined at extension europe1. |
void |
setCurrency(CurrencyModel value)
Generated method - Setter of
AbstractDiscountRow.currency attribute defined at extension europe1. |
void |
setDiscount(DiscountModel value)
Generated method - Initial setter of
AbstractDiscountRow.discount attribute defined at extension europe1. |
void |
setPg(HybrisEnumValue value)
Generated method - Initial setter of
PDTRow.pg attribute defined at extension europe1 and redeclared at extension europe1. |
void |
setValue(Double value)
Generated method - Setter of
AbstractDiscountRow.value attribute defined at extension europe1. |
getDateRange, getEndTime, getPg, getProduct, getProductId, getProductMatchQualifier, getStartTime, getUg, getUser, getUserMatchQualifier, setDateRange, setEndTime, setProduct, setProductId, setProductMatchQualifier, setStartTime, setUg, setUser, setUserMatchQualifiergetComments, getCreationtime, getModifiedtime, getOwner, 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 String _TYPECODE
public static final String CURRENCY
AbstractDiscountRow.currency attribute defined at extension europe1.public static final String DISCOUNT
AbstractDiscountRow.discount attribute defined at extension europe1.public static final String ABSOLUTE
AbstractDiscountRow.absolute attribute defined at extension europe1.public static final String VALUE
AbstractDiscountRow.value attribute defined at extension europe1.public static final String DISCOUNTSTRING
AbstractDiscountRow.discountString attribute defined at extension europe1.public AbstractDiscountRowModel()
public AbstractDiscountRowModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public AbstractDiscountRowModel(DiscountModel _discount)
_discount - initial attribute declared by type AbstractDiscountRow at extension europe1@Deprecated public AbstractDiscountRowModel(DiscountModel _discount, ItemModel _owner, ProductDiscountGroup _pg, ProductModel _product, String _productId)
_discount - initial attribute declared by type AbstractDiscountRow at extension europe1_owner - initial attribute declared by type Item at extension core_pg - initial attribute declared by type AbstractDiscountRow at extension europe1_product - initial attribute declared by type PDTRow at extension europe1_productId - initial attribute declared by type PDTRow at extension europe1@Accessor(qualifier="absolute", type=GETTER) public Boolean getAbsolute()
AbstractDiscountRow.absolute dynamic attribute defined at extension europe1.@Accessor(qualifier="currency", type=GETTER) public CurrencyModel getCurrency()
AbstractDiscountRow.currency attribute defined at extension europe1.@Accessor(qualifier="discount", type=GETTER) public DiscountModel getDiscount()
AbstractDiscountRow.discount attribute defined at extension europe1.@Accessor(qualifier="discountString", type=GETTER) public String getDiscountString()
AbstractDiscountRow.discountString dynamic attribute defined at extension europe1.@Accessor(qualifier="value", type=GETTER) public Double getValue()
AbstractDiscountRow.value attribute defined at extension europe1.@Accessor(qualifier="currency", type=SETTER) public void setCurrency(CurrencyModel value)
AbstractDiscountRow.currency attribute defined at extension europe1.value - the currency@Accessor(qualifier="discount", type=SETTER) public void setDiscount(DiscountModel value)
AbstractDiscountRow.discount attribute defined at extension europe1. Can only be used at creation of model - before first save.value - the discount@Accessor(qualifier="pg", type=SETTER) public void setPg(HybrisEnumValue value)
PDTRow.pg attribute defined at extension europe1 and redeclared at extension europe1. Can only be used at creation of model - before first save. Will only accept values of type ProductDiscountGroup.setPg in class PDTRowModelvalue - the pgCopyright © 2017 SAP SE. All Rights Reserved.