package io.hansel.react;

import com.facebook.react.bridge.ReactApplicationContext;

import io.hansel.hanselsdk.Hansel;



public class HanselUserRn {

    private ReactApplicationContext reactContext;

    public HanselUserRn(ReactApplicationContext reactContext) {
        this.reactContext = reactContext;
    }

    public static void putStringAttribute(String key, String value) {
        Hansel.getUser().putAttribute(key, value);
    }

    public static void putDoubleAttribute(String key, double value) {
        Hansel.getUser().putAttribute(key, value);
    }

    public static void putBooleanAttribute(String key, boolean value) {
        Hansel.getUser().putAttribute(key, value);
    }

    public static void putPrivateStringAttribute(String key, String value) {
        Hansel.getUser().putPrivateAttribute(key, value);
    }

    public static void putPrivateDoubleAttribute(String key, double value) {
        Hansel.getUser().putPrivateAttribute(key, value);
    }

    public static void putPrivateBooleanAttribute(String key, boolean value) {
        Hansel.getUser().putPrivateAttribute(key, value);
    }

    public static void setUserId(String userId) {
        Hansel.getUser().setUserId(userId);
    }

    public static void clearAttribute(String key) {
        Hansel.getUser().clearAttribute(key);
    }

    public static void clear() {
        Hansel.getUser().clear();
    }
}
