/* Options: Date: 2024-12-29 02:43:23 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CRMDonationUpsertRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.* import java.util.* import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* @Route(Path="/DynamicsCRM/Donation/Upsert", Verbs="POST") open class CRMDonationUpsertRequest : IReturn { var regent_id:Int? = null var soft_credit_regent_id:Int? = null var soft_credit_second_regent_id:Int? = null var import_id:Int? = null var is_contact:Boolean? = null var is_account:Boolean? = null var name:String? = null var description:String? = null var total_pledge_amount:BigDecimal? = null var receipt_amount:BigDecimal? = null var currency:String? = null var receipting_organization:String? = null @SerializedName("type") var Type:String? = null var gift_date:Date? = null var cheque_number:String? = null var do_not_receipt:Boolean? = null var is_complete:Boolean? = null var anonymous:Boolean? = null var gift_batch:String? = null var source:String? = null var channel:String? = null var designation:String? = null var designation_description:String? = null var campaign:String? = null var campaign_code:String? = null var campaign_description:String? = null var campaign_start_date:Date? = null var campaign_end_date:Date? = null var campaign_goal:BigDecimal? = null var appeal:String? = null var appeal_code:String? = null var appeal_description:String? = null var appeal_start_date:Date? = null var appeal_end_date:Date? = null var appeal_goal:BigDecimal? = null var added_date:Date? = null companion object { private val responseType = ResponseStatus::class.java } override fun getResponseType(): Any? = CRMDonationUpsertRequest.responseType } @DataContract open class ResponseStatus { @DataMember(Order=1) var errorCode:String? = null @DataMember(Order=2) var message:String? = null @DataMember(Order=3) var stackTrace:String? = null @DataMember(Order=4) var errors:ArrayList = ArrayList() @DataMember(Order=5) var meta:HashMap = HashMap() }