Checkout
-
Lets the application collect payment from customers using Square’s checkout flow.
See moreDeclaration
Objective-C
@interface SQRDCheckoutController : NSObjectSwift
class SQRDCheckoutController : NSObject -
The delegate of a
See moreSQRDCheckoutControllerobject must adopt theSQRDCheckoutControllerDelegateprotocol.Declaration
Objective-C
@protocol SQRDCheckoutControllerDelegate <NSObject>Swift
protocol SQRDCheckoutControllerDelegate : NSObjectProtocol -
The types of errors that can occur when presenting a
See moreSQRDCheckoutController.Declaration
Objective-C
enum SQRDCheckoutControllerError {}Swift
typealias SQRDCheckoutControllerError.Code._ErrorType = SQRDCheckoutControllerError -
The checkout controller error domain.
Declaration
Objective-C
extern NSString *const _Nonnull SQRDCheckoutControllerErrorDomainSwift
let SQRDCheckoutControllerErrorDomain: String
-
Parameters for SQRDCheckoutController.
Default values:
note:niladditionalPaymentTypes:[]tipSettings:nilskipReceipt:falsecollectSignature:falseallowSplitTender:falsedelayCapture:false
Declaration
Objective-C
@interface SQRDCheckoutParameters : NSObject <NSCopying>Swift
class SQRDCheckoutParameters : NSObject, NSCopying -
The payment types an application may accept during checkout in addition to payments via Square Readers.
See moreDeclaration
Objective-C
enum SQRDAdditionalPaymentTypes {}Swift
struct SQRDAdditionalPaymentTypes : OptionSet
-
Settings that configure tipping behavior of the checkout flow.
Default values:
showSeparateTipScreen:falseshowCustomTipField:falsetipPercentages:[15, 20, 25]See moreSee
SQRDCheckoutParameters
Declaration
Objective-C
@interface SQRDTipSettings : NSObject <NSCopying>Swift
class SQRDTipSettings : NSObject, NSCopying
-
The result of the checkout flow.
See moreDeclaration
Objective-C
@interface SQRDCheckoutResult : NSObject <NSCopying>Swift
class SQRDCheckoutResult : NSObject, NSCopying
Checkout Reference