MiaCheckoutController

Objective-C

@interface MiaCheckoutController : UIViewController

+ (MiaCheckoutController *)makeWithPaymentID:(NSString *)paymentID
                                  paymentURL:(NSString *)paymentURL
                                 redirectURL:(NSString * _Nullable)redirectURL
                                   cancelURL:(NSString * _Nullable)cancelURL
                                     success:(void(^)(MiaCheckoutController *))success
                                cancellation:(void(^)(MiaCheckoutController *))cancellation
                                     failure:(void(^)(MiaCheckoutController *, NSError *))failure;

@end

Swift

class MiaCheckoutController : UIViewController

Undocumented

  • Undocumented

    Declaration

    Objective-C

    + (MiaCheckoutController *)makeWithPaymentID:(NSString *)paymentID
                                      paymentURL:(NSString *)paymentURL
                                     redirectURL:(NSString * _Nullable)redirectURL
                                       cancelURL:(NSString * _Nullable)cancelURL
                                         success:(void(^)(MiaCheckoutController *))success
                                    cancellation:(void(^)(MiaCheckoutController *))cancellation
                                         failure:(void(^)(MiaCheckoutController *, NSError *))failure;

    Swift

    class func make(withPaymentID paymentID: String, paymentURL: String, redirectURL: String?, cancelURL: String?, success: @escaping (MiaCheckoutController) -> Void, cancellation: @escaping (MiaCheckoutController) -> Void, failure: @escaping (MiaCheckoutController, Error) -> Void) -> MiaCheckoutController