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 Detail

      • createPaymentInfoForUser

        PaymentInfoModel createPaymentInfoForUser​(UserModel user,
                                                  java.lang.String code)
        Creates a new, not persisted PaymentInfo for the given user with a given code.
        Parameters:
        user - creates an payment info for this UserModel
        code - payment info code
        Returns:
        a new, not persisted PaymentInfo
        Throws:
        java.lang.IllegalArgumentException - if the given user or code is null