Skip to content

Commit

Permalink
Merge pull request #286 from fayranne/fixesForNewPayBillEntities
Browse files Browse the repository at this point in the history
Fixes for new pay bill entities
  • Loading branch information
johnsully83 authored Apr 17, 2020
2 parents 325f3c8 + 3d03be2 commit 671721a
Show file tree
Hide file tree
Showing 15 changed files with 9,752 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.bullhorn</groupId>
<artifactId>sdk-rest</artifactId>
<version>1.3.0</version>
<version>1.3.1</version>
<packaging>jar</packaging>

<name>Bullhorn REST SDK</name>
Expand Down
11 changes: 11 additions & 0 deletions src/main/java/com/bullhornsdk/data/api/mock/MockDataLoader.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ import com.bullhornsdk.data.model.entity.core.customobjectinstances.placement.Pl
import com.bullhornsdk.data.model.entity.core.customobjectinstances.placement.PlacementCustomObjectInstance9
import com.bullhornsdk.data.model.entity.core.edithistory.EditHistory
import com.bullhornsdk.data.model.entity.core.edithistory.FieldChange
import com.bullhornsdk.data.model.entity.core.paybill.BillingProfile
import com.bullhornsdk.data.model.entity.core.paybill.Location
import com.bullhornsdk.data.model.entity.core.paybill.invoice.InvoiceTerm
import com.bullhornsdk.data.model.entity.core.standard.*
import com.bullhornsdk.data.model.entity.core.type.BullhornEntity
import com.bullhornsdk.data.model.entity.core.type.SearchEntity
Expand Down Expand Up @@ -497,6 +500,10 @@ public class MockDataLoader {
entityFiles.put(WorkersCompensation.class, "workerscompensation-data.txt");
entityFiles.put(WorkersCompensationRate.class, "workerscompensationrate-data.txt");

entityFiles.put(BillingProfile.class, "paybill/billingprofile-data.txt");
entityFiles.put(InvoiceTerm.class, "paybill/invoiceterm-data.txt");
entityFiles.put(Location.class, "paybill/location-data.txt");

entityFiles.put(JobOrderCustomObjectInstance1.class, "customobjectinstances/jobordercustomobjectinstance1-data.txt");
entityFiles.put(JobOrderCustomObjectInstance2.class, "customobjectinstances/jobordercustomobjectinstance2-data.txt");
entityFiles.put(JobOrderCustomObjectInstance3.class, "customobjectinstances/jobordercustomobjectinstance3-data.txt");
Expand Down Expand Up @@ -642,6 +649,10 @@ public class MockDataLoader {
entityMetaFiles.put(WorkersCompensation.class, "meta/workerscompensation-meta-data.txt");
entityMetaFiles.put(WorkersCompensationRate.class, "meta/workerscompensationrate-meta-data.txt");

entityMetaFiles.put(BillingProfile.class, "meta/paybill/billingprofile-meta-data.txt");
entityMetaFiles.put(Location.class, "meta/paybill/location-meta-data.txt");
entityMetaFiles.put(InvoiceTerm.class, "meta/paybill/invoiceterm-meta-data.txt");

entityMetaFiles.put(JobOrderCustomObjectInstance1.class, "meta/customobjectinstances/jobordercustomobjectinstance1-meta-data.txt");
entityMetaFiles.put(JobOrderCustomObjectInstance2.class, "meta/customobjectinstances/jobordercustomobjectinstance2-meta-data.txt");
entityMetaFiles.put(JobOrderCustomObjectInstance3.class, "meta/customobjectinstances/jobordercustomobjectinstance3-meta-data.txt");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@
import com.bullhornsdk.data.model.entity.core.customobjectinstances.placement.PlacementCustomObjectInstance7;
import com.bullhornsdk.data.model.entity.core.customobjectinstances.placement.PlacementCustomObjectInstance8;
import com.bullhornsdk.data.model.entity.core.customobjectinstances.placement.PlacementCustomObjectInstance9;
import com.bullhornsdk.data.model.entity.core.paybill.BillingProfile;
import com.bullhornsdk.data.model.entity.core.paybill.Location;
import com.bullhornsdk.data.model.entity.core.paybill.invoice.InvoiceTerm;
import com.bullhornsdk.data.model.entity.core.standard.*;
import com.bullhornsdk.data.model.entity.core.type.BullhornEntity;
import com.bullhornsdk.data.model.entity.embedded.UserType;
Expand Down Expand Up @@ -213,6 +216,10 @@ public enum BullhornEntityInfo {
WORKERS_COMPENSATION("WorkersCompensation", WorkersCompensation.class, WorkersCompensationWrapper.class, WorkersCompensationListWrapper.class, null, null),
WORKERS_COMPENSATION_RATE("WorkersCompensationRate", WorkersCompensationRate.class, WorkersCompensationRateWrapper.class, WorkersCompensationRateListWrapper.class, null, null),

LOCATION("Location", Location.class, LocationWrapper.class, LocationListWrapper.class, null, null),
BILLING_PROFILE("BillingProfile", BillingProfile.class, BillingProfileWrapper.class, BillingProfileListWrapper.class, null, null),
INVOICE_TERM("InvoiceTerm", InvoiceTerm.class, InvoiceTermWrapper.class, InvoiceTermListWrapper.class, null, null),

JOB_ORDER_CUSTOM_OBJECT_INSTANCE_1("JobOrderCustomObjectInstance1", JobOrderCustomObjectInstance1.class, JobOrderCustomObjectInstance1Wrapper.class, JobOrderCustomObjectInstance1ListWrapper.class, "JobOrderCustomObject1EditHistory", "JobOrderCustomObjectEditHistoryFieldChange"),
JOB_ORDER_CUSTOM_OBJECT_INSTANCE_2("JobOrderCustomObjectInstance2", JobOrderCustomObjectInstance2.class, JobOrderCustomObjectInstance2Wrapper.class, JobOrderCustomObjectInstance2ListWrapper.class, "JobOrderCustomObject2EditHistory", "JobOrderCustomObjectEditHistoryFieldChange"),
JOB_ORDER_CUSTOM_OBJECT_INSTANCE_3("JobOrderCustomObjectInstance3", JobOrderCustomObjectInstance3.class, JobOrderCustomObjectInstance3Wrapper.class, JobOrderCustomObjectInstance3ListWrapper.class, "JobOrderCustomObject3EditHistory", "JobOrderCustomObjectEditHistoryFieldChange"),
Expand Down
Loading

0 comments on commit 671721a

Please sign in to comment.