Interface PaymentInfoCreatorStrategy
- All Known Implementing Classes:
DefaultCreditCardPaymentInfoStrategy
public interface PaymentInfoCreatorStrategy
Attaches PaymentInfo to the assigned PaymentTransactionModel instance.
-
Method Summary
Modifier and TypeMethodDescriptionvoidattachPaymentInfo(PaymentTransactionModel paymentTransactionModel, UserModel userModel, CardInfo cardInfo, BigDecimal amount) 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 transactionuserModel- the usercardInfo- the card infoamount- the amount
-