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
publishableKeyStripe API publishable key
needCountryTrue, if the user country must be provided
needPostalCodeTrue, if the user ZIP/postal code must be provided
needCardholderNameTrue, if the cardholder name must be provided
View on GitHub
Install in Dash
PaymentsProviderStripe Structure Reference