public class SpreedlyProxyImpl extends java.lang.Object implements SpreedlyProxy
Modifier and Type | Field and Description |
---|---|
private SpreedlyConfig |
config |
private static org.slf4j.Logger |
LOG |
private SpreedlyWebTargetBuilder |
webTargetBuilder |
Constructor and Description |
---|
SpreedlyProxyImpl(SpreedlyWebTargetBuilder webTargetBuilder,
SpreedlyConfig config) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createToken(GatewayRequest<?> gatewayRequest) |
TransactionResult |
makePurchase(GatewayEntity gatewayEntity,
SpreedlyTransactionRequest purchaseData) |
private void |
retrieveLogFromSpreedly(java.lang.String gateway_transaction_id) |
private static final org.slf4j.Logger LOG
private final SpreedlyWebTargetBuilder webTargetBuilder
private final SpreedlyConfig config
@Inject public SpreedlyProxyImpl(SpreedlyWebTargetBuilder webTargetBuilder, SpreedlyConfig config)
public java.lang.String createToken(GatewayRequest<?> gatewayRequest)
createToken
in interface SpreedlyProxy
public TransactionResult makePurchase(GatewayEntity gatewayEntity, SpreedlyTransactionRequest purchaseData) throws SpreedlyException
makePurchase
in interface SpreedlyProxy
SpreedlyException
private void retrieveLogFromSpreedly(java.lang.String gateway_transaction_id)