Class PaymentInfoModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.core.model.order.payment.PaymentInfoModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AdvancePaymentInfoModel
,ChinesePaymentInfoModel
,CreditCardPaymentInfoModel
,DebitPaymentInfoModel
,InvoicePaymentInfoModel
public class PaymentInfoModel extends ItemModel
Generated model class for type PaymentInfo first defined at extension core.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
_USER2PAYMENTINFOS
Generated relation code constant for relationUser2PaymentInfos
defining source attributeuser
in extensioncore
.static java.lang.String
BILLINGADDRESS
Generated constant - Attribute key ofPaymentInfo.billingAddress
attribute defined at extensionpayment
.static java.lang.String
CARTTOORDERCRONJOB
Generated constant - Attribute key ofPaymentInfo.cartToOrderCronJob
attribute defined at extensionbasecommerce
.static java.lang.String
CODE
Generated constant - Attribute key ofPaymentInfo.code
attribute defined at extensioncore
.static java.lang.String
DUPLICATE
Generated constant - Attribute key ofPaymentInfo.duplicate
attribute defined at extensioncore
.static java.lang.String
ORIGINAL
Generated constant - Attribute key ofPaymentInfo.original
attribute defined at extensioncore
.static java.lang.String
SAVED
Generated constant - Attribute key ofPaymentInfo.saved
attribute defined at extensioncommerceservices
.static java.lang.String
USER
Generated constant - Attribute key ofPaymentInfo.user
attribute defined at extensioncore
.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description PaymentInfoModel()
Generated constructor - Default constructor for generic creation.PaymentInfoModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing contextPaymentInfoModel(java.lang.String _code, ItemModel _original, ItemModel _owner, UserModel _user)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersPaymentInfoModel(java.lang.String _code, UserModel _user)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddressModel
getBillingAddress()
Generated method - Getter of thePaymentInfo.billingAddress
attribute defined at extensionpayment
.java.util.Collection<CartToOrderCronJobModel>
getCartToOrderCronJob()
Generated method - Getter of thePaymentInfo.cartToOrderCronJob
attribute defined at extensionbasecommerce
.java.lang.String
getCode()
Generated method - Getter of thePaymentInfo.code
attribute defined at extensioncore
.java.lang.Boolean
getDuplicate()
Generated method - Getter of thePaymentInfo.duplicate
attribute defined at extensioncore
.ItemModel
getOriginal()
Generated method - Getter of thePaymentInfo.original
attribute defined at extensioncore
.UserModel
getUser()
Generated method - Getter of thePaymentInfo.user
attribute defined at extensioncore
.boolean
isSaved()
Generated method - Getter of thePaymentInfo.saved
attribute defined at extensioncommerceservices
.void
setBillingAddress(AddressModel value)
Generated method - Setter ofPaymentInfo.billingAddress
attribute defined at extensionpayment
.void
setCartToOrderCronJob(java.util.Collection<CartToOrderCronJobModel> value)
Generated method - Setter ofPaymentInfo.cartToOrderCronJob
attribute defined at extensionbasecommerce
.void
setCode(java.lang.String value)
Generated method - Setter ofPaymentInfo.code
attribute defined at extensioncore
.void
setDuplicate(java.lang.Boolean value)
Generated method - Setter ofPaymentInfo.duplicate
attribute defined at extensioncore
.void
setOriginal(ItemModel value)
Generated method - Initial setter ofPaymentInfo.original
attribute defined at extensioncore
.void
setSaved(boolean value)
Generated method - Setter ofPaymentInfo.saved
attribute defined at extensioncommerceservices
.void
setUser(UserModel value)
Generated method - Initial setter ofPaymentInfo.user
attribute defined at extensioncore
.-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, 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, writeReplace
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
_USER2PAYMENTINFOS
public static final java.lang.String _USER2PAYMENTINFOS
Generated relation code constant for relationUser2PaymentInfos
defining source attributeuser
in extensioncore
.- See Also:
- Constant Field Values
-
ORIGINAL
public static final java.lang.String ORIGINAL
Generated constant - Attribute key ofPaymentInfo.original
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofPaymentInfo.code
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
DUPLICATE
public static final java.lang.String DUPLICATE
Generated constant - Attribute key ofPaymentInfo.duplicate
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
USER
public static final java.lang.String USER
Generated constant - Attribute key ofPaymentInfo.user
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
CARTTOORDERCRONJOB
public static final java.lang.String CARTTOORDERCRONJOB
Generated constant - Attribute key ofPaymentInfo.cartToOrderCronJob
attribute defined at extensionbasecommerce
.- See Also:
- Constant Field Values
-
BILLINGADDRESS
public static final java.lang.String BILLINGADDRESS
Generated constant - Attribute key ofPaymentInfo.billingAddress
attribute defined at extensionpayment
.- See Also:
- Constant Field Values
-
SAVED
public static final java.lang.String SAVED
Generated constant - Attribute key ofPaymentInfo.saved
attribute defined at extensioncommerceservices
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PaymentInfoModel
public PaymentInfoModel()
Generated constructor - Default constructor for generic creation.
-
PaymentInfoModel
public PaymentInfoModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx
- the model context to be injected, must not be null
-
PaymentInfoModel
@Deprecated(since="4.1.1", forRemoval=true) public PaymentInfoModel(java.lang.String _code, UserModel _user)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_code
- initial attribute declared by typePaymentInfo
at extensioncore
_user
- initial attribute declared by typePaymentInfo
at extensioncore
-
PaymentInfoModel
@Deprecated(since="4.1.1", forRemoval=true) public PaymentInfoModel(java.lang.String _code, ItemModel _original, ItemModel _owner, UserModel _user)
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_code
- initial attribute declared by typePaymentInfo
at extensioncore
_original
- initial attribute declared by typePaymentInfo
at extensioncore
_owner
- initial attribute declared by typeItem
at extensioncore
_user
- initial attribute declared by typePaymentInfo
at extensioncore
-
-
Method Detail
-
getBillingAddress
@Accessor(qualifier="billingAddress", type=GETTER) public AddressModel getBillingAddress()
Generated method - Getter of thePaymentInfo.billingAddress
attribute defined at extensionpayment
.- Returns:
- the billingAddress
-
getCartToOrderCronJob
@Accessor(qualifier="cartToOrderCronJob", type=GETTER) public java.util.Collection<CartToOrderCronJobModel> getCartToOrderCronJob()
Generated method - Getter of thePaymentInfo.cartToOrderCronJob
attribute defined at extensionbasecommerce
. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the cartToOrderCronJob
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of thePaymentInfo.code
attribute defined at extensioncore
.- Returns:
- the code
-
getDuplicate
@Accessor(qualifier="duplicate", type=GETTER) public java.lang.Boolean getDuplicate()
Generated method - Getter of thePaymentInfo.duplicate
attribute defined at extensioncore
.- Returns:
- the duplicate
-
getOriginal
@Accessor(qualifier="original", type=GETTER) public ItemModel getOriginal()
Generated method - Getter of thePaymentInfo.original
attribute defined at extensioncore
.- Returns:
- the original
-
getUser
@Accessor(qualifier="user", type=GETTER) public UserModel getUser()
Generated method - Getter of thePaymentInfo.user
attribute defined at extensioncore
.- Returns:
- the user
-
isSaved
@Accessor(qualifier="saved", type=GETTER) public boolean isSaved()
Generated method - Getter of thePaymentInfo.saved
attribute defined at extensioncommerceservices
.- Returns:
- the saved - Indicates the item is saved for reuse.
-
setBillingAddress
@Accessor(qualifier="billingAddress", type=SETTER) public void setBillingAddress(AddressModel value)
Generated method - Setter ofPaymentInfo.billingAddress
attribute defined at extensionpayment
.- Parameters:
value
- the billingAddress
-
setCartToOrderCronJob
@Accessor(qualifier="cartToOrderCronJob", type=SETTER) public void setCartToOrderCronJob(java.util.Collection<CartToOrderCronJobModel> value)
Generated method - Setter ofPaymentInfo.cartToOrderCronJob
attribute defined at extensionbasecommerce
.- Parameters:
value
- the cartToOrderCronJob
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Setter ofPaymentInfo.code
attribute defined at extensioncore
.- Parameters:
value
- the code
-
setDuplicate
@Accessor(qualifier="duplicate", type=SETTER) public void setDuplicate(java.lang.Boolean value)
Generated method - Setter ofPaymentInfo.duplicate
attribute defined at extensioncore
.- Parameters:
value
- the duplicate
-
setOriginal
@Accessor(qualifier="original", type=SETTER) public void setOriginal(ItemModel value)
Generated method - Initial setter ofPaymentInfo.original
attribute defined at extensioncore
. Can only be used at creation of model - before first save.- Parameters:
value
- the original
-
setSaved
@Accessor(qualifier="saved", type=SETTER) public void setSaved(boolean value)
Generated method - Setter ofPaymentInfo.saved
attribute defined at extensioncommerceservices
.- Parameters:
value
- the saved - Indicates the item is saved for reuse.
-
-