/* Options: Date: 2026-08-17 09:13:49 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stubbur-app.azurewebsites.net //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: WebshopOrderRefundRequest.* //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="/Webshop/Order/Refund", Verbs="POST") public static class WebshopOrderRefundRequest implements IReturn { public Integer orderId = null; public String orderReference = null; public ArrayList lineIds = null; public Boolean restockLines = null; public String idempotencyKey = null; public Integer ownerId = null; public Integer getOrderId() { return orderId; } public WebshopOrderRefundRequest setOrderId(Integer value) { this.orderId = value; return this; } public String getOrderReference() { return orderReference; } public WebshopOrderRefundRequest setOrderReference(String value) { this.orderReference = value; return this; } public ArrayList getLineIds() { return lineIds; } public WebshopOrderRefundRequest setLineIds(ArrayList value) { this.lineIds = value; return this; } public Boolean isRestockLines() { return restockLines; } public WebshopOrderRefundRequest setRestockLines(Boolean value) { this.restockLines = value; return this; } public String getIdempotencyKey() { return idempotencyKey; } public WebshopOrderRefundRequest setIdempotencyKey(String value) { this.idempotencyKey = value; return this; } public Integer getOwnerId() { return ownerId; } public WebshopOrderRefundRequest setOwnerId(Integer value) { this.ownerId = value; return this; } private static Object responseType = WebshopRefundResult.class; public Object getResponseType() { return responseType; } } public static class WebshopRefundResult { public Boolean success = null; public Boolean partial = null; public Integer refundedAmountMinor = null; public String borgunRefundTransactionId = null; public String status = null; public LocalizedMessage message = null; public Integer statusCode = null; public Boolean isSuccess() { return success; } public WebshopRefundResult setSuccess(Boolean value) { this.success = value; return this; } public Boolean isPartial() { return partial; } public WebshopRefundResult setPartial(Boolean value) { this.partial = value; return this; } public Integer getRefundedAmountMinor() { return refundedAmountMinor; } public WebshopRefundResult setRefundedAmountMinor(Integer value) { this.refundedAmountMinor = value; return this; } public String getBorgunRefundTransactionId() { return borgunRefundTransactionId; } public WebshopRefundResult setBorgunRefundTransactionId(String value) { this.borgunRefundTransactionId = value; return this; } public String getStatus() { return status; } public WebshopRefundResult setStatus(String value) { this.status = value; return this; } public LocalizedMessage getMessage() { return message; } public WebshopRefundResult setMessage(LocalizedMessage value) { this.message = value; return this; } public Integer getStatusCode() { return statusCode; } public WebshopRefundResult setStatusCode(Integer value) { this.statusCode = value; return this; } } public static class LocalizedMessage { public String is = null; public String en = null; public String getIs() { return is; } public LocalizedMessage setIs(String value) { this.is = value; return this; } public String getEn() { return en; } public LocalizedMessage setEn(String value) { this.en = value; return this; } } }