public struct PaymentParameters
An object for customising the behaviour of the YocoSDK.
receiptDelegate: userInfo: staffMember: receiptNumber: billId: note: transactionCompleteNotifier: )
Will make the payment complete screen automatically hide after a short time before dismissing the Yoco payment flow. Has no effect if you are implementing the
YocoReceiptDelegate. This will allow the payment complete screen to show to the merchant and will have to tap to dismiss it so as to make sure they have seen the payment success screen. If you want to auto transition to your own receipt view or something similar, then you probably want
A delegate object that will recieve call backs of button presses for different reciept types.
Store data you would like to recieve back on completion of the payment. This data only exists locally.
receiptNumberis a unique string that can be used to track a transaction
Transactions are associated with provided
A note string to be attached to this transaction
A staff member object that can be used to assign staff member meta data to the transaction.