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 *name
Discussion
Transaction type of the Invoice
Declared In
PPRetailRetailInvoice.h
total
Total Invoice amount
@property (nonatomic, strong, nullable) NSDecimalNumber *total
Discussion
Total Invoice amount
Declared In
PPRetailRetailInvoice.h
txnHandle
The transaction handle
@property (nonatomic, strong, nullable) NSString *txnHandle
Discussion
The transaction handle
Declared In
PPRetailRetailInvoice.h
storeId
The store id where the receipt was generated
@property (nonatomic, strong, nullable) NSString *storeId
Discussion
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 *terminalId
Discussion
The terminal ID where the actual receipt was generated
Declared In
PPRetailRetailInvoice.h
status
The current status of the invoice
@property (nonatomic, assign) PPRetailInvoiceStatus status
Discussion
The current status of the invoice
Declared In
PPRetailRetailInvoice.h
payments
an array of payment objects
@property (nonatomic, strong, nullable) NSArray *payments
Discussion
an array of payment objects
Declared In
PPRetailRetailInvoice.h
footer
The custom footer text
@property (nonatomic, strong, nullable) NSString *footer
Discussion
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 *payPalId
Discussion
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 isCancelled
Discussion
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 isFailed
Discussion
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 *referrerCode
Discussion
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)duplicate
Discussion
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