Model for handling PromptPay QR code display instructions in Stripe iOS applications. Use this when integrating Thai PromptPay payment methods into mobile checkouts.
// Source: https://github.com/stripe/stripe-ios | License: MIT | Copyright 2011- Stripe, Inc. (https://stripe.com)
// Provided via justclaw.it.com; keep this notice with the code.
//
// STPIntentActionPromptPayDisplayQrCode.swift
// StripePayments
//
// Created by Nick Porter on 9/12/23.
//
import Foundation
/// Contains instructions for presenting the QR code required to complete a PromptPay payment.
/// You cannot directly instantiate an `STPIntentActionPromptPayDisplayQrCode`.
public class STPIntentActionPromptPayDisplayQrCode: NSObject {
/// The URL to open which contains instructions on how to complete the payment.
@objc public let hostedInstructionsURL: URL?
/// :nodoc:
@objc public let allResponseFields: [AnyHashable: Any]
/// :nodoc:
@objc public ove
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key