Class DefaultCreditCardPaymentInfoStrategy

    • Constructor Detail

      • DefaultCreditCardPaymentInfoStrategy

        public DefaultCreditCardPaymentInfoStrategy()
    • Method Detail

      • attachPaymentInfo

        public void attachPaymentInfo​(PaymentTransactionModel paymentTransactionModel,
                                      UserModel userModel,
                                      CardInfo cardInfo,
                                      java.math.BigDecimal amount)
        Attaches PaymentInfo to the assigned PaymentTransactionModel instance.
        Specified by:
        attachPaymentInfo in interface PaymentInfoCreatorStrategy
        Parameters:
        paymentTransactionModel - the payment transaction
        userModel - the user
        cardInfo - the card info
        amount - the amount
      • getModelService

        protected ModelService getModelService()
      • setModelService

        public void setModelService​(ModelService modelService)
      • getKeyGenerator

        protected KeyGenerator getKeyGenerator()
      • setKeyGenerator

        public void setKeyGenerator​(KeyGenerator keyGenerator)
      • setCommonI18NService

        public void setCommonI18NService​(CommonI18NService commonI18NService)