PPRetailRetailInvoice Class Reference
| Inherits from | PPRetailInvoice : PPRetailObject : NSObject |
|---|---|
| Declared in | PPRetailRetailInvoice.h |
Overview
The “Retail” Implementation of Invoice that is used by PPH only. Contains receiptDetails such as store ID, TerminalID, and countryCode. This class is a specific version implementation of the Invoice.
name
Transaction type of the Invoice
@property (nonatomic, strong, nullable) NSString *nameDiscussion
Transaction type of the Invoice
Declared In
PPRetailRetailInvoice.h
total
Total Invoice amount
@property (nonatomic, strong, nullable) NSDecimalNumber *totalDiscussion
Total Invoice amount
Declared In
PPRetailRetailInvoice.h
txnHandle
The transaction handle
@property (nonatomic, strong, nullable) NSString *txnHandleDiscussion
The transaction handle
Declared In
PPRetailRetailInvoice.h
storeId
The store id where the receipt was generated
@property (nonatomic, strong, nullable) NSString *storeIdDiscussion
The store id where the receipt was generated
Declared In
PPRetailRetailInvoice.h
terminalId
The terminal ID where the actual receipt was generated
@property (nonatomic, strong, nullable) NSString *terminalIdDiscussion
The terminal ID where the actual receipt was generated
Declared In
PPRetailRetailInvoice.h
status
The current status of the invoice
@property (nonatomic, assign) PPRetailInvoiceStatus statusDiscussion
The current status of the invoice
Declared In
PPRetailRetailInvoice.h
payments
an array of payment objects
@property (nonatomic, strong, nullable) NSArray *paymentsDiscussion
an array of payment objects
Declared In
PPRetailRetailInvoice.h
footer
The custom footer text
@property (nonatomic, strong, nullable) NSString *footerDiscussion
The custom footer text
Declared In
PPRetailRetailInvoice.h
payPalId
The id assigned by PayPal for an invoice. This is basically same the super class' payPalId. This is added to open the setter on the native side.
@property (nonatomic, strong, nullable) NSString *payPalIdDiscussion
The id assigned by PayPal for an invoice. This is basically same the super class' payPalId. This is added to open the setter on the native side.
Declared In
PPRetailRetailInvoice.h
isCancelled
Check if the transaction was cancelled by the user
@property (nonatomic, assign) BOOL isCancelledDiscussion
Check if the transaction was cancelled by the user
Declared In
PPRetailRetailInvoice.h
isFailed
Check if the payment was declined by the api
@property (nonatomic, assign) BOOL isFailedDiscussion
Check if the payment was declined by the api
Declared In
PPRetailRetailInvoice.h
referrerCode
the referrer code coming from sideloader calls
@property (nonatomic, strong, nullable) NSString *referrerCodeDiscussion
the referrer code coming from sideloader calls
Declared In
PPRetailRetailInvoice.h
– duplicate
Create a true copy / duplicate of an invoice. This is named duplicate instead of copy to avoid code gen issues on iOS
- (PPRetailRetailInvoice *_Nullable)duplicateDiscussion
Create a true copy / duplicate of an invoice. This is named duplicate instead of copy to avoid code gen issues on iOS
Declared In
PPRetailRetailInvoice.h