| java.lang.Object | |
| ↳ | org.mule.module.paypal.PaypalCloudConnector |
Known Direct Subclasses
|
Known Indirect Subclasses
|
Cloud connector for Paypal.
PayPal is a service that enables you to pay, send money, and accept payments without revealing your financial information.
PayPal acts like a digital wallet where you can securely store all your payment options, such as your bank account and credit card. When you want to make a payment, you don't have to pull out your credit card or type your billing info every time. Simply click on the PayPal checkout button, log in to your PayPal account, and select your preferred payment method. We'll complete the payment process—without sharing your info with merchants and sellers.
This connector lets mule users to perform
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| defaultCurrency | Default currency used if none is specified in the operation | ||||||||||
| facade | |||||||||||
| mom | |||||||||||
| password | Paypal password | ||||||||||
| signature | PayPal-generated unique digital signature. | ||||||||||
| subject | An indicator in an API call of the account for whom the call is being made | ||||||||||
| username | Paypal username | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Advanced constructor
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Confirms whether a postal address and postal code match those of the specified
PayPal account holder.
| |||||||||||
Authorize a payment
| |||||||||||
Capture an authorized payment.
| |||||||||||
Process a credit card payment.
| |||||||||||
Void an order or an authorization.
| |||||||||||
Obtain the available balance for a PayPal account.
| |||||||||||
Obtain your Pal ID, which is the PayPal-assigned merchant account number,
and other information about your account.
| |||||||||||
Obtain information about a specific transaction.
| |||||||||||
Accept or deny a pending transaction held by Fraud Management Filters.
| |||||||||||
Make a payment to one or more PayPal account holders.
| |||||||||||
Reauthorize an amount for a previously authorized transaction.
| |||||||||||
Issue a refund to the PayPal account holder associated with a transaction.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Builds a BasicAmountType to use in operations.
| |||||||||||
Returns the currency to use in operations
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Paypal password
PayPal-generated unique digital signature.
An indicator in an API call of the account for whom the call is being made
Paypal username
Advanced constructor
| paypalFacade | Facade that performs the operations |
|---|
Confirms whether a postal address and postal code match those of the specified PayPal account holder.
| The email of the account's holder | |
| street | The street to verify |
| zip | The zip address to verify |
Authorize a payment
| transactionId | The value of the order's transaction identification number returned by PayPal. Character length and limits: 19 single-byte characters maximum. |
|---|---|
| amount | Amount to authorize. Limitations: Value is a positive number which cannot exceed $10,000 USD in any currency. No currency symbol. Must have two decimal places, decimal separator must be a period (.), and the optional thousands separator must be a comma (,). |
| amountCurrency | The currency in which amount is expressed. If it is null, then the defaultCurrency is used. |
| transactionEntity | Type of transaction to authorize. The only allowable value is Order, which means that the transaction represents a customer order that can be fulfilled over 29 days. |
Capture an authorized payment.
| authorizationId | The authorization identification number of the payment you want to capture. This is the transaction id returned from DoExpressCheckoutPayment or DoDirectPayment. Character length and limits: 19 single-byte characters maximum. |
|---|---|
| complete | The value Complete indicates that this the last capture you intend to make. The value NotComplete indicates that you intend to make additional captures |
| amount | Amount to capture. Limitations: Value is a positive number which cannot exceed $10,000 USD in any currency. No currency symbol. Must have two decimal places, decimal separator must be a period (.), and the optional thousands separator must be a comma (,). |
| amountCurrency | The currency in which amount is expressed. If it is null, then the defaultCurrency is used. |
| invoiceId | Your invoice number or other identification number that is displayed to the merchant and customer in his transaction history. NOTE: This value on DoCapture will overwrite a value previously set on DoAuthorization. NOTE: The value is recorded only if the authorization you are capturing is an order authorization, not a basic authorization. Character length and limits: 127 single-byte alphanumeric characters. |
| note | An informational note about this settlement that is displayed to the payer in email and in his transaction history. Character length and limits: 255 single-byte characters. |
| softDescriptor | The soft descriptor is a per transaction description of the payment that is passed to the consumer's credit card statement. |
Process a credit card payment.
| ipAddress | IP address of the payer's browser. NOTE: PayPal records this IP addresses as a means to detect possible fraud. Character length and limitations: 15 single-byte characters, including periods, for example: 255.255.255.255. |
|---|---|
| cardDetails | Credit card details |
| paymentDetails | Payment details |
| paymentAction | How you want to obtain payment: () "Authorization" indicates that this payment is a basic authorization subject to settlement with PayPal Authorization & Capture. () "Sale" indicates that this is a final sale for which you are requesting payment. |
| setReturnFMFDetails | Flag to indicate whether you want the results returned by Fraud Management Filters. By default, you do not receive this information. |
Void an order or an authorization.
| authorizationId | The original authorization ID specifying the authorization to void or, to void an order, the order ID. IMPORTANT: If you are voiding a transaction that has been reauthorized, use the ID from the original authorization, and not the reauthorization. Character length and limits: 19 single-byte characters. |
|---|---|
| note | An informational note about this void that is displayed to the payer in email and in his transaction history. Character length and limits: 255 single-byte characters |
Obtain the available balance for a PayPal account.
| returnAllCurrencies | If true, returns the balance for each currency holding, otherwise only the balance for the primary currency holding |
|---|
Obtain your Pal ID, which is the PayPal-assigned merchant account number, and other information about your account. You need the account number when working with dynamic versions of PayPal buttons and logos.
Obtain information about a specific transaction.
| transactionId | Unique identifier of a transaction. NOTE: The details for some kinds of transactions cannot be retrieved with GetTransactionDetails. You cannot obtain details of bank transfer withdrawals, for example. Character length and limitations: 17 single-byte alphanumeric characters. |
|---|
| InitialisationException |
|---|
Accept or deny a pending transaction held by Fraud Management Filters.
| transactionId | The transaction ID of the payment transaction. |
|---|---|
| action | The operation you want to perform on the transaction, which is one of the following actions: () Accept - accepts the payment () Deny - rejects the payment |
Make a payment to one or more PayPal account holders.
| emailSubject | The subject line of the email that PayPal sends when the transaction is completed. The subject line is the same for all recipients. Character length and limitations: 255 single-byte alphanumeric characters. |
|---|---|
| massPayItems | Details of each payment. NOTE: A single request can include up to 250 MassPayItems. |
| receiverType | Indicates how you identify the recipients of payments in this call to MassPay. Must be EmailAddress or UserID. |
Reauthorize an amount for a previously authorized transaction.
| authorizationId | The value of a previously authorized transaction identification number returned by PayPal. Character length and limits: 19 single-byte characters maximum. |
|---|---|
| amount | Amount to reauthorize. Limitations: Value is a positive number which cannot exceed $10,000 USD in any currency. No currency symbol. Must have two decimal places, decimal separator must be a period (.), and the optional thousands separator must be a comma (,). |
| amountCurrency | The currency in which amount is expressed. If it is null, then the defaultCurrency is used. |
Issue a refund to the PayPal account holder associated with a transaction.
| transactionId | Unique identifier of a transaction. Character length and limitations: 17 single-byte alphanumeric characters. |
|---|---|
| invoiceId | Your own invoice or tracking number. Character length and limitations: 127 single-byte alphanumeric characters |
| refundType | Type of refund you are making: () Full - default () Partial |
| amount | Refund amount. Amount is required if RefundType is Partial. NOTE: If RefundType is not specified, do not set the Amount. |
| amountCurrency | The currency in which amount is expressed. If it is null, then the defaultCurrency is used. |
| memo | Custom memo about the refund. Character length and limitations: 255 single-byte alphanumeric characters. |
| password |
|---|
| signature |
|---|
| subject |
|---|
| username |
|---|
| currencyCode |
|---|
Builds a BasicAmountType to use in operations.
| value | The amount |
|---|---|
| currency | The currency received as a paremeter. could be null if the default currency is specified. |
Returns the currency to use in operations
| actualParameter | The currency parameter passed to the operation. |
|---|