/* Options: Date: 2024-12-29 02:41:53 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: CRMDonationsLegacyRequest.* //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/DonationsLegacy", Verbs="POST") public static class CRMDonationsLegacyRequest implements IReturn { private static Object responseType = CRMDonationsResponse.class; public Object getResponseType() { return responseType; } } public static class CRMDonationsResponse { public ResponseStatus responseStatus = null; public ArrayList donations = null; public Date from_date = null; public Date to_date = null; public Integer start_version_number = null; public Integer end_version_number = null; public ResponseStatus getResponseStatus() { return responseStatus; } public CRMDonationsResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } public ArrayList getDonations() { return donations; } public CRMDonationsResponse setDonations(ArrayList value) { this.donations = value; return this; } public Date getFromDate() { return from_date; } public CRMDonationsResponse setFromDate(Date value) { this.from_date = value; return this; } public Date getToDate() { return to_date; } public CRMDonationsResponse setToDate(Date value) { this.to_date = value; return this; } public Integer getStartVersionNumber() { return start_version_number; } public CRMDonationsResponse setStartVersionNumber(Integer value) { this.start_version_number = value; return this; } public Integer getEndVersionNumber() { return end_version_number; } public CRMDonationsResponse setEndVersionNumber(Integer value) { this.end_version_number = value; return this; } } public static class CRMDonationResponse { public Integer regent_id = null; public String contact_addressee = null; public String donor_first_name = null; public String donor_last_name = null; public String donor_addressee = null; public String donor_city = null; public String donor_country = null; public String donor_owner_full_name = null; public Boolean is_contact = null; public Boolean is_account = null; public Integer soft_credit_regent_id = null; public String soft_credit_contact_addressee = null; public String soft_credit_contact_first_name = null; public String soft_credit_contact_last_name = null; public Boolean soft_credit_contact_spouse_is_main_contact = null; public String soft_credit_contact_city = null; public String soft_credit_contact_country = null; public String soft_credit_contact_owner_full_name = null; public String soft_credit_second_regent_id = null; public String soft_credit_second_contact_addressee = null; public String soft_credit_second_contact_first_name = null; public String soft_credit_second_contact_last_name = null; public Boolean soft_credit_second_contact_spouse_is_main_contact = null; public String soft_credit_second_contact_city = null; public String soft_credit_second_contact_country = null; public String soft_credit_second_contact_owner_full_name = null; public Boolean spouse_is_main_contact = null; public Integer import_id = null; public String donation_id = null; public String guid = null; public String name = null; public String description = null; public String appeal_code = null; public String designation = null; public String designation_description = null; public String general_ledger_account_number = null; public String campaign = null; public BigDecimal total_pledge_amount = null; public BigDecimal total_paid_amount = null; public BigDecimal receipt_amount = null; public BigDecimal exchange_rate = null; public BigDecimal total_paid_canadian_amount = null; public Boolean is_recurring = null; public Boolean is_parent_donation = null; public String currency = null; public String source = null; public String channel = null; public String receipting_organization = null; public String type = null; public Boolean acknowledgment_sent = null; public Boolean send_acknowledgment = null; public String acknowledgment_template_guid = null; public String parent_guid = null; public Boolean anonymous = null; public Date gift_date = null; public Date recurring_gift_start_date = null; public Date recurring_gift_end_date = null; public String cheque_number = null; public Integer version_number = null; public Date added_date = null; public Integer getRegentId() { return regent_id; } public CRMDonationResponse setRegentId(Integer value) { this.regent_id = value; return this; } public String getContactAddressee() { return contact_addressee; } public CRMDonationResponse setContactAddressee(String value) { this.contact_addressee = value; return this; } public String getDonorFirstName() { return donor_first_name; } public CRMDonationResponse setDonorFirstName(String value) { this.donor_first_name = value; return this; } public String getDonorLastName() { return donor_last_name; } public CRMDonationResponse setDonorLastName(String value) { this.donor_last_name = value; return this; } public String getDonorAddressee() { return donor_addressee; } public CRMDonationResponse setDonorAddressee(String value) { this.donor_addressee = value; return this; } public String getDonorCity() { return donor_city; } public CRMDonationResponse setDonorCity(String value) { this.donor_city = value; return this; } public String getDonorCountry() { return donor_country; } public CRMDonationResponse setDonorCountry(String value) { this.donor_country = value; return this; } public String getDonorOwnerFullName() { return donor_owner_full_name; } public CRMDonationResponse setDonorOwnerFullName(String value) { this.donor_owner_full_name = value; return this; } public Boolean getIsContact() { return is_contact; } public CRMDonationResponse setIsContact(Boolean value) { this.is_contact = value; return this; } public Boolean getIsAccount() { return is_account; } public CRMDonationResponse setIsAccount(Boolean value) { this.is_account = value; return this; } public Integer getSoftCreditRegentId() { return soft_credit_regent_id; } public CRMDonationResponse setSoftCreditRegentId(Integer value) { this.soft_credit_regent_id = value; return this; } public String getSoftCreditContactAddressee() { return soft_credit_contact_addressee; } public CRMDonationResponse setSoftCreditContactAddressee(String value) { this.soft_credit_contact_addressee = value; return this; } public String getSoftCreditContactFirstName() { return soft_credit_contact_first_name; } public CRMDonationResponse setSoftCreditContactFirstName(String value) { this.soft_credit_contact_first_name = value; return this; } public String getSoftCreditContactLastName() { return soft_credit_contact_last_name; } public CRMDonationResponse setSoftCreditContactLastName(String value) { this.soft_credit_contact_last_name = value; return this; } public Boolean isSoftCreditContactSpouseIsMainContact() { return soft_credit_contact_spouse_is_main_contact; } public CRMDonationResponse setSoftCreditContactSpouseIsMainContact(Boolean value) { this.soft_credit_contact_spouse_is_main_contact = value; return this; } public String getSoftCreditContactCity() { return soft_credit_contact_city; } public CRMDonationResponse setSoftCreditContactCity(String value) { this.soft_credit_contact_city = value; return this; } public String getSoftCreditContactCountry() { return soft_credit_contact_country; } public CRMDonationResponse setSoftCreditContactCountry(String value) { this.soft_credit_contact_country = value; return this; } public String getSoftCreditContactOwnerFullName() { return soft_credit_contact_owner_full_name; } public CRMDonationResponse setSoftCreditContactOwnerFullName(String value) { this.soft_credit_contact_owner_full_name = value; return this; } public String getSoftCreditSecondRegentId() { return soft_credit_second_regent_id; } public CRMDonationResponse setSoftCreditSecondRegentId(String value) { this.soft_credit_second_regent_id = value; return this; } public String getSoftCreditSecondContactAddressee() { return soft_credit_second_contact_addressee; } public CRMDonationResponse setSoftCreditSecondContactAddressee(String value) { this.soft_credit_second_contact_addressee = value; return this; } public String getSoftCreditSecondContactFirstName() { return soft_credit_second_contact_first_name; } public CRMDonationResponse setSoftCreditSecondContactFirstName(String value) { this.soft_credit_second_contact_first_name = value; return this; } public String getSoftCreditSecondContactLastName() { return soft_credit_second_contact_last_name; } public CRMDonationResponse setSoftCreditSecondContactLastName(String value) { this.soft_credit_second_contact_last_name = value; return this; } public Boolean isSoftCreditSecondContactSpouseIsMainContact() { return soft_credit_second_contact_spouse_is_main_contact; } public CRMDonationResponse setSoftCreditSecondContactSpouseIsMainContact(Boolean value) { this.soft_credit_second_contact_spouse_is_main_contact = value; return this; } public String getSoftCreditSecondContactCity() { return soft_credit_second_contact_city; } public CRMDonationResponse setSoftCreditSecondContactCity(String value) { this.soft_credit_second_contact_city = value; return this; } public String getSoftCreditSecondContactCountry() { return soft_credit_second_contact_country; } public CRMDonationResponse setSoftCreditSecondContactCountry(String value) { this.soft_credit_second_contact_country = value; return this; } public String getSoftCreditSecondContactOwnerFullName() { return soft_credit_second_contact_owner_full_name; } public CRMDonationResponse setSoftCreditSecondContactOwnerFullName(String value) { this.soft_credit_second_contact_owner_full_name = value; return this; } public Boolean isSpouseIsMainContact() { return spouse_is_main_contact; } public CRMDonationResponse setSpouseIsMainContact(Boolean value) { this.spouse_is_main_contact = value; return this; } public Integer getImportId() { return import_id; } public CRMDonationResponse setImportId(Integer value) { this.import_id = value; return this; } public String getDonationId() { return donation_id; } public CRMDonationResponse setDonationId(String value) { this.donation_id = value; return this; } public String getGuid() { return guid; } public CRMDonationResponse setGuid(String value) { this.guid = value; return this; } public String getName() { return name; } public CRMDonationResponse setName(String value) { this.name = value; return this; } public String getDescription() { return description; } public CRMDonationResponse setDescription(String value) { this.description = value; return this; } public String getAppealCode() { return appeal_code; } public CRMDonationResponse setAppealCode(String value) { this.appeal_code = value; return this; } public String getDesignation() { return designation; } public CRMDonationResponse setDesignation(String value) { this.designation = value; return this; } public String getDesignationDescription() { return designation_description; } public CRMDonationResponse setDesignationDescription(String value) { this.designation_description = value; return this; } public String getGeneralLedgerAccountNumber() { return general_ledger_account_number; } public CRMDonationResponse setGeneralLedgerAccountNumber(String value) { this.general_ledger_account_number = value; return this; } public String getCampaign() { return campaign; } public CRMDonationResponse setCampaign(String value) { this.campaign = value; return this; } public BigDecimal getTotalPledgeAmount() { return total_pledge_amount; } public CRMDonationResponse setTotalPledgeAmount(BigDecimal value) { this.total_pledge_amount = value; return this; } public BigDecimal getTotalPaidAmount() { return total_paid_amount; } public CRMDonationResponse setTotalPaidAmount(BigDecimal value) { this.total_paid_amount = value; return this; } public BigDecimal getReceiptAmount() { return receipt_amount; } public CRMDonationResponse setReceiptAmount(BigDecimal value) { this.receipt_amount = value; return this; } public BigDecimal getExchangeRate() { return exchange_rate; } public CRMDonationResponse setExchangeRate(BigDecimal value) { this.exchange_rate = value; return this; } public BigDecimal getTotalPaidCanadianAmount() { return total_paid_canadian_amount; } public CRMDonationResponse setTotalPaidCanadianAmount(BigDecimal value) { this.total_paid_canadian_amount = value; return this; } public Boolean getIsRecurring() { return is_recurring; } public CRMDonationResponse setIsRecurring(Boolean value) { this.is_recurring = value; return this; } public Boolean getIsParentDonation() { return is_parent_donation; } public CRMDonationResponse setIsParentDonation(Boolean value) { this.is_parent_donation = value; return this; } public String getCurrency() { return currency; } public CRMDonationResponse setCurrency(String value) { this.currency = value; return this; } public String getSource() { return source; } public CRMDonationResponse setSource(String value) { this.source = value; return this; } public String getChannel() { return channel; } public CRMDonationResponse setChannel(String value) { this.channel = value; return this; } public String getReceiptingOrganization() { return receipting_organization; } public CRMDonationResponse setReceiptingOrganization(String value) { this.receipting_organization = value; return this; } public String getType() { return type; } public CRMDonationResponse setType(String value) { this.type = value; return this; } public Boolean isAcknowledgmentSent() { return acknowledgment_sent; } public CRMDonationResponse setAcknowledgmentSent(Boolean value) { this.acknowledgment_sent = value; return this; } public Boolean isSendAcknowledgment() { return send_acknowledgment; } public CRMDonationResponse setSendAcknowledgment(Boolean value) { this.send_acknowledgment = value; return this; } public String getAcknowledgmentTemplateGuid() { return acknowledgment_template_guid; } public CRMDonationResponse setAcknowledgmentTemplateGuid(String value) { this.acknowledgment_template_guid = value; return this; } public String getParentGuid() { return parent_guid; } public CRMDonationResponse setParentGuid(String value) { this.parent_guid = value; return this; } public Boolean isAnonymous() { return anonymous; } public CRMDonationResponse setAnonymous(Boolean value) { this.anonymous = value; return this; } public Date getGiftDate() { return gift_date; } public CRMDonationResponse setGiftDate(Date value) { this.gift_date = value; return this; } public Date getRecurringGiftStartDate() { return recurring_gift_start_date; } public CRMDonationResponse setRecurringGiftStartDate(Date value) { this.recurring_gift_start_date = value; return this; } public Date getRecurringGiftEndDate() { return recurring_gift_end_date; } public CRMDonationResponse setRecurringGiftEndDate(Date value) { this.recurring_gift_end_date = value; return this; } public String getChequeNumber() { return cheque_number; } public CRMDonationResponse setChequeNumber(String value) { this.cheque_number = value; return this; } public Integer getVersionNumber() { return version_number; } public CRMDonationResponse setVersionNumber(Integer value) { this.version_number = value; return this; } public Date getAddedDate() { return added_date; } public CRMDonationResponse setAddedDate(Date value) { this.added_date = value; return this; } } }