Interface PaymentInfoCreatorStrategy

  • All Known Implementing Classes:
    DefaultCreditCardPaymentInfoStrategy

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

      • attachPaymentInfo

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