/* Options: Date: 2024-12-29 03:39:22 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: CRMPaymentsRequest.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using regis.DynamicsCRM.Responses; using regis.DynamicsCRM.Requests; namespace regis.DynamicsCRM.Requests { [Route("/DynamicsCRM/Payments", "POST")] public partial class CRMPaymentsRequest : IReturn { public virtual DateTime? from_date { get; set; } public virtual DateTime? to_date { get; set; } public virtual int? regent_id { get; set; } public virtual int? start_version_number { get; set; } public virtual int? end_version_number { get; set; } public virtual bool recurring_only { get; set; } public virtual bool completed_only { get; set; } } } namespace regis.DynamicsCRM.Responses { public partial class CRMPaymentResponse { public virtual int regent_id { get; set; } public virtual string contact_addressee { get; set; } public virtual string donor_first_name { get; set; } public virtual string donor_last_name { get; set; } public virtual string donor_addressee { get; set; } public virtual string donor_city { get; set; } public virtual string donor_country { get; set; } public virtual string donor_owner_full_name { get; set; } public virtual bool is_contact { get; set; } public virtual bool is_account { get; set; } public virtual int? soft_credit_regent_id { get; set; } public virtual string soft_credit_contact_addressee { get; set; } public virtual string soft_credit_contact_first_name { get; set; } public virtual string soft_credit_contact_last_name { get; set; } public virtual bool soft_credit_contact_spouse_is_main_contact { get; set; } public virtual string soft_credit_contact_city { get; set; } public virtual string soft_credit_contact_country { get; set; } public virtual string soft_credit_contact_owner_full_name { get; set; } public virtual int? soft_credit_second_regent_id { get; set; } public virtual string soft_credit_second_contact_addressee { get; set; } public virtual string soft_credit_second_contact_first_name { get; set; } public virtual string soft_credit_second_contact_last_name { get; set; } public virtual bool soft_credit_second_contact_spouse_is_main_contact { get; set; } public virtual string soft_credit_second_contact_city { get; set; } public virtual string soft_credit_second_contact_country { get; set; } public virtual string soft_credit_second_contact_owner_full_name { get; set; } public virtual bool spouse_is_main_contact { get; set; } public virtual int? import_id { get; set; } public virtual string donation_id { get; set; } public virtual string payment_id { get; set; } public virtual string guid { get; set; } public virtual string name { get; set; } public virtual string description { get; set; } public virtual string appeal_code { get; set; } public virtual string designation { get; set; } public virtual string designation_description { get; set; } public virtual string general_ledger_account_number { get; set; } public virtual string campaign { get; set; } public virtual decimal total_pledge_amount { get; set; } public virtual decimal total_paid_amount { get; set; } public virtual decimal amount { get; set; } public virtual decimal canadian_amount { get; set; } public virtual decimal payment_exchange_rate { get; set; } public virtual decimal receipt_amount { get; set; } public virtual decimal? gift_exchange_rate { get; set; } public virtual decimal? total_paid_canadian_amount { get; set; } public virtual bool is_recurring { get; set; } public virtual bool is_complete { get; set; } public virtual bool is_parent_donation { get; set; } public virtual string currency { get; set; } public virtual string source { get; set; } public virtual string channel { get; set; } public virtual string receipting_organization { get; set; } public virtual string type { get; set; } public virtual bool push_to_gp { get; set; } public virtual DateTime? finance_entry_date { get; set; } public virtual string finance_id { get; set; } public virtual bool acknowledgment_sent { get; set; } public virtual bool send_acknowledgment { get; set; } public virtual string acknowledgment_template_guid { get; set; } public virtual string parent_guid { get; set; } public virtual bool anonymous { get; set; } public virtual DateTime? gift_date { get; set; } public virtual DateTime? recurring_gift_start_date { get; set; } public virtual DateTime? recurring_gift_end_date { get; set; } public virtual DateTime? payment_date { get; set; } public virtual string tax_receipt { get; set; } public virtual DateTime? tax_receipt_date_sent { get; set; } public virtual string cheque_number { get; set; } public virtual int version_number { get; set; } public virtual DateTime? added_date { get; set; } } public partial class CRMPaymentsResponse { public CRMPaymentsResponse() { payments = new List{}; } public virtual ResponseStatus ResponseStatus { get; set; } public virtual List payments { get; set; } public virtual DateTime? from_date { get; set; } public virtual DateTime? to_date { get; set; } public virtual int? start_version_number { get; set; } public virtual int? end_version_number { get; set; } } } namespace ServiceStack { [DataContract] public partial class ResponseStatus : IMeta { public ResponseStatus() { Errors = new List{}; Meta = new Dictionary{}; } [DataMember(Order=1)] public virtual string ErrorCode { get; set; } [DataMember(Order=2)] public virtual string Message { get; set; } [DataMember(Order=3)] public virtual string StackTrace { get; set; } [DataMember(Order=4)] public virtual List Errors { get; set; } [DataMember(Order=5)] public virtual Dictionary Meta { get; set; } } }