PaymentsProviderStripe
public struct PaymentsProviderStripe : Codable, Equatable, FunctionResult
Stripe payment provider
-
Stripe API publishable key
Declaration
Swift
public let publishableKey: String
-
True, if the user country must be provided
Declaration
Swift
public let needCountry: Bool
-
True, if the user ZIP/postal code must be provided
Declaration
Swift
public let needPostalCode: Bool
-
True, if the cardholder name must be provided
Declaration
Swift
public let needCardholderName: Bool
-
Stripe payment provider
Declaration
Swift
public init(publishableKey: String, needCountry: Bool, needPostalCode: Bool, needCardholderName: Bool)
Parameters
publishableKey
Stripe API publishable key
needCountry
True, if the user country must be provided
needPostalCode
True, if the user ZIP/postal code must be provided
needCardholderName
True, if the cardholder name must be provided