STPMandateOnlineParams
public class STPMandateOnlineParams : NSObject
extension STPMandateOnlineParams: STPFormEncodable
Contains details about a Mandate accepted online. - seealso: https://stripe.com/docs/api/payment_intents/confirm#confirm_payment_intent-mandate_data-customer_acceptance-online
-
The IP address from which the Mandate was accepted by the customer.
Declaration
Swift
@objc public let ipAddress: String
-
The user agent of the browser from which the Mandate was accepted by the customer.
Declaration
Swift
@objc public let userAgent: String
-
Declaration
Swift
@objc public var additionalAPIParameters: [AnyHashable : Any]
-
Initializes an STPMandateOnlineParams.
Declaration
Swift
@objc(initWithIPAddress:userAgent:) public init(ipAddress: String, userAgent: String)
Parameters
ipAddress
The IP address from which the Mandate was accepted by the customer.
userAgent
The user agent of the browser from which the Mandate was accepted by the customer.
Return Value
A new STPMandateOnlineParams instance with the specified parameters.
-
Declaration
Swift
@objc public class func propertyNamesToFormFieldNamesMapping() -> [String : String]
-
Declaration
Swift
@objc public class func rootObjectName() -> String?