final class IPNCaptureService extends java.lang.Object implements IPNService
Modifier and Type | Field and Description |
---|---|
private Converter<com.amazonservices.mws.offamazonpaymentsipn.model.CaptureDetails,CaptureDetails> |
converter |
private InvocationBuilder |
invocationBuilder |
private static org.slf4j.Logger |
log |
Constructor and Description |
---|
IPNCaptureService(InvocationBuilder invocationBuilder,
Converter<com.amazonservices.mws.offamazonpaymentsipn.model.CaptureDetails,CaptureDetails> converter) |
Modifier and Type | Method and Description |
---|---|
private boolean |
checkPreconditions(com.amazonservices.mws.offamazonpaymentsipn.notifications.INotification notification) |
int |
execute(ShopRequestContext shopRequestContext,
com.amazonservices.mws.offamazonpaymentsipn.notifications.INotification notification) |
com.amazonservices.mws.offamazonpaymentsipn.notifications.NotificationType |
getNotificationType() |
private static final org.slf4j.Logger log
private final InvocationBuilder invocationBuilder
private final Converter<com.amazonservices.mws.offamazonpaymentsipn.model.CaptureDetails,CaptureDetails> converter
@Inject public IPNCaptureService(InvocationBuilder invocationBuilder, Converter<com.amazonservices.mws.offamazonpaymentsipn.model.CaptureDetails,CaptureDetails> converter)
public int execute(ShopRequestContext shopRequestContext, com.amazonservices.mws.offamazonpaymentsipn.notifications.INotification notification)
execute
in interface IPNService
private boolean checkPreconditions(com.amazonservices.mws.offamazonpaymentsipn.notifications.INotification notification)
public com.amazonservices.mws.offamazonpaymentsipn.notifications.NotificationType getNotificationType()
getNotificationType
in interface IPNService