java.lang.Object | ||
↳ | PayPalRetailObject | |
↳ | com.paypal.paypalretailsdk.Merchant |
The merchant represents the account that all calls to the PayPal services will affect. Essentially this is where all collected money will go, which account locations and checkin operations will occur under, etc.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
interface | Merchant.ReceiptForwardedCallback | After an attempt has been made to send your receipt to the PayPal servers, the completion handler will be called with the error (if any, or null if not) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
forwardReceipt(Invoice invoice, String emailOrSms, String txNumber, String txType, String customerId, String receiptPreferenceToken, Merchant.ReceiptForwardedCallback callback)
Forward a receipt for an invoice.
| ||||||||||
InvoiceAddress |
getAddress()
The business address of the merchant @readonly
| ||||||||||
String |
getBusinessName()
The name of the business operated by the merchant.
| ||||||||||
String |
getCurrency()
The "home" currency of the merchant.
| ||||||||||
String |
getEmailAddress()
The email address of the merchant.
| ||||||||||
String |
getEnvironment()
The PayPal environment this merchant exists in - live or sandbox.
| ||||||||||
Boolean |
getIsCertificationMode()
Run in certification mode.
| ||||||||||
String |
getReferrerCode()
The Partner Attribution Id code that is used for analytics
PLEASE NOTE: manipulating this setting (especially upwards) may cause you to be liable for chargebacks in the event we cannot retrieve
a signature for the transaction.
| ||||||||||
BigDecimal |
getSignatureRequiredAbove()
The invoice total amount above which signature would be collected for swipe transactions.
| ||||||||||
void |
setIsCertificationMode(Boolean value)
Run in certification mode.
| ||||||||||
void |
setReferrerCode(String value)
The Partner Attribution Id code that is used for analytics
PLEASE NOTE: manipulating this setting (especially upwards) may cause you to be liable for chargebacks in the event we cannot retrieve
a signature for the transaction.
| ||||||||||
void |
setSignatureRequiredAbove(BigDecimal value)
The invoice total amount above which signature would be collected for swipe transactions.
| ||||||||||
String |
toString()
Returns a string representing the serialized state of the Merchant object
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Forward a receipt for an invoice.
The name of the business operated by the merchant. @readonly
The "home" currency of the merchant. @readonly
The email address of the merchant. @readonly
The PayPal environment this merchant exists in - live or sandbox. Sandbox means the money is not real! @readonly
Run in certification mode.
The Partner Attribution Id code that is used for analytics PLEASE NOTE: manipulating this setting (especially upwards) may cause you to be liable for chargebacks in the event we cannot retrieve a signature for the transaction. MODIFY THIS SETTING AT YOUR OWN RISK!
The invoice total amount above which signature would be collected for swipe transactions.
Run in certification mode.
The Partner Attribution Id code that is used for analytics PLEASE NOTE: manipulating this setting (especially upwards) may cause you to be liable for chargebacks in the event we cannot retrieve a signature for the transaction. MODIFY THIS SETTING AT YOUR OWN RISK!
The invoice total amount above which signature would be collected for swipe transactions.
Returns a string representing the serialized state of the Merchant object