com.global.api.entities.payroll.PayGroup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of globalpayments-sdk Show documentation
Show all versions of globalpayments-sdk Show documentation
API for processing payments through Global Payments
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"));
}
}