/* Options: Date: 2025-12-06 05:36:24 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.sbbet-prod-mnta.webhop.biz //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: ReportBetCancellations.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { @Route(Path="/bets/cancel", Verbs="POST") public static class ReportBetCancellations implements IReturn { public RecordList betCancellations = null; public RecordList getBetCancellations() { return betCancellations; } public ReportBetCancellations setBetCancellations(RecordList value) { this.betCancellations = value; return this; } private static Object responseType = ResponseStatus.class; public Object getResponseType() { return responseType; } } @DataContract public static class ResponseStatus { @DataMember(Order=1) public String errorCode = null; @DataMember(Order=2) public String message = null; @DataMember(Order=3) public String stackTrace = null; @DataMember(Order=4) public ArrayList errors = null; @DataMember(Order=5) public HashMap meta = null; public String getErrorCode() { return errorCode; } public ResponseStatus setErrorCode(String value) { this.errorCode = value; return this; } public String getMessage() { return message; } public ResponseStatus setMessage(String value) { this.message = value; return this; } public String getStackTrace() { return stackTrace; } public ResponseStatus setStackTrace(String value) { this.stackTrace = value; return this; } public ArrayList getErrors() { return errors; } public ResponseStatus setErrors(ArrayList value) { this.errors = value; return this; } public HashMap getMeta() { return meta; } public ResponseStatus setMeta(HashMap value) { this.meta = value; return this; } } public static class RecordList extends ArrayList { } public static class RollbackDto extends TransactionDtoBase { public String rollback_transaction_id = null; public String ticket_id = null; public RollbackTransactionType rollback_transaction_type = null; public String getRollbackTransactionId() { return rollback_transaction_id; } public RollbackDto setRollbackTransactionId(String value) { this.rollback_transaction_id = value; return this; } public String getTicketId() { return ticket_id; } public RollbackDto setTicketId(String value) { this.ticket_id = value; return this; } public RollbackTransactionType getRollbackTransactionType() { return rollback_transaction_type; } public RollbackDto setRollbackTransactionType(RollbackTransactionType value) { this.rollback_transaction_type = value; return this; } } public static enum BetSource { @SerializedName("0") Landbase(0), @SerializedName("1") Web(1); private final int value; BetSource(final int intValue) { value = intValue; } public int getValue() { return value; } } public static class TransactionDtoBase { public String transaction_id = null; public Date transaction_time = null; public BigDecimal transaction_amount = null; public String game_name = null; public String betting_place_id = null; public String betting_terminal_id = null; public String jmbg = null; public String passport_number = null; public BetSource source = null; public String identification_document_country = null; public String identification_document_type = null; public String getTransactionId() { return transaction_id; } public TransactionDtoBase setTransactionId(String value) { this.transaction_id = value; return this; } public Date getTransactionTime() { return transaction_time; } public TransactionDtoBase setTransactionTime(Date value) { this.transaction_time = value; return this; } public BigDecimal getTransactionAmount() { return transaction_amount; } public TransactionDtoBase setTransactionAmount(BigDecimal value) { this.transaction_amount = value; return this; } public String getGameName() { return game_name; } public TransactionDtoBase setGameName(String value) { this.game_name = value; return this; } public String getBettingPlaceId() { return betting_place_id; } public TransactionDtoBase setBettingPlaceId(String value) { this.betting_place_id = value; return this; } public String getBettingTerminalId() { return betting_terminal_id; } public TransactionDtoBase setBettingTerminalId(String value) { this.betting_terminal_id = value; return this; } public String getJmbg() { return jmbg; } public TransactionDtoBase setJmbg(String value) { this.jmbg = value; return this; } public String getPassportNumber() { return passport_number; } public TransactionDtoBase setPassportNumber(String value) { this.passport_number = value; return this; } public BetSource getSource() { return source; } public TransactionDtoBase setSource(BetSource value) { this.source = value; return this; } public String getIdentificationDocumentCountry() { return identification_document_country; } public TransactionDtoBase setIdentificationDocumentCountry(String value) { this.identification_document_country = value; return this; } public String getIdentificationDocumentType() { return identification_document_type; } public TransactionDtoBase setIdentificationDocumentType(String value) { this.identification_document_type = value; return this; } } public static enum RollbackTransactionType { @SerializedName("0") Bet(0), @SerializedName("1") Win(1), @SerializedName("1") Jackpot(1); private final int value; RollbackTransactionType(final int intValue) { value = intValue; } public int getValue() { return value; } } }