PyzeCommerceRevenue

@interface PyzeCommerceRevenue : PyzeCustomEvent

PyzeCommerceRevenue

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

Since

v1.0.0
  • Post details of revenue details.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postRevenue:(nonnull NSNumber *)revenue
         withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func post(_ revenue: NSNumber, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    revenue

    Revenue value.

    attributes

    Additional custom attributes app would like to share with server.

  • Post revenue using apple pay details.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postRevenueUsingApplePay:(nonnull NSNumber *)revenue
                      withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func post(usingApplePay revenue: NSNumber, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    revenue

    Revenue value.

    attributes

    Additional custom attributes app would like to share with server.

  • Post revenue details using Samsung play details.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postRevenueUsingSamsungPay:(nonnull NSNumber *)revenue
                        withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func post(usingSamsungPay revenue: NSNumber, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    revenue

    Revenue value.

    attributes

    Additional custom attributes app would like to share with server.

  • Post details of revenue done by GooglePay

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postRevenueUsingGooglePay:(nonnull NSNumber *)revenue
                       withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func post(usingGooglePay revenue: NSNumber, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    revenue

    Revenue value

    attributes

    Additional custom attributes app would like to share with server.

  • Post revenue details

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postRevenue:(nonnull NSNumber *)revenue
        withPaymentInstrument:(nonnull NSString *)paymentInstrument
               withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func post(_ revenue: NSNumber, withPaymentInstrument paymentInstrument: String, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    revenue

    Revenue value.

    paymentInstrument

    Payment instrument used.

    attributes

    Additional custom attributes app would like to share with server.