/* Options: Date: 2025-04-10 06:56:18 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: CRMDonationUpsertRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/DynamicsCRM/Donation/Upsert", Verbs="POST") public static class CRMDonationUpsertRequest implements IReturn { public Integer regent_id = null; public Integer soft_credit_regent_id = null; public Integer soft_credit_second_regent_id = null; public Integer import_id = null; public Boolean is_contact = null; public Boolean is_account = null; public String name = null; public String description = null; public BigDecimal total_pledge_amount = null; public BigDecimal receipt_amount = null; public String currency = null; public String receipting_organization = null; public String type = null; public Date gift_date = null; public String cheque_number = null; public Boolean do_not_receipt = null; public Boolean is_complete = null; public Boolean anonymous = null; public String gift_batch = null; public String source = null; public String channel = null; public String designation = null; public String designation_description = null; public String campaign = null; public String campaign_code = null; public String campaign_description = null; public Date campaign_start_date = null; public Date campaign_end_date = null; public BigDecimal campaign_goal = null; public String appeal = null; public String appeal_code = null; public String appeal_description = null; public Date appeal_start_date = null; public Date appeal_end_date = null; public BigDecimal appeal_goal = null; public Date added_date = null; public Integer getRegentId() { return regent_id; } public CRMDonationUpsertRequest setRegentId(Integer value) { this.regent_id = value; return this; } public Integer getSoftCreditRegentId() { return soft_credit_regent_id; } public CRMDonationUpsertRequest setSoftCreditRegentId(Integer value) { this.soft_credit_regent_id = value; return this; } public Integer getSoftCreditSecondRegentId() { return soft_credit_second_regent_id; } public CRMDonationUpsertRequest setSoftCreditSecondRegentId(Integer value) { this.soft_credit_second_regent_id = value; return this; } public Integer getImportId() { return import_id; } public CRMDonationUpsertRequest setImportId(Integer value) { this.import_id = value; return this; } public Boolean getIsContact() { return is_contact; } public CRMDonationUpsertRequest setIsContact(Boolean value) { this.is_contact = value; return this; } public Boolean getIsAccount() { return is_account; } public CRMDonationUpsertRequest setIsAccount(Boolean value) { this.is_account = value; return this; } public String getName() { return name; } public CRMDonationUpsertRequest setName(String value) { this.name = value; return this; } public String getDescription() { return description; } public CRMDonationUpsertRequest setDescription(String value) { this.description = value; return this; } public BigDecimal getTotalPledgeAmount() { return total_pledge_amount; } public CRMDonationUpsertRequest setTotalPledgeAmount(BigDecimal value) { this.total_pledge_amount = value; return this; } public BigDecimal getReceiptAmount() { return receipt_amount; } public CRMDonationUpsertRequest setReceiptAmount(BigDecimal value) { this.receipt_amount = value; return this; } public String getCurrency() { return currency; } public CRMDonationUpsertRequest setCurrency(String value) { this.currency = value; return this; } public String getReceiptingOrganization() { return receipting_organization; } public CRMDonationUpsertRequest setReceiptingOrganization(String value) { this.receipting_organization = value; return this; } public String getType() { return type; } public CRMDonationUpsertRequest setType(String value) { this.type = value; return this; } public Date getGiftDate() { return gift_date; } public CRMDonationUpsertRequest setGiftDate(Date value) { this.gift_date = value; return this; } public String getChequeNumber() { return cheque_number; } public CRMDonationUpsertRequest setChequeNumber(String value) { this.cheque_number = value; return this; } public Boolean isDoNotReceipt() { return do_not_receipt; } public CRMDonationUpsertRequest setDoNotReceipt(Boolean value) { this.do_not_receipt = value; return this; } public Boolean getIsComplete() { return is_complete; } public CRMDonationUpsertRequest setIsComplete(Boolean value) { this.is_complete = value; return this; } public Boolean isAnonymous() { return anonymous; } public CRMDonationUpsertRequest setAnonymous(Boolean value) { this.anonymous = value; return this; } public String getGiftBatch() { return gift_batch; } public CRMDonationUpsertRequest setGiftBatch(String value) { this.gift_batch = value; return this; } public String getSource() { return source; } public CRMDonationUpsertRequest setSource(String value) { this.source = value; return this; } public String getChannel() { return channel; } public CRMDonationUpsertRequest setChannel(String value) { this.channel = value; return this; } public String getDesignation() { return designation; } public CRMDonationUpsertRequest setDesignation(String value) { this.designation = value; return this; } public String getDesignationDescription() { return designation_description; } public CRMDonationUpsertRequest setDesignationDescription(String value) { this.designation_description = value; return this; } public String getCampaign() { return campaign; } public CRMDonationUpsertRequest setCampaign(String value) { this.campaign = value; return this; } public String getCampaignCode() { return campaign_code; } public CRMDonationUpsertRequest setCampaignCode(String value) { this.campaign_code = value; return this; } public String getCampaignDescription() { return campaign_description; } public CRMDonationUpsertRequest setCampaignDescription(String value) { this.campaign_description = value; return this; } public Date getCampaignStartDate() { return campaign_start_date; } public CRMDonationUpsertRequest setCampaignStartDate(Date value) { this.campaign_start_date = value; return this; } public Date getCampaignEndDate() { return campaign_end_date; } public CRMDonationUpsertRequest setCampaignEndDate(Date value) { this.campaign_end_date = value; return this; } public BigDecimal getCampaignGoal() { return campaign_goal; } public CRMDonationUpsertRequest setCampaignGoal(BigDecimal value) { this.campaign_goal = value; return this; } public String getAppeal() { return appeal; } public CRMDonationUpsertRequest setAppeal(String value) { this.appeal = value; return this; } public String getAppealCode() { return appeal_code; } public CRMDonationUpsertRequest setAppealCode(String value) { this.appeal_code = value; return this; } public String getAppealDescription() { return appeal_description; } public CRMDonationUpsertRequest setAppealDescription(String value) { this.appeal_description = value; return this; } public Date getAppealStartDate() { return appeal_start_date; } public CRMDonationUpsertRequest setAppealStartDate(Date value) { this.appeal_start_date = value; return this; } public Date getAppealEndDate() { return appeal_end_date; } public CRMDonationUpsertRequest setAppealEndDate(Date value) { this.appeal_end_date = value; return this; } public BigDecimal getAppealGoal() { return appeal_goal; } public CRMDonationUpsertRequest setAppealGoal(BigDecimal value) { this.appeal_goal = value; return this; } public Date getAddedDate() { return added_date; } public CRMDonationUpsertRequest setAddedDate(Date value) { this.added_date = value; return this; } private static Object responseType = ResponseStatus.class; public Object getResponseType() { return responseType; } } @DataContract public static class ResponseStatus { @DataMember(Order=1) public String errorCode = null; @DataMember(Order=2) public String message = null; @DataMember(Order=3) public String stackTrace = null; @DataMember(Order=4) public ArrayList errors = null; @DataMember(Order=5) public HashMap meta = null; public String getErrorCode() { return errorCode; } public ResponseStatus setErrorCode(String value) { this.errorCode = value; return this; } public String getMessage() { return message; } public ResponseStatus setMessage(String value) { this.message = value; return this; } public String getStackTrace() { return stackTrace; } public ResponseStatus setStackTrace(String value) { this.stackTrace = value; return this; } public ArrayList getErrors() { return errors; } public ResponseStatus setErrors(ArrayList value) { this.errors = value; return this; } public HashMap getMeta() { return meta; } public ResponseStatus setMeta(HashMap value) { this.meta = value; return this; } } }