public class DefaultCreditCardPaymentInfoStrategy extends java.lang.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,
java.math.BigDecimal amount)
Attaches PaymentInfo to the assigned PaymentTransactionModel instance.
|
protected CommonI18NService |
getCommonI18NService() |
protected I18NService |
getI18nService()
Deprecated.
since 6.4 use
getCommonI18NService() |
protected KeyGenerator |
getKeyGenerator() |
protected ModelService |
getModelService() |
void |
setCommonI18NService(CommonI18NService commonI18NService) |
void |
setI18nService(I18NService i18nService)
Deprecated.
since 6.4 use
setCommonI18NService(CommonI18NService) |
void |
setKeyGenerator(KeyGenerator keyGenerator) |
void |
setModelService(ModelService modelService) |
public DefaultCreditCardPaymentInfoStrategy()
public void attachPaymentInfo(PaymentTransactionModel paymentTransactionModel, UserModel userModel, CardInfo cardInfo, java.math.BigDecimal amount)
attachPaymentInfo in interface PaymentInfoCreatorStrategypaymentTransactionModel - the payment transactionuserModel - the usercardInfo - the card infoamount - the amountprotected ModelService getModelService()
public void setModelService(ModelService modelService)
@Deprecated protected I18NService getI18nService()
getCommonI18NService()@Deprecated public void setI18nService(I18NService i18nService)
setCommonI18NService(CommonI18NService)protected KeyGenerator getKeyGenerator()
public void setKeyGenerator(KeyGenerator keyGenerator)
protected CommonI18NService getCommonI18NService()
public void setCommonI18NService(CommonI18NService commonI18NService)
Copyright © 2018 SAP SE. All Rights Reserved.