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:
Serializable
- Direct Known Subclasses:
AdvancePaymentInfoModel,CreditCardPaymentInfoModel,DebitPaymentInfoModel,InvoicePaymentInfoModel,TuaDirectDebitPaymentInfoModel
Generated model class for type PaymentInfo first defined at extension core.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated relation code constant for relationUser2PaymentInfosdefining source attributeuserin extensioncore.static final StringGenerated constant - Attribute key ofPaymentInfo.billingAddressattribute defined at extensionpayment.static final StringGenerated constant - Attribute key ofPaymentInfo.cartToOrderCronJobattribute defined at extensionbasecommerce.static final StringGenerated constant - Attribute key ofPaymentInfo.codeattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofPaymentInfo.duplicateattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofPaymentInfo.originalattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofPaymentInfo.savedattribute defined at extensioncommerceservices.static final StringGenerated constant - Attribute key ofPaymentInfo.userattribute defined at extensioncore.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.PaymentInfoModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextPaymentInfoModel(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(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
Modifier and TypeMethodDescriptionGenerated method - Getter of thePaymentInfo.billingAddressattribute defined at extensionpayment.Generated method - Getter of thePaymentInfo.cartToOrderCronJobattribute defined at extensionbasecommerce.getCode()Generated method - Getter of thePaymentInfo.codeattribute defined at extensioncore.Generated method - Getter of thePaymentInfo.duplicateattribute defined at extensioncore.Generated method - Getter of thePaymentInfo.originalattribute defined at extensioncore.getUser()Generated method - Getter of thePaymentInfo.userattribute defined at extensioncore.booleanisSaved()Generated method - Getter of thePaymentInfo.savedattribute defined at extensioncommerceservices.voidsetBillingAddress(AddressModel value) Generated method - Setter ofPaymentInfo.billingAddressattribute defined at extensionpayment.voidGenerated method - Setter ofPaymentInfo.cartToOrderCronJobattribute defined at extensionbasecommerce.voidGenerated method - Setter ofPaymentInfo.codeattribute defined at extensioncore.voidsetDuplicate(Boolean value) Generated method - Setter ofPaymentInfo.duplicateattribute defined at extensioncore.voidsetOriginal(ItemModel value) Generated method - Initial setter ofPaymentInfo.originalattribute defined at extensioncore.voidsetSaved(boolean value) Generated method - Setter ofPaymentInfo.savedattribute defined at extensioncommerceservices.voidGenerated method - Initial setter ofPaymentInfo.userattribute defined at extensioncore.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_USER2PAYMENTINFOS
Generated relation code constant for relationUser2PaymentInfosdefining source attributeuserin extensioncore.- See Also:
-
ORIGINAL
Generated constant - Attribute key ofPaymentInfo.originalattribute defined at extensioncore.- See Also:
-
CODE
Generated constant - Attribute key ofPaymentInfo.codeattribute defined at extensioncore.- See Also:
-
DUPLICATE
Generated constant - Attribute key ofPaymentInfo.duplicateattribute defined at extensioncore.- See Also:
-
USER
Generated constant - Attribute key ofPaymentInfo.userattribute defined at extensioncore.- See Also:
-
CARTTOORDERCRONJOB
Generated constant - Attribute key ofPaymentInfo.cartToOrderCronJobattribute defined at extensionbasecommerce.- See Also:
-
BILLINGADDRESS
Generated constant - Attribute key ofPaymentInfo.billingAddressattribute defined at extensionpayment.- See Also:
-
SAVED
Generated constant - Attribute key ofPaymentInfo.savedattribute defined at extensioncommerceservices.- See Also:
-
-
Constructor Details
-
PaymentInfoModel
public PaymentInfoModel()Generated constructor - Default constructor for generic creation. -
PaymentInfoModel
public PaymentInfoModel(de.hybris.platform.servicelayer.model.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, 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 typePaymentInfoat extensioncore_user- initial attribute declared by typePaymentInfoat extensioncore
-
PaymentInfoModel
@Deprecated(since="4.1.1", forRemoval=true) public PaymentInfoModel(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 typePaymentInfoat extensioncore_original- initial attribute declared by typePaymentInfoat extensioncore_owner- initial attribute declared by typeItemat extensioncore_user- initial attribute declared by typePaymentInfoat extensioncore
-
-
Method Details
-
getBillingAddress
Generated method - Getter of thePaymentInfo.billingAddressattribute defined at extensionpayment.- Returns:
- the billingAddress
-
getCartToOrderCronJob
@Accessor(qualifier="cartToOrderCronJob", type=GETTER) public Collection<CartToOrderCronJobModel> getCartToOrderCronJob()Generated method - Getter of thePaymentInfo.cartToOrderCronJobattribute defined at extensionbasecommerce. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the cartToOrderCronJob
-
getCode
Generated method - Getter of thePaymentInfo.codeattribute defined at extensioncore.- Returns:
- the code
-
getDuplicate
Generated method - Getter of thePaymentInfo.duplicateattribute defined at extensioncore.- Returns:
- the duplicate
-
getOriginal
Generated method - Getter of thePaymentInfo.originalattribute defined at extensioncore.- Returns:
- the original
-
getUser
Generated method - Getter of thePaymentInfo.userattribute defined at extensioncore.- Returns:
- the user
-
isSaved
@Accessor(qualifier="saved", type=GETTER) public boolean isSaved()Generated method - Getter of thePaymentInfo.savedattribute 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.billingAddressattribute defined at extensionpayment.- Parameters:
value- the billingAddress
-
setCartToOrderCronJob
@Accessor(qualifier="cartToOrderCronJob", type=SETTER) public void setCartToOrderCronJob(Collection<CartToOrderCronJobModel> value) Generated method - Setter ofPaymentInfo.cartToOrderCronJobattribute defined at extensionbasecommerce.- Parameters:
value- the cartToOrderCronJob
-
setCode
Generated method - Setter ofPaymentInfo.codeattribute defined at extensioncore.- Parameters:
value- the code
-
setDuplicate
Generated method - Setter ofPaymentInfo.duplicateattribute defined at extensioncore.- Parameters:
value- the duplicate
-
setOriginal
Generated method - Initial setter ofPaymentInfo.originalattribute 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.savedattribute defined at extensioncommerceservices.- Parameters:
value- the saved - Indicates the item is saved for reuse.
-
setUser
Generated method - Initial setter ofPaymentInfo.userattribute defined at extensioncore. Can only be used at creation of model - before first save.- Parameters:
value- the user
-