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

com.global.api.entities.payroll.PayGroup Maven / Gradle / Ivy

There is a newer version: 14.2.3
Show newest version
package com.global.api.entities.payroll;

import com.global.api.entities.enums.PayGroupFrequency;
import com.global.api.utils.EnumUtils;
import com.global.api.utils.JsonDoc;

public class PayGroup extends PayrollCollectionItem {
    private PayGroupFrequency frequency;

    public PayGroupFrequency getFrequency() {
        return frequency;
    }

    public PayGroup() {
        super("PayGroupId", "PayGroupName");
    }

    void fromJson(JsonDoc doc, PayrollEncoder encoder) {
        super.fromJson(doc, encoder);
        frequency = EnumUtils.parse(PayGroupFrequency.class, doc.getInt("PayFrequency"));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy