public class

Merchant

extends PayPalRetailObject
java.lang.Object
   ↳ PayPalRetailObject
     ↳ com.paypal.paypalretailsdk.Merchant

Class Overview

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.

Summary

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
From class java.lang.Object

Public Methods

public void forwardReceipt (Invoice invoice, String emailOrSms, String txNumber, String txType, String customerId, String receiptPreferenceToken, Merchant.ReceiptForwardedCallback callback)

Forward a receipt for an invoice.

public InvoiceAddress getAddress ()

The business address of the merchant @readonly

public String getBusinessName ()

The name of the business operated by the merchant. @readonly

public String getCurrency ()

The "home" currency of the merchant. @readonly

public String getEmailAddress ()

The email address of the merchant. @readonly

public String getEnvironment ()

The PayPal environment this merchant exists in - live or sandbox. Sandbox means the money is not real! @readonly

public Boolean getIsCertificationMode ()

Run in certification mode.

public 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. MODIFY THIS SETTING AT YOUR OWN RISK!

public BigDecimal getSignatureRequiredAbove ()

The invoice total amount above which signature would be collected for swipe transactions.

public void setIsCertificationMode (Boolean value)

Run in certification mode.

public 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. MODIFY THIS SETTING AT YOUR OWN RISK!

public void setSignatureRequiredAbove (BigDecimal value)

The invoice total amount above which signature would be collected for swipe transactions.

public String toString ()

Returns a string representing the serialized state of the Merchant object