LeviLamina
Loading...
Searching...
No Matches
IPurchaseEventing.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/store/iap/PurchasePath.h"
7#include "mc/client/store/iap/RealmsOfferPeriod.h"
8#include "mc/client/store/iap/RealmsOfferTier.h"
9#include "mc/client/store/iap/RealmsPurchaseIntent.h"
10#include "mc/client/store/iap/transactions/RealmsPurchaseFlow.h"
11#include "mc/events/RealmsPurchaseStage.h"
12#include "mc/events/RealmsPurchaseStatus.h"
13#include "mc/events/RealmsPurchaseTelemetryFailureReason.h"
14#include "mc/events/store_event_data/PurchaseResult.h"
15#include "mc/events/store_event_data/StoreType.h"
16
17// auto generated forward declare list
18// clang-format off
19struct Offer;
20struct PlatformOfferPurchaseDetails;
21struct ProductSku;
22// clang-format on
23
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual ~IPurchaseEventing() = default;
29
30 virtual void fireEventIAPPurchaseAttempt(::std::string const&, ::std::string const&, ::Offer&, ::PurchasePath) = 0;
31
32 virtual void fireEventIAPPurchaseResolved(
33 ::std::string const&,
34 ::std::string const&,
35 ::Offer&,
36 ::StoreEventData::PurchaseResult,
37 ::PurchasePath
38 ) = 0;
39
40 virtual void
41 fireEventIAPRedeemAttempt(::std::string const&, ::std::string const&, ::std::string const&, ::PurchasePath) = 0;
42
43 virtual void fireEventIAPRedeemResolved(
44 ::std::string const&,
45 ::std::string const&,
46 ::std::string const&,
47 ::StoreEventData::PurchaseResult,
48 ::PurchasePath
49 ) = 0;
50
51 virtual void fireEventPurchaseAttempt(
52 ::std::string const&,
53 ::std::string const&,
54 ::std::string const&,
55 ::StoreEventData::StoreType,
56 ::PurchasePath,
57 ::std::optional<uint64>
58 ) = 0;
59
60 virtual void fireEventPurchaseResolved(
61 ::std::string const&,
62 ::std::string const&,
63 ::std::string const&,
64 ::StoreEventData::StoreType,
65 ::StoreEventData::PurchaseResult,
66 ::PurchasePath,
67 ::std::optional<uint64>
68 ) = 0;
69
70 virtual void fireEventUnfulfilledPurchaseFound(::PlatformOfferPurchaseDetails&) = 0;
71
72 virtual void fireEventRealmsPurchase(
73 ::std::string const&,
74 ::RealmsPurchaseFlow,
75 ::RealmsPurchaseIntent,
76 ::RealmsOfferPeriod,
77 ::RealmsOfferTier,
78 bool,
79 ::ProductSku const&,
80 ::RealmsPurchaseStage,
81 ::RealmsPurchaseStatus,
82 ::RealmsPurchaseTelemetryFailureReason,
83 ::std::vector<::Offer*> const&
84 ) = 0;
85 // NOLINTEND
86
87public:
88 // virtual function thunks
89 // NOLINTBEGIN
90
91 // NOLINTEND
92};
Definition IPurchaseEventing.h:24