All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.global.api.entities.enums.MerchantAccountsSortProperty Maven / Gradle / Ivy

package com.global.api.entities.enums;

import java.util.HashMap;

public enum MerchantAccountsSortProperty implements IMappedConstant {

    TIME_CREATED(new HashMap() {{
        put(Target.GP_API, "TIME_CREATED");
    }});

    final HashMap value;
    MerchantAccountsSortProperty(HashMap value){
        this.value = value;
    }

    public byte[] getBytes(Target target) {
        if(value.containsKey(target)) {
            return this.value.get(target).getBytes();
        }
        return null;
    }

    @Override
    public String getValue(Target target) {
        if(value.containsKey(target)) {
            return this.value.get(target);
        }
        return null;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy