PointOfSale

@objcMembers
public class PointOfSale : NSObject, Codable

Holds the data for a Points of Sale.

  • id

    A unique identifier for the Point of Sale.

    Declaration

    Swift

    public private(set) var id: String { get }
  • A reference provided by the merchant for the Point of Sale.

    Declaration

    Swift

    public private(set) var reference: String { get }
  • A unique code to allow a Point of Sale to be activated.

    Declaration

    Swift

    public private(set) var activationCode: String { get }
  • Initialise a PointOfSale passing the proper parameters

    Declaration

    Swift

    public init(id: String,
                reference: String,
                activationCode: String)

    Parameters

    id

    A unique identifier for the Point of Sale.

    reference

    A reference provided by the merchant for the Point of Sale.

    activationCode

    A unique code to allow a Point of Sale to be activated.