public class DefaultCreditCardPaymentInfoStrategy extends Object implements PaymentInfoCreatorStrategy
DefaultPaymentServiceImpl to attaches a PaymentInfo to
the payment transaction instance during authorization.| Constructor and Description |
|---|
DefaultCreditCardPaymentInfoStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
attachPaymentInfo(PaymentTransactionModel paymentTransactionModel,
UserModel userModel,
CardInfo cardInfo,
BigDecimal amount)
Attaches PaymentInfo to the assigned PaymentTransactionModel instance.
|
void |
setKeyGenerator(KeyGenerator keyGenerator) |
public DefaultCreditCardPaymentInfoStrategy()
public void setKeyGenerator(KeyGenerator keyGenerator)
public void attachPaymentInfo(PaymentTransactionModel paymentTransactionModel, UserModel userModel, CardInfo cardInfo, BigDecimal amount)
attachPaymentInfo in interface PaymentInfoCreatorStrategypaymentTransactionModel - the payment transactionuserModel - the usercardInfo - the card infoamount - the amountCopyright © 2017 SAP SE. All Rights Reserved.