Customer

@objcMembers
@objc(BTNCustomer)
final public class Customer : NSObject, Codable

Represents a customer in the order.

  • Important

    Deprecated. This property is a no-op. Data is not collected.

    Declaration

    Swift

    @available(*, deprecated, message: "Setting this property is a no-op. Data is not collected.")
    public var email: String? { get set }
  • A flag indicating whether the customer is new (or not).

    Declaration

    Swift

    public var isNew: Bool?
  • Initializes a customer object with the passed parameters.

    • id: The id for your customer (required).

    Declaration

    Swift

    @objc
    public init(id: String)