Optional
extension Optional where Wrapped == PKPaymentNetwork
Extension class for working with nullable PKPaymentNetwork instances
-
Get the description of the payment network as required by Olo’s Ordering ecosystem
Important
If the returned value is"Unsupported", attempting to process a payment within Olo’s ordering ecosystem will result in a failed transactionDeclaration
Swift
public func oloDescription() -> String