PyzeCommerceItem

@interface PyzeCommerceItem : PyzeCustomEvent

PyzeCommerceItem

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

Since

v1.0.0
  • Post detials of the item viewed details.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postViewedItem:(nonnull NSDictionary *)attributes;

    Swift

    class func postViewedItem(_ attributes: [AnyHashable : Any])

    Parameters

    attributes

    Additional custom attributes app would like to share with server.

  • Post detials of the item scanned details.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postScannedItem:(nonnull NSDictionary *)attributes;

    Swift

    class func postScannedItem(_ attributes: [AnyHashable : Any])

    Parameters

    attributes

    Additional custom attributes app would like to share with server.

  • Post detials of the item viewed reviews details.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postViewedReviews:(nonnull NSDictionary *)attributes;

    Swift

    class func postViewedReviews(_ attributes: [AnyHashable : Any])

    Parameters

    attributes

    Additional custom attributes app would like to share with server.

  • Post detials of the item viewed details.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postViewedDetails:(nonnull NSDictionary *)attributes;

    Swift

    class func postViewedDetails(_ attributes: [AnyHashable : Any])

    Parameters

    attributes

    Additional custom attributes app would like to share with server.

  • Post detials of the item viewed price details.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postViewedPrice:(nonnull NSDictionary *)attributes;

    Swift

    class func postViewedPrice(_ attributes: [AnyHashable : Any])

    Parameters

    attributes

    Additional custom attributes app would like to share with server.

  • Post detials of the item shared details.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postItemShareItem:(nonnull NSDictionary *)attributes;

    Swift

    class func postItemShare(_ attributes: [AnyHashable : Any])

    Parameters

    attributes

    Additional custom attributes app would like to share with server.

  • Post details of the item rating details.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postItemRateOn5Scale:(nonnull NSString *)itemSKU
                      withRating:(nonnull NSString *)rating
                  withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postRateOn5Scale(_ itemSKU: String, withRating rating: String, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    itemSKU

    Item SKU identifier.

    rating

    Rating number out of 5/10.

    attributes

    Additional custom attributes app would like to share with server.