@qonversion/react-native-sdk
Version:
Qonversion provides full in-app purchases infrastructure, so you do not need to build your own server for receipt validation. Implement in-app subscriptions, validate user receipts, check subscription status, and provide access to your app features and co
22 lines (17 loc) • 456 B
text/typescript
import {ActionType} from "./enums";
import NoCodesError from './NoCodesError';
class NoCodesAction {
type: ActionType;
value: Map<string, string | undefined> | undefined;
error: NoCodesError | undefined;
constructor(
type: ActionType,
value: Map<string, string | undefined> | undefined,
error: NoCodesError | undefined,
) {
this.type = type;
this.value = value;
this.error = error;
}
}
export default NoCodesAction;