public class CouponRedemptionModel extends ItemModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
COUPON
Generated constant - Attribute key of
CouponRedemption.coupon attribute defined at extension couponservices. |
static java.lang.String |
COUPONCODE
Generated constant - Attribute key of
CouponRedemption.couponCode attribute defined at extension couponservices. |
static java.lang.String |
ORDER
Generated constant - Attribute key of
CouponRedemption.order attribute defined at extension couponservices. |
static java.lang.String |
USER
Generated constant - Attribute key of
CouponRedemption.user attribute defined at extension couponservices. |
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
CouponRedemptionModel()
Generated constructor - Default constructor for generic creation.
|
CouponRedemptionModel(AbstractCouponModel _coupon,
java.lang.String _couponCode)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
CouponRedemptionModel(AbstractCouponModel _coupon,
java.lang.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. |
java.lang.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(java.lang.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, 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 COUPONCODE
CouponRedemption.couponCode attribute defined at extension couponservices.public static final java.lang.String COUPON
CouponRedemption.coupon attribute defined at extension couponservices.public static final java.lang.String ORDER
CouponRedemption.order attribute defined at extension couponservices.public static final java.lang.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, java.lang.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, java.lang.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 java.lang.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(java.lang.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 © 2018 SAP SE. All Rights Reserved.