PPRetailMerchant Class Reference

Inherits from PPRetailObject : NSObject
Declared in PPRetailMerchant.h

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.

  emailAddress

The email address of the merchant. @readonly

@property (nonatomic, strong, nullable, readonly) NSString *emailAddress

Discussion

The email address of the merchant. @readonly

Declared In

PPRetailMerchant.h

  businessName

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

@property (nonatomic, strong, nullable, readonly) NSString *businessName

Discussion

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

Declared In

PPRetailMerchant.h

  currency

The “home” currency of the merchant. @readonly

@property (nonatomic, strong, nullable, readonly) NSString *currency

Discussion

The “home” currency of the merchant. @readonly

Declared In

PPRetailMerchant.h

  payerId

The payer id of the merchant. @readonly

@property (nonatomic, strong, nullable, readonly) NSString *payerId

Discussion

The payer id of the merchant. @readonly

Declared In

PPRetailMerchant.h

  address

The business address of the merchant @readonly

@property (nonatomic, strong, nullable, readonly) PPRetailInvoiceAddress *address

Discussion

The business address of the merchant @readonly

Declared In

PPRetailMerchant.h

  environment

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

@property (nonatomic, strong, nullable, readonly) NSString *environment

Discussion

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

Declared In

PPRetailMerchant.h

  signatureRequiredAbove

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

@property (nonatomic, strong, nullable) NSDecimalNumber *signatureRequiredAbove

Discussion

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

Declared In

PPRetailMerchant.h

  isCertificationMode

Run in certification mode.

@property (nonatomic, assign) BOOL isCertificationMode

Discussion

Run in certification mode.

Declared In

PPRetailMerchant.h

  referrerCode

The Partner Attribution Id code that is used for analytics

@property (nonatomic, strong, nullable) NSString *referrerCode

Discussion

The Partner Attribution Id code that is used for analytics

Declared In

PPRetailMerchant.h

  storeId

The storeId to pull the store location address

@property (nonatomic, strong, nullable) NSString *storeId

Discussion

The storeId to pull the store location address

Declared In

PPRetailMerchant.h

  softDescriptor

The soft descriptor that will be shown on the receipt, provided by the partner 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!

@property (nonatomic, strong, nullable) NSString *softDescriptor

Discussion

The soft descriptor that will be shown on the receipt, provided by the partner 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!

Declared In

PPRetailMerchant.h

– setTokenExpiredHandler:

Provide a token expiration handler if you want to handle token expiration during a transaction

- (void)setTokenExpiredHandler:(PPRetailMerchantTokenExpirationHandlerHandler _Nullable)expirationHandler

Discussion

Provide a token expiration handler if you want to handle token expiration during a transaction

Declared In

PPRetailMerchant.h

– forwardReceipt:emailOrSms:txNumber:txType:customerId:receiptPreferenceToken:callback:

Forward a receipt for an invoice.

- (void)forwardReceipt:(PPRetailRetailInvoice *_Nullable)invoice emailOrSms:(NSString *_Nullable)emailOrSms txNumber:(NSString *_Nullable)txNumber txType:(NSString *_Nullable)txType customerId:(NSString *_Nullable)customerId receiptPreferenceToken:(NSString *_Nullable)receiptPreferenceToken callback:(PPRetailMerchantReceiptForwardedHandler _Nullable)callback

Discussion

Forward a receipt for an invoice.

Declared In

PPRetailMerchant.h