(* Options: Date: 2026-11-08 11:38:57 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://devapi.billhighway.com //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: DonationAchRequest.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace BH.API.CloudApi.Core open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations [] type DonationDonorInfo() = /// ///Name of donor. Maximum 100 characters. Format must be Firstname {space} Lastname. /// [] member val FullName:String = null with get,set /// ///Billing address. Maximum 100 characters. /// [] member val Address:String = null with get,set /// ///Billing city. Maximum 100 characters. /// [] member val City:String = null with get,set /// ///Billing state. Two characters, must match valid US state code. /// [] member val State:String = null with get,set /// ///Credit Card billing address postal code. Maximum 10 characters. /// [] member val PostalCode:String = null with get,set /// ///Email address of donor. Maximum 100 characters. If provided, must be valid email format. /// [] member val EmailAddress:String = null with get,set /// ///Preferred phone number. Maximum 12 characters. /// [] member val Phone:String = null with get,set [] type DonationMemberInfo() = [] member val BhUserId:Int32 = new Int32() with get,set [] type DonationRecurringInfo() = /// ///How often donation is collected automatically /// [] member val Frequency:String = null with get,set /// ///Number of recurring donation cycles. /// [] member val NumberOfOccurrences:Int32 = new Int32() with get,set /// ///Allows the submitter to set a future date for the donation /// [] member val FutureDonationDate:Nullable = new Nullable() with get,set [] type JsonObject() = inherit Dictionary() [] type DonationRequestBase() = /// ///Client value for Group. String must already be configured in Billhighway system. /// [] member val GroupId:String = null with get,set /// ///Amount of the payment. Must be an amount less than $10,000,000.00. /// [] member val Amount:Decimal = new Decimal() with get,set /// ///The currency the payment is being made in. Three digit currency code (see ISO 4217) for a valid currency supported by Billhighway. Defaults to USD /// [] member val CurrencyCode:String = null with get,set /// ///Notes about the donation. Maximum 70 characters. /// [] member val Memo:String = null with get,set [] member val DonationRecurringInfo:DonationRecurringInfo = null with get,set /// ///Custom fields /// [] member val MetaData:JsonObject = null with get,set [] type IDonationRequestWithDonorInfo = abstract DonorInfo:DonationDonorInfo with get,set abstract MemberInfo:DonationMemberInfo with get,set abstract GroupId:String with get,set [] type IHaveErrorField = abstract IsError:Boolean with get,set [] type IHaveErrorField = abstract IsError:Boolean with get,set [] type DonationAchResponse() = /// ///Legacy ErrorCode /// [] [] member val ErrorCode:Int32 = new Int32() with get,set member val ErrorMessage:String = null with get,set member val IsError:Boolean = new Boolean() with get,set /// ///Donation Transaction ID /// [] member val TransactionId:String = null with get,set [] [] type DonationAchRequest() = inherit DonationRequestBase() interface IReturn /// ///Not required if MemberInfo is present on request /// [] member val DonorInfo:DonationDonorInfo = null with get,set /// ///Not required if DonorInfo is present on request /// [] member val MemberInfo:DonationMemberInfo = null with get,set /// ///Use GET /campaigns to retreive valid list of campaignIDs /// [] member val CampaignId:Nullable = new Nullable() with get,set /// ///RoutingNumber and AccountNumber are not required if AchRef is provided /// [] member val AchRef:String = null with get,set /// ///Required if AchRef is not provided /// [] member val RoutingNumber:String = null with get,set /// ///Required if AchRef is not provided /// [] member val AccountNumber:String = null with get,set