Transactions Linking
-
Type of expenses
See more -
Interface defines methods to monitor currently processed transactions Note: To monitor a single transaction, use
See moreTransactionObserver
.Declaration
Objective-C
@interface SBDataEvent : NSObject
Swift
class SBDataEvent : NSObject
-
Executable block to call on Receipt event.
Declaration
Objective-C
typedef void (^SBDataEventReceiptBlock)(SBReceiptEventType, SBReceipt *)
Swift
typealias SBDataEventReceiptBlock = (SBReceiptEventType, SBReceipt?) -> Void
Parameters
type
SBReceiptEventType value associated with the change to receipt data
receipt
SBReceipt for which an event was sent
-
Executable block to call on Transaction event.
Declaration
Objective-C
typedef void (^SBDataEventTransactionBlock)(SBTransactionEventType, SBLTransaction *)
Swift
typealias SBDataEventTransactionBlock = (SBTransactionEventType, SBLTransaction?) -> Void
Parameters
type
SBTransactionEventType value associated with the change to transaction data
transaction
Transaction for which an event was sent
-
Provides a data model for an ongoing receipt uploading operation. In Swift, use
See moreTransaction
typealias. -
Type of Receipt event
See moreDeclaration
Objective-C
enum SBReceiptEventType : NSUInteger {}
Swift
enum SBReceiptEventType : UInt
-
Type of Transaction event
See moreDeclaration
Objective-C
enum SBTransactionEventType : NSUInteger {}
Swift
enum SBTransactionEventType : UInt
-
SBLTransaction
typealias to be used in Swift. -
Declaration
Swift
-
Protocol defines methods to monitor receipt uploading transaction progress Note: Use this protocol to monitor a single transaction. To monitor all transactions, use
See moreSBDataEvent
. -
Defines a transaction processing status
See moreDeclaration
Swift
-
Source type of transaction information
See moreDeclaration
Swift