PyzeCommerceWishList

@interface PyzeCommerceWishList : PyzeCustomEvent

PyzeCommerceWishList

Subclass of PyzeCustomEvent class used post details of the events related to wish list.

Since

v3.0.5
  • Post details of wish lists created.

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postCreated:(nonnull NSString *)uniqueWishListId
        withWishListType:(nonnull NSString *)wishListtype
          withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postCreated(_ uniqueWishListId: String, withWishListType wishListtype: String, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    uniqueWishListId

    Unique wish list id.

    wishListtype

    Wish list type.

    attributes

    Additional custom attributes app would like to share with server.

  • Post details of the browsed wish list.

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postBrowsed:(nonnull NSString *)uniqueWishListId
         withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postBrowsed(_ uniqueWishListId: String, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    uniqueWishListId

    Wish list identifier.

    attributes

    Additional custom attributes app would like to share with server.

  • Post details of the added item to the wish list.

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postAddedItem:(nonnull NSString *)uniqueWishListId
         withItemCategory:(nonnull NSString *)itemCategory
               withItemId:(nonnull NSString *)itemId
           withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postAddedItem(_ uniqueWishListId: String, withItemCategory itemCategory: String, withItemId itemId: String, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    uniqueWishListId

    Wish list identifier.

    itemCategory

    Item category the item added to.

    itemId

    Item id details.

    attributes

    Additional custom attributes app would like to share with server.

  • Post details of the item removed from the wish list.

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postRemovedItem:(nonnull NSString *)uniqueWishListId
           withItemCategory:(nonnull NSString *)itemCategory
                 withItemId:(nonnull NSString *)itemId
             withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postRemovedItem(_ uniqueWishListId: String, withItemCategory itemCategory: String, withItemId itemId: String, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    uniqueWishListId

    Wish list identifier.

    itemCategory

    Item category the item removed from.

    itemId

    Item id details.

    attributes

    Additional custom attributes app would like to share with server.

  • Post shared details of the wish list.

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postShared:(nonnull NSString *)uniqueWishListId
        withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postShared(_ uniqueWishListId: String, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    uniqueWishListId

    Wish list identitier.

    attributes

    Additional custom attributes app would like to share with server.