PaymentMethod
public protocol PaymentMethod
Protocol to encapsulate all payment methods in the system, and allow developers to extend and create new payment methods when needed.
-
The payment data to be sent to the API
Declaration
Swift
var paymentData: [String : Any] { get }