/* Options: Date: 2026-11-08 11:32:05 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://devapi.billhighway.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: AchDonation.* //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="/v1.2/payments/ach", Verbs="POST") public static class AchDonation extends AchDonation implements IReturn, ICanBeRecurring, IReturnLegacyException { private static Object responseType = LegacyApiResponse.class; public Object getResponseType() { return responseType; } } @DataContract(Namespace="www.billhighway.com/api") public static class LegacyApiResponse implements IHaveErrorField { @DataMember public BigDecimal amount = null; @DataMember public String confirmationNumber = null; @DataMember public String responseCode = null; @DataMember public String responseDescription = null; @DataMember public ResultCode resultCode = null; public BigDecimal getAmount() { return amount; } public LegacyApiResponse setAmount(BigDecimal value) { this.amount = value; return this; } public String getConfirmationNumber() { return confirmationNumber; } public LegacyApiResponse setConfirmationNumber(String value) { this.confirmationNumber = value; return this; } public String getResponseCode() { return responseCode; } public LegacyApiResponse setResponseCode(String value) { this.responseCode = value; return this; } public String getResponseDescription() { return responseDescription; } public LegacyApiResponse setResponseDescription(String value) { this.responseDescription = value; return this; } public ResultCode getResultCode() { return resultCode; } public LegacyApiResponse setResultCode(ResultCode value) { this.resultCode = value; return this; } } public static interface ICanBeRecurring { public String Occurs = null; public String NumberOfOccurences = null; } public static interface IReturnLegacyException { } public static class AchDonation { public Integer ClientId = null; public Integer GroupId = null; public BigDecimal Amount = null; public String RoutingNumber = null; public String AccountNumber = null; public String PayerName = null; public String CheckNumber = null; public String EmailAddress = null; public String Memo = null; public String Occurs = null; public String NumberOfOccurences = null; public Integer getClientId() { return ClientId; } public AchDonation setClientId(Integer value) { this.ClientId = value; return this; } public Integer getGroupId() { return GroupId; } public AchDonation setGroupId(Integer value) { this.GroupId = value; return this; } public BigDecimal getAmount() { return Amount; } public AchDonation setAmount(BigDecimal value) { this.Amount = value; return this; } public String getRoutingNumber() { return RoutingNumber; } public AchDonation setRoutingNumber(String value) { this.RoutingNumber = value; return this; } public String getAccountNumber() { return AccountNumber; } public AchDonation setAccountNumber(String value) { this.AccountNumber = value; return this; } public String getPayerName() { return PayerName; } public AchDonation setPayerName(String value) { this.PayerName = value; return this; } public String getCheckNumber() { return CheckNumber; } public AchDonation setCheckNumber(String value) { this.CheckNumber = value; return this; } public String getEmailAddress() { return EmailAddress; } public AchDonation setEmailAddress(String value) { this.EmailAddress = value; return this; } public String getMemo() { return Memo; } public AchDonation setMemo(String value) { this.Memo = value; return this; } public String getOccurs() { return Occurs; } public AchDonation setOccurs(String value) { this.Occurs = value; return this; } public String getNumberOfOccurences() { return NumberOfOccurences; } public AchDonation setNumberOfOccurences(String value) { this.NumberOfOccurences = value; return this; } } public static interface IHaveErrorField { public Boolean IsError = null; } public static interface IHaveErrorField { public Boolean IsError = null; } public static enum ResultCode { @SerializedName("0") Success(0), @SerializedName("-7") Duplicate(-7), @SerializedName("-6") NotAvailable(-6), @SerializedName("-5") NotFound(-5), @SerializedName("-4") GeneralError(-4), @SerializedName("-3") UnexpectedError(-3), @SerializedName("-2") CreditCardDeclined(-2), @SerializedName("-1") DataValidationFailure(-1); private final int value; ResultCode(final int intValue) { value = intValue; } public int getValue() { return value; } } }