PyzeCommerceSupport

@interface PyzeCommerceSupport : PyzeSupport

PyzeCommerceSupport Subclass of PyzeSupport. This class can be used for posting events related to Commerce Support.

Since

v2.0.5
  • Post live chat started details.

    Declaration

    Objective-C

    + (void)postLiveChatStartedWithTopic:(nonnull NSString *)topic
                         withOrderNumber:(nonnull NSString *)orderNumber
                          withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postLiveChatStarted(withTopic topic: String, withOrderNumber orderNumber: String, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    topic

    Topic interested

    orderNumber

    Order number for which support requested.

    attributes

    Additional attributes.

  • Post live chat ended with topic details.

    Declaration

    Objective-C

    + (void)postLiveChatEndedWithTopic:(nonnull NSString *)topic
                       withOrderNumber:(nonnull NSString *)orderNumber
                        withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postLiveChatEnded(withTopic topic: String, withOrderNumber orderNumber: String, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    topic

    topic interested.

    orderNumber

    Order number for which support requested.

    attributes

    Additional attributes.

  • Post ticket created for support details

    Declaration

    Objective-C

    + (void)postTicketCreated:(nonnull NSString *)itemID
                    withTopic:(nonnull NSString *)topic
              withOrderNumber:(nonnull NSString *)orderNumber
               withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postTicketCreated(_ itemID: String, withTopic topic: String, withOrderNumber orderNumber: String, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    itemID

    Item id for which ticket created.

    topic

    Topic interested.

    orderNumber

    Order number for which support requested.

    attributes

    Additional attributes.

  • Post feedback received for support request.

    Declaration

    Objective-C

    + (void)postFeedbackReceived:(nonnull NSString *)feedback
                 withOrderNumber:(nonnull NSString *)orderNumber
                  withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postFeedbackReceived(_ feedback: String, withOrderNumber orderNumber: String, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    feedback

    Feedback received.

    orderNumber

    Order number for which support requested.

    attributes

    Additional attributes.

  • Post quality of service info details.

    Declaration

    Objective-C

    + (void)postQualityOfServiceRated:(nonnull NSString *)comment
                      withOrderNumber:(nonnull NSString *)orderNumber
                         rateOn5Scale:(nonnull NSString *)rating
                       withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postQuality(ofServiceRated comment: String, withOrderNumber orderNumber: String, rateOn5Scale rating: String, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    comment

    Comment about QoS.

    orderNumber

    Order number for which support requested.

    rating

    Rating on 5 point scale.

    attributes

    Additional attributes.