Optional

extension Optional where Wrapped == PKPaymentNetwork

Extension class for working with nullable PKPaymentNetwork instances

Available where Wrapped == PKPaymentNetwork

  • 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 transaction

    Declaration

    Swift

    public func oloDescription() -> String