Package de.hybris.platform.order
Interface PaymentInfoService
-
- All Known Implementing Classes:
DefaultPaymentInfoService
public interface PaymentInfoService
Service around thePaymentInfoModel
.PaymentInfoModel
represents the information about a customers chosen payment mode, like credit card informations or debitentries.- Spring Bean ID:
- paymentInfoService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PaymentInfoModel
createPaymentInfoForUser(UserModel user, java.lang.String code)
Creates a new, not persistedPaymentInfo
for the given user with a given code.
-
-
-
Method Detail
-
createPaymentInfoForUser
PaymentInfoModel createPaymentInfoForUser(UserModel user, java.lang.String code)
Creates a new, not persistedPaymentInfo
for the given user with a given code.- Parameters:
user
- creates an payment info for thisUserModel
code
- payment info code- Returns:
- a new, not persisted
PaymentInfo
- Throws:
java.lang.IllegalArgumentException
- if the given user or code isnull
-
-