public class CouponRedemptionModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
COUPON
Generated constant - Attribute key of
CouponRedemption.coupon attribute defined at extension couponservices. |
static String |
COUPONCODE
Generated constant - Attribute key of
CouponRedemption.couponCode attribute defined at extension couponservices. |
static String |
ORDER
Generated constant - Attribute key of
CouponRedemption.order attribute defined at extension couponservices. |
static String |
USER
Generated constant - Attribute key of
CouponRedemption.user attribute defined at extension couponservices. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PKLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
CouponRedemptionModel()
Generated constructor - Default constructor for generic creation.
|
CouponRedemptionModel(AbstractCouponModel _coupon,
String _couponCode)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
CouponRedemptionModel(AbstractCouponModel _coupon,
String _couponCode,
ItemModel _owner)
Deprecated.
Since 4.1.1 Please use the default constructor without parameters
|
CouponRedemptionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
AbstractCouponModel |
getCoupon()
Generated method - Getter of the
CouponRedemption.coupon attribute defined at extension couponservices. |
String |
getCouponCode()
Generated method - Getter of the
CouponRedemption.couponCode attribute defined at extension couponservices. |
AbstractOrderModel |
getOrder()
Generated method - Getter of the
CouponRedemption.order attribute defined at extension couponservices. |
UserModel |
getUser()
Generated method - Getter of the
CouponRedemption.user attribute defined at extension couponservices. |
void |
setCoupon(AbstractCouponModel value)
Generated method - Setter of
CouponRedemption.coupon attribute defined at extension couponservices. |
void |
setCouponCode(String value)
Generated method - Setter of
CouponRedemption.couponCode attribute defined at extension couponservices. |
void |
setOrder(AbstractOrderModel value)
Generated method - Setter of
CouponRedemption.order attribute defined at extension couponservices. |
void |
setUser(UserModel value)
Generated method - Setter of
CouponRedemption.user attribute defined at extension couponservices. |
getComments, 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 COUPONCODE
CouponRedemption.couponCode attribute defined at extension couponservices.public static final String COUPON
CouponRedemption.coupon attribute defined at extension couponservices.public static final String ORDER
CouponRedemption.order attribute defined at extension couponservices.public static final String USER
CouponRedemption.user attribute defined at extension couponservices.public CouponRedemptionModel()
public CouponRedemptionModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public CouponRedemptionModel(AbstractCouponModel _coupon, String _couponCode)
_coupon - initial attribute declared by type CouponRedemption at extension couponservices_couponCode - initial attribute declared by type CouponRedemption at extension couponservices@Deprecated public CouponRedemptionModel(AbstractCouponModel _coupon, String _couponCode, ItemModel _owner)
_coupon - initial attribute declared by type CouponRedemption at extension couponservices_couponCode - initial attribute declared by type CouponRedemption at extension couponservices_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="coupon", type=GETTER) public AbstractCouponModel getCoupon()
CouponRedemption.coupon attribute defined at extension couponservices.@Accessor(qualifier="couponCode", type=GETTER) public String getCouponCode()
CouponRedemption.couponCode attribute defined at extension couponservices.@Accessor(qualifier="order", type=GETTER) public AbstractOrderModel getOrder()
CouponRedemption.order attribute defined at extension couponservices.@Accessor(qualifier="user", type=GETTER) public UserModel getUser()
CouponRedemption.user attribute defined at extension couponservices.@Accessor(qualifier="coupon", type=SETTER) public void setCoupon(AbstractCouponModel value)
CouponRedemption.coupon attribute defined at extension couponservices.value - the coupon@Accessor(qualifier="couponCode", type=SETTER) public void setCouponCode(String value)
CouponRedemption.couponCode attribute defined at extension couponservices.value - the couponCode@Accessor(qualifier="order", type=SETTER) public void setOrder(AbstractOrderModel value)
CouponRedemption.order attribute defined at extension couponservices.value - the orderCopyright © 2017 SAP SE. All Rights Reserved.