RefundParameters
public struct RefundParameters
An object for customising the behaviour of the YocoSDK.
-
- amountInCents: An amoutn in cents to be refunded of the full amount
- receiptDelegate: A delegate object that will recieve call backs of button presses for different reciept types.
- userInfo: Store data you would like to recieve back on completion of the payment. This data only exists locally.
- staffMember: A staff member object that can be used to assign staff member meta data to the transaction.
Declaration
Swift
public init(amountInCents: Int64? = nil, receiptDelegate: YocoReceiptDelegate? = nil, userInfo: [AnyHashable: Any]? = nil, staffMember: YocoStaff? = nil, refundCompleteNotifier: YocoCompletionHandler<PaymentResult>? = nil)