public class MerchantStatusServiceImpl extends java.lang.Object implements MerchantStatusService
Modifier and Type | Field and Description |
---|---|
private PayPalRequestGateway |
gateway |
private static java.lang.String |
MERCHANTSTATUS_RESOURCE_PATH |
Constructor and Description |
---|
MerchantStatusServiceImpl(PayPalRequestGateway gateway) |
Modifier and Type | Method and Description |
---|---|
private PayPalRequest |
createRequest(PayPalPlusRequestContext requestContext,
java.lang.String partnerId,
java.lang.String merchantId) |
java.lang.String |
getMerchantStatus(PayPalPlusRequestContext requestContext,
java.lang.String partnerId,
java.lang.String merchantId) |
private PayPalRequestGateway gateway
private static final java.lang.String MERCHANTSTATUS_RESOURCE_PATH
@Inject public MerchantStatusServiceImpl(PayPalRequestGateway gateway)
public java.lang.String getMerchantStatus(PayPalPlusRequestContext requestContext, java.lang.String partnerId, java.lang.String merchantId) throws WebServiceException
getMerchantStatus
in interface MerchantStatusService
WebServiceException
private PayPalRequest createRequest(PayPalPlusRequestContext requestContext, java.lang.String partnerId, java.lang.String merchantId)