-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Billing message handler, persistence layer, service layer (#1134)
Signed-off-by: Angelica Ochoa <[email protected]>
- Loading branch information
Showing
8 changed files
with
205 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
model/src/main/java/org/mskcc/smile/model/tempo/json/SampleBillingJson.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
package org.mskcc.smile.model.tempo.json; | ||
|
||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import java.io.Serializable; | ||
import org.apache.commons.lang.builder.ToStringBuilder; | ||
|
||
/** | ||
* | ||
* @author ochoaa | ||
*/ | ||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
public class SampleBillingJson implements Serializable { | ||
@JsonProperty("primaryId") | ||
private String primaryId; | ||
@JsonProperty("billed") | ||
private Boolean billed; | ||
@JsonProperty("billedBy") | ||
private String billedBy; | ||
@JsonProperty("costCenter") | ||
private String costCenter; | ||
|
||
public SampleBillingJson() {} | ||
|
||
public String getPrimaryId() { | ||
return primaryId; | ||
} | ||
|
||
public void setPrimaryId(String primaryId) { | ||
this.primaryId = primaryId; | ||
} | ||
|
||
public Boolean getBilled() { | ||
return billed; | ||
} | ||
|
||
public void setBilled(Boolean billed) { | ||
this.billed = billed; | ||
} | ||
|
||
public String getBilledBy() { | ||
return billedBy; | ||
} | ||
|
||
public void setBilledBy(String billedBy) { | ||
this.billedBy = billedBy; | ||
} | ||
|
||
public String getCostCenter() { | ||
return costCenter; | ||
} | ||
|
||
public void setCostCenter(String costCenter) { | ||
this.costCenter = costCenter; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return ToStringBuilder.reflectionToString(this); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters