/* Options: Date: 2024-12-29 03:33:21 SwiftVersion: 5.0 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: CRMPaymentsRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/DynamicsCRM/Payments", "POST") public class CRMPaymentsRequest : IReturn, Codable { public typealias Return = CRMPaymentsResponse public var from_date:Date? public var to_date:Date? public var regent_id:Int? public var start_version_number:Int? public var end_version_number:Int? public var recurring_only:Bool public var completed_only:Bool required public init(){} } public class CRMPaymentsResponse : Codable { public var responseStatus:ResponseStatus public var payments:[CRMPaymentResponse] = [] public var from_date:Date? public var to_date:Date? public var start_version_number:Int? public var end_version_number:Int? required public init(){} } public class CRMPaymentResponse : Codable { public var regent_id:Int public var contact_addressee:String public var donor_first_name:String public var donor_last_name:String public var donor_addressee:String public var donor_city:String public var donor_country:String public var donor_owner_full_name:String public var is_contact:Bool public var is_account:Bool public var soft_credit_regent_id:Int? public var soft_credit_contact_addressee:String public var soft_credit_contact_first_name:String public var soft_credit_contact_last_name:String public var soft_credit_contact_spouse_is_main_contact:Bool public var soft_credit_contact_city:String public var soft_credit_contact_country:String public var soft_credit_contact_owner_full_name:String public var soft_credit_second_regent_id:Int? public var soft_credit_second_contact_addressee:String public var soft_credit_second_contact_first_name:String public var soft_credit_second_contact_last_name:String public var soft_credit_second_contact_spouse_is_main_contact:Bool public var soft_credit_second_contact_city:String public var soft_credit_second_contact_country:String public var soft_credit_second_contact_owner_full_name:String public var spouse_is_main_contact:Bool public var import_id:Int? public var donation_id:String public var payment_id:String public var guid:String public var name:String public var Description:String public var appeal_code:String public var designation:String public var designation_description:String public var general_ledger_account_number:String public var campaign:String public var total_pledge_amount:Double public var total_paid_amount:Double public var amount:Double public var canadian_amount:Double public var payment_exchange_rate:Double public var receipt_amount:Double public var gift_exchange_rate:Double? public var total_paid_canadian_amount:Double? public var is_recurring:Bool public var is_complete:Bool public var is_parent_donation:Bool public var currency:String public var source:String public var channel:String public var receipting_organization:String public var type:String public var push_to_gp:Bool public var finance_entry_date:Date? public var finance_id:String public var acknowledgment_sent:Bool public var send_acknowledgment:Bool public var acknowledgment_template_guid:String public var parent_guid:String public var anonymous:Bool public var gift_date:Date? public var recurring_gift_start_date:Date? public var recurring_gift_end_date:Date? public var payment_date:Date? public var tax_receipt:String public var tax_receipt_date_sent:Date? public var cheque_number:String public var version_number:Int public var added_date:Date? required public init(){} }