Package de.hybris.platform.order
Interface PaymentInfoService
- All Known Implementing Classes:
DefaultPaymentInfoService
public interface PaymentInfoService
Service around the
PaymentInfoModel. PaymentInfoModel represents the information about a customers
chosen payment mode, like credit card informations or debitentries.- Spring Bean ID:
- paymentInfoService
-
Method Summary
Modifier and TypeMethodDescriptioncreatePaymentInfoForUser(UserModel user, String code) Creates a new, not persistedPaymentInfofor the given user with a given code.
-
Method Details
-
createPaymentInfoForUser
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:
IllegalArgumentException- if the given user or code isnull
-