Package de.hybris.platform.order
Interface PaymentInfoService
-
- All Known Implementing Classes:
DefaultPaymentInfoService
public interface PaymentInfoServiceService around thePaymentInfoModel.PaymentInfoModelrepresents 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 PaymentInfoModelcreatePaymentInfoForUser(UserModel user, java.lang.String code)Creates a new, not persistedPaymentInfofor the given user with a given code.
-
-
-
Method Detail
-
createPaymentInfoForUser
PaymentInfoModel createPaymentInfoForUser(UserModel user, java.lang.String code)
Creates a new, not persistedPaymentInfofor the given user with a given code.- Parameters:
user- creates an payment info for thisUserModelcode- payment info code- Returns:
- a new, not persisted
PaymentInfo - Throws:
java.lang.IllegalArgumentException- if the given user or code isnull
-
-