/* Options: Date: 2026-08-17 09:11:27 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: GiftCardRefundCreditRequest.* //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="/GiftCard/RefundCredit", Verbs="POST") public static class GiftCardRefundCreditRequest implements IReturn { public Integer giftCardId = null; public String code = null; public Integer amountMinor = null; public String orderPaymentReference = null; public String idempotencyKey = null; public String note = null; public Integer getGiftCardId() { return giftCardId; } public GiftCardRefundCreditRequest setGiftCardId(Integer value) { this.giftCardId = value; return this; } public String getCode() { return code; } public GiftCardRefundCreditRequest setCode(String value) { this.code = value; return this; } public Integer getAmountMinor() { return amountMinor; } public GiftCardRefundCreditRequest setAmountMinor(Integer value) { this.amountMinor = value; return this; } public String getOrderPaymentReference() { return orderPaymentReference; } public GiftCardRefundCreditRequest setOrderPaymentReference(String value) { this.orderPaymentReference = value; return this; } public String getIdempotencyKey() { return idempotencyKey; } public GiftCardRefundCreditRequest setIdempotencyKey(String value) { this.idempotencyKey = value; return this; } public String getNote() { return note; } public GiftCardRefundCreditRequest setNote(String value) { this.note = value; return this; } private static Object responseType = GiftCardRedeemResult.class; public Object getResponseType() { return responseType; } } public static class GiftCardRedeemResult { public Boolean ok = null; public String reason = null; public LocalizedMessage message = null; public Integer redeemedAmountMinor = null; public Integer newBalanceMinor = null; public Integer transactionId = null; public String settlementTag = null; public Integer statusCode = null; public Boolean isOk() { return ok; } public GiftCardRedeemResult setOk(Boolean value) { this.ok = value; return this; } public String getReason() { return reason; } public GiftCardRedeemResult setReason(String value) { this.reason = value; return this; } public LocalizedMessage getMessage() { return message; } public GiftCardRedeemResult setMessage(LocalizedMessage value) { this.message = value; return this; } public Integer getRedeemedAmountMinor() { return redeemedAmountMinor; } public GiftCardRedeemResult setRedeemedAmountMinor(Integer value) { this.redeemedAmountMinor = value; return this; } public Integer getNewBalanceMinor() { return newBalanceMinor; } public GiftCardRedeemResult setNewBalanceMinor(Integer value) { this.newBalanceMinor = value; return this; } public Integer getTransactionId() { return transactionId; } public GiftCardRedeemResult setTransactionId(Integer value) { this.transactionId = value; return this; } public String getSettlementTag() { return settlementTag; } public GiftCardRedeemResult setSettlementTag(String value) { this.settlementTag = value; return this; } public Integer getStatusCode() { return statusCode; } public GiftCardRedeemResult 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; } } }