/* Options: Date: 2026-11-08 11:32:07 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: CreditCardDonationRefund.* //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="/api/creditcard/DonationRefund", Verbs="POST") public static class CreditCardDonationRefund extends CreditCardDonationRefund implements IReturn { private static Object responseType = RefundResponse.class; public Object getResponseType() { return responseType; } } public static class RefundResponse extends CreditCardCloudServiceResponse { public Boolean IsOverpayment = null; public Boolean PaymentNotFound = null; public Boolean getIsOverpayment() { return IsOverpayment; } public RefundResponse setIsOverpayment(Boolean value) { this.IsOverpayment = value; return this; } public Boolean isPaymentNotFound() { return PaymentNotFound; } public RefundResponse setPaymentNotFound(Boolean value) { this.PaymentNotFound = value; return this; } } public static class CreditCardDonationRefund { public Long ConfirmationId = null; public BigDecimal Amount = null; public String Memo = null; public String ReasonId = null; public Long getConfirmationId() { return ConfirmationId; } public CreditCardDonationRefund setConfirmationId(Long value) { this.ConfirmationId = value; return this; } public BigDecimal getAmount() { return Amount; } public CreditCardDonationRefund setAmount(BigDecimal value) { this.Amount = value; return this; } public String getMemo() { return Memo; } public CreditCardDonationRefund setMemo(String value) { this.Memo = value; return this; } public String getReasonId() { return ReasonId; } public CreditCardDonationRefund setReasonId(String value) { this.ReasonId = value; return this; } } public static interface IHaveErrorField { public Boolean IsError = null; } public static class CreditCardCloudServiceResponse implements IHaveErrorField { public Boolean IsDuplicate = null; public Boolean IsSuccessful = null; public String ErrorCode = null; public String Message = null; public Integer GatewayId = null; public String ConfirmationNumber = null; public String NetworkTransactionId = null; public Boolean IsError = null; public Boolean getIsDuplicate() { return IsDuplicate; } public CreditCardCloudServiceResponse setIsDuplicate(Boolean value) { this.IsDuplicate = value; return this; } public Boolean getIsSuccessful() { return IsSuccessful; } public CreditCardCloudServiceResponse setIsSuccessful(Boolean value) { this.IsSuccessful = value; return this; } public String getErrorCode() { return ErrorCode; } public CreditCardCloudServiceResponse setErrorCode(String value) { this.ErrorCode = value; return this; } public String getMessage() { return Message; } public CreditCardCloudServiceResponse setMessage(String value) { this.Message = value; return this; } public Integer getGatewayId() { return GatewayId; } public CreditCardCloudServiceResponse setGatewayId(Integer value) { this.GatewayId = value; return this; } public String getConfirmationNumber() { return ConfirmationNumber; } public CreditCardCloudServiceResponse setConfirmationNumber(String value) { this.ConfirmationNumber = value; return this; } public String getNetworkTransactionId() { return NetworkTransactionId; } public CreditCardCloudServiceResponse setNetworkTransactionId(String value) { this.NetworkTransactionId = value; return this; } public Boolean getIsError() { return IsError; } public CreditCardCloudServiceResponse setIsError(Boolean value) { this.IsError = value; return this; } } public static interface IHaveErrorField { public Boolean IsError = null; } }