/* Options:
Date: 2025-04-13 02:57:20
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: CRMPaymentsDatamartRequest.*
//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/PaymentsDatamart", Verbs="POST")
    // @Route(Path="/DynamicsCRM/PaymentsDatamart/{regent_id}", Verbs="POST")
    public static class CRMPaymentsDatamartRequest implements IReturn<CRMPaymentsDatamartResponse>
    {
        public Integer regent_id = null;
        
        public Integer getRegentId() { return regent_id; }
        public CRMPaymentsDatamartRequest setRegentId(Integer value) { this.regent_id = value; return this; }
        private static Object responseType = CRMPaymentsDatamartResponse.class;
        public Object getResponseType() { return responseType; }
    }

    public static class CRMPaymentsDatamartResponse
    {
        public ArrayList<CRMPaymentDatamartResponse> personal_payments = null;
        public ArrayList<CRMPaymentDatamartResponse> other_payments = null;
        
        public ArrayList<CRMPaymentDatamartResponse> getPersonalPayments() { return personal_payments; }
        public CRMPaymentsDatamartResponse setPersonalPayments(ArrayList<CRMPaymentDatamartResponse> value) { this.personal_payments = value; return this; }
        public ArrayList<CRMPaymentDatamartResponse> getOtherPayments() { return other_payments; }
        public CRMPaymentsDatamartResponse setOtherPayments(ArrayList<CRMPaymentDatamartResponse> value) { this.other_payments = value; return this; }
    }

    public static class CRMPaymentDatamartResponse
    {
        public String guid = null;
        public Integer regent_id = null;
        public String addressee = null;
        public Integer soft_credit_regent_id = null;
        public Integer second_soft_credit_regent_id = null;
        public String donation_id = null;
        public String designation = null;
        public String pretty_designation = null;
        public BigDecimal pledged = null;
        public BigDecimal paid = null;
        public BigDecimal paid_canadian = null;
        public Date payment_date = null;
        
        public String getGuid() { return guid; }
        public CRMPaymentDatamartResponse setGuid(String value) { this.guid = value; return this; }
        public Integer getRegentId() { return regent_id; }
        public CRMPaymentDatamartResponse setRegentId(Integer value) { this.regent_id = value; return this; }
        public String getAddressee() { return addressee; }
        public CRMPaymentDatamartResponse setAddressee(String value) { this.addressee = value; return this; }
        public Integer getSoftCreditRegentId() { return soft_credit_regent_id; }
        public CRMPaymentDatamartResponse setSoftCreditRegentId(Integer value) { this.soft_credit_regent_id = value; return this; }
        public Integer getSecondSoftCreditRegentId() { return second_soft_credit_regent_id; }
        public CRMPaymentDatamartResponse setSecondSoftCreditRegentId(Integer value) { this.second_soft_credit_regent_id = value; return this; }
        public String getDonationId() { return donation_id; }
        public CRMPaymentDatamartResponse setDonationId(String value) { this.donation_id = value; return this; }
        public String getDesignation() { return designation; }
        public CRMPaymentDatamartResponse setDesignation(String value) { this.designation = value; return this; }
        public String getPrettyDesignation() { return pretty_designation; }
        public CRMPaymentDatamartResponse setPrettyDesignation(String value) { this.pretty_designation = value; return this; }
        public BigDecimal getPledged() { return pledged; }
        public CRMPaymentDatamartResponse setPledged(BigDecimal value) { this.pledged = value; return this; }
        public BigDecimal getPaid() { return paid; }
        public CRMPaymentDatamartResponse setPaid(BigDecimal value) { this.paid = value; return this; }
        public BigDecimal getPaidCanadian() { return paid_canadian; }
        public CRMPaymentDatamartResponse setPaidCanadian(BigDecimal value) { this.paid_canadian = value; return this; }
        public Date getPaymentDate() { return payment_date; }
        public CRMPaymentDatamartResponse setPaymentDate(Date value) { this.payment_date = value; return this; }
    }

}