Interface PaymentInfoCreatorStrategy

All Known Implementing Classes:
DefaultCreditCardPaymentInfoStrategy

public interface PaymentInfoCreatorStrategy
Attaches PaymentInfo to the assigned PaymentTransactionModel instance.
  • Method Details

    • attachPaymentInfo

      void attachPaymentInfo(PaymentTransactionModel paymentTransactionModel, UserModel userModel, CardInfo cardInfo, BigDecimal amount)
      Attaches PaymentInfo to the assigned PaymentTransactionModel instance.
      Parameters:
      paymentTransactionModel - the payment transaction
      userModel - the user
      cardInfo - the card info
      amount - the amount