SASSellerDefinedSegment

Objective-C

@interface SASSellerDefinedSegment : NSObject <NSCoding>

Swift

class SASSellerDefinedSegment : NSObject, NSCoding

Object representing a Segment of both Seller Defined Audience and Seller Defined Content.

  • ID

    The ID of the Segment if any, nil otherwise.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *ID;

    Swift

    var id: String? { get }
  • The name of the Segment if any, nil otherwise.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *name;

    Swift

    var name: String? { get }
  • The value of the Segment if any, nil otherwise.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *value;

    Swift

    var value: String? { get }
  • Initialize a new instance of SASSellerDefinedSegment.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithID:(nullable NSString *)ID
                                  name:(nullable NSString *)name
                                 value:(nullable NSString *)value;

    Swift

    init(id ID: String?, name: String?, value: String?)

    Parameters

    ID

    The ID of the Segment if any, nil otherwise.

    name

    The name of the Segment if any, nil otherwise.

    value

    The value of the Segment if any, nil otherwise.

    Return Value

    An initialized instance of SASSellerDefinedSegment.