POIPaymentDetails
public struct POIPaymentDetails : Hashable
Details about the payment options at the POI.
Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change without a deprecation process.
-
Accepted payment methods. Currently supported methods are defined in
POIPaymentMethod.Declaration
Swift
public var acceptedMethods: [String] -
Accepted currencies for cash payment, represented by their ISO 4217 code, for example “EUR”, “USD”, “CNY” etc. See the full list of ISO 421 codes. If cash is not an accepted payment method or the list of accepted currencies is not available, it is set to
nil.Declaration
Swift
public var acceptedCashCurrencies: [String]? -
Creates a new instance.
Declaration
Swift
public init(acceptedMethods: [String] = [], acceptedCashCurrencies: [String]? = nil)