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