YocoStaff

public struct YocoStaff

Undocumented

  • The name of the staff member who is initiating the payment.

    Declaration

    Swift

    public let name: String
  • A unique identifier for the staff member.

    Declaration

    Swift

    public let staffNumber: String
  • Unique user ID

    Declaration

    Swift

    public let userUUID: String?
  • User authentication data e.g. token

    Declaration

    Swift

    public let userAuthentication: String?
  • Create a staff member object for associating a staff member with a payment.

    • staffNumber: A unique identifier for the staff member.
    • name: The name of the staff member who is initiating the payment.
    • userUUID: Unique user ID of staff member
    • userAuthentication: User authentication token

    Declaration

    Swift

    public init(staffNumber: String,
                name: String,
                userUUID: String? = nil,
                userAuthentication: String? = nil)