/* Options: Date: 2026-11-08 11:30:56 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: CreditCardRefund.* //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/refund", Verbs="POST") public static class CreditCardRefund extends CreditCardRefund 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 CreditCardRefund { public Integer UserId = null; public Integer GroupId = null; public String Location = null; public String CurrencyCode = null; public String GatewayConfirmationNumber = null; public BigDecimal RefundAmount = null; public String Memo = null; public Integer getUserId() { return UserId; } public CreditCardRefund setUserId(Integer value) { this.UserId = value; return this; } public Integer getGroupId() { return GroupId; } public CreditCardRefund setGroupId(Integer value) { this.GroupId = value; return this; } public String getLocation() { return Location; } public CreditCardRefund setLocation(String value) { this.Location = value; return this; } public String getCurrencyCode() { return CurrencyCode; } public CreditCardRefund setCurrencyCode(String value) { this.CurrencyCode = value; return this; } public String getGatewayConfirmationNumber() { return GatewayConfirmationNumber; } public CreditCardRefund setGatewayConfirmationNumber(String value) { this.GatewayConfirmationNumber = value; return this; } public BigDecimal getRefundAmount() { return RefundAmount; } public CreditCardRefund setRefundAmount(BigDecimal value) { this.RefundAmount = value; return this; } public String getMemo() { return Memo; } public CreditCardRefund setMemo(String value) { this.Memo = 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; } }