public class

SoapPaypalFacade

extends Object
implements PaypalFacade
java.lang.Object
   ↳ org.mule.module.paypal.soap.SoapPaypalFacade

Class Overview

https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/ e_howto_api_soap_PayPalSOAPAPIArchitecture

Summary

Fields
private PayPalAPIInterface api
private String apiVersion
private PayPalAPIAAInterface extendedApi
private final String password
private String paypalEndpoint
private final String signature
private final String subject
private final String username
Public Constructors
SoapPaypalFacade(String username, String password, String signature, String subject)
Creates the SoapPaypalFacade.
Public Methods
AddressVerifyResponseType addressVerify(String email, String street, String zip)
DoAuthorizationResponseType authorize(String transactionId, BasicAmountType amount, TransactionEntityType transactionEntity)
DoCaptureResponseType capture(String authorizationId, CompleteCodeType complete, BasicAmountType amount, String invoiceId, String note, String softDescriptor)
DoDirectPaymentResponseType doDirectPayment(String ipAddress, CreditCardDetailsType cardDetails, PaymentDetailsType paymentDetails, PaymentActionCodeType paymentAction, Integer setReturnFMFDetails)
DoVoidResponseType doVoid(String authorizationId, String note)
GetBalanceResponseType getBalance(boolean returnAllCurrencies)
GetPalDetailsResponseType getPalDetails()
GetTransactionDetailsResponseType getTransactionDetails(String transactionId)
ManagePendingTransactionStatusResponseType managePendingTransactionStatus(String transactionId, FMFPendingTransactionActionType action)
MassPayResponseType massPay(String emailSubject, List<MassPayRequestItemType> massPayItems, ReceiverInfoCodeType receiverType)
DoReauthorizationResponseType reAuthorize(String authorizationId, BasicAmountType amount)
RefundTransactionResponseType refundTransaction(String transactionId, String invoiceId, RefundType refundType, BasicAmountType amount, String memo)
void setApiVersion(String apiVersion)
Protected Methods
PayPalAPIInterface getApi()
PayPalAPIAAInterface getExtendedApi()
void handleError(AbstractResponseType type)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.mule.module.paypal.PaypalFacade

Fields

private PayPalAPIInterface api

private String apiVersion

private PayPalAPIAAInterface extendedApi

private final String password

private String paypalEndpoint

private final String signature

private final String subject

private final String username

Public Constructors

public SoapPaypalFacade (String username, String password, String signature, String subject)

Creates the SoapPaypalFacade.

Parameters
username Paypal username
password Paypal password
signature PayPal-generated unique digital signature (a line of text, or hash) that you copy from PayPal's website and include in your API calls. An alternative to API Certificate security.
subject An indicator in an API call of the account for whom the call is being made

Public Methods

public AddressVerifyResponseType addressVerify (String email, String street, String zip)

Parameters
email
street
zip

public DoAuthorizationResponseType authorize (String transactionId, BasicAmountType amount, TransactionEntityType transactionEntity)

Parameters
transactionId
amount
transactionEntity

public DoCaptureResponseType capture (String authorizationId, CompleteCodeType complete, BasicAmountType amount, String invoiceId, String note, String softDescriptor)

Parameters
authorizationId
complete
amount
invoiceId
note
softDescriptor

public DoDirectPaymentResponseType doDirectPayment (String ipAddress, CreditCardDetailsType cardDetails, PaymentDetailsType paymentDetails, PaymentActionCodeType paymentAction, Integer setReturnFMFDetails)

Parameters
ipAddress
cardDetails
paymentDetails
paymentAction
setReturnFMFDetails

public DoVoidResponseType doVoid (String authorizationId, String note)

Parameters
authorizationId
note

public GetBalanceResponseType getBalance (boolean returnAllCurrencies)

Parameters
returnAllCurrencies

public GetPalDetailsResponseType getPalDetails ()

public GetTransactionDetailsResponseType getTransactionDetails (String transactionId)

Parameters
transactionId

public ManagePendingTransactionStatusResponseType managePendingTransactionStatus (String transactionId, FMFPendingTransactionActionType action)

Parameters
transactionId
action

public MassPayResponseType massPay (String emailSubject, List<MassPayRequestItemType> massPayItems, ReceiverInfoCodeType receiverType)

Parameters
emailSubject
massPayItems
receiverType

public DoReauthorizationResponseType reAuthorize (String authorizationId, BasicAmountType amount)

Parameters
authorizationId
amount

public RefundTransactionResponseType refundTransaction (String transactionId, String invoiceId, RefundType refundType, BasicAmountType amount, String memo)

Parameters
transactionId
invoiceId
refundType
amount
memo

public void setApiVersion (String apiVersion)

Parameters
apiVersion The apiVersion to set

Protected Methods

protected PayPalAPIInterface getApi ()

protected PayPalAPIAAInterface getExtendedApi ()

protected void handleError (AbstractResponseType type)

Parameters
type