POIPaymentDetails

public struct POIPaymentDetails : Hashable

Details about the payment options at the POI.

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases 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)