/* Options: Date: 2025-12-06 05:23:49 Version: 8.70 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.sbbet.ath.cx //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: ResolveBets.* //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="/cmd/slips/bets/resolve/batch", Verbs="POST") public static class ResolveBets implements IReturn { public String id = null; public ArrayList bets = null; public String getId() { return id; } public ResolveBets setId(String value) { this.id = value; return this; } public ArrayList getBets() { return bets; } public ResolveBets setBets(ArrayList value) { this.bets = 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 Bet { public String id = null; public BetPlacementStatus placementStatus = null; public HashMap payload = null; public String getId() { return id; } public Bet setId(String value) { this.id = value; return this; } public BetPlacementStatus getPlacementStatus() { return placementStatus; } public Bet setPlacementStatus(BetPlacementStatus value) { this.placementStatus = value; return this; } public HashMap getPayload() { return payload; } public Bet setPayload(HashMap value) { this.payload = value; return this; } } public static class Bet { public String id = null; public String slipId = null; public Origin origin = null; public Ref bettor = null; public Date placedAt = null; public ProductInstanceRef productInstance = null; public BetStatus status = null; public BetPlacementStatus placementStatus = null; public BetProcessingStatus processingStatus = null; public BetValidity validity = null; public BetPayoutStatus payoutStatus = null; public RecordDictionary payload = null; public BetOutcome outcome = null; public PayinRecap payinRecap = null; public PayoutRecap possiblePayoutRecap = null; public PayoutRecap actualPayoutRecap = null; public OperationInfo payoutInfo = null; public OperationInfo cancellationInfo = null; public String getId() { return id; } public Bet setId(String value) { this.id = value; return this; } public String getSlipId() { return slipId; } public Bet setSlipId(String value) { this.slipId = value; return this; } public Origin getOrigin() { return origin; } public Bet setOrigin(Origin value) { this.origin = value; return this; } public Ref getBettor() { return bettor; } public Bet setBettor(Ref value) { this.bettor = value; return this; } public Date getPlacedAt() { return placedAt; } public Bet setPlacedAt(Date value) { this.placedAt = value; return this; } public ProductInstanceRef getProductInstance() { return productInstance; } public Bet setProductInstance(ProductInstanceRef value) { this.productInstance = value; return this; } public BetStatus getStatus() { return status; } public Bet setStatus(BetStatus value) { this.status = value; return this; } public BetPlacementStatus getPlacementStatus() { return placementStatus; } public Bet setPlacementStatus(BetPlacementStatus value) { this.placementStatus = value; return this; } public BetProcessingStatus getProcessingStatus() { return processingStatus; } public Bet setProcessingStatus(BetProcessingStatus value) { this.processingStatus = value; return this; } public BetValidity getValidity() { return validity; } public Bet setValidity(BetValidity value) { this.validity = value; return this; } public BetPayoutStatus getPayoutStatus() { return payoutStatus; } public Bet setPayoutStatus(BetPayoutStatus value) { this.payoutStatus = value; return this; } public RecordDictionary getPayload() { return payload; } public Bet setPayload(RecordDictionary value) { this.payload = value; return this; } public BetOutcome getOutcome() { return outcome; } public Bet setOutcome(BetOutcome value) { this.outcome = value; return this; } public PayinRecap getPayinRecap() { return payinRecap; } public Bet setPayinRecap(PayinRecap value) { this.payinRecap = value; return this; } public PayoutRecap getPossiblePayoutRecap() { return possiblePayoutRecap; } public Bet setPossiblePayoutRecap(PayoutRecap value) { this.possiblePayoutRecap = value; return this; } public PayoutRecap getActualPayoutRecap() { return actualPayoutRecap; } public Bet setActualPayoutRecap(PayoutRecap value) { this.actualPayoutRecap = value; return this; } public OperationInfo getPayoutInfo() { return payoutInfo; } public Bet setPayoutInfo(OperationInfo value) { this.payoutInfo = value; return this; } public OperationInfo getCancellationInfo() { return cancellationInfo; } public Bet setCancellationInfo(OperationInfo value) { this.cancellationInfo = value; return this; } } public static class Bet { public String betId = null; public ProductInstanceRef productInstance = null; public BetStatus status = null; public BetPlacementStatus placementStatus = null; public BetProcessingStatus processingStatus = null; public BetValidity validity = null; public BetPayoutStatus payoutStatus = null; public RecordDictionary payload = null; public BetOutcome outcome = null; public PayinRecap payinRecap = null; public PayoutRecap possiblePayoutRecap = null; public PayoutRecap actualPayoutRecap = null; public OperationInfo payoutInfo = null; public OperationInfo cancellationInfo = null; public OperationInfo reversionInfo = null; public OperationInfo expirationInfo = null; public String getBetId() { return betId; } public Bet setBetId(String value) { this.betId = value; return this; } public ProductInstanceRef getProductInstance() { return productInstance; } public Bet setProductInstance(ProductInstanceRef value) { this.productInstance = value; return this; } public BetStatus getStatus() { return status; } public Bet setStatus(BetStatus value) { this.status = value; return this; } public BetPlacementStatus getPlacementStatus() { return placementStatus; } public Bet setPlacementStatus(BetPlacementStatus value) { this.placementStatus = value; return this; } public BetProcessingStatus getProcessingStatus() { return processingStatus; } public Bet setProcessingStatus(BetProcessingStatus value) { this.processingStatus = value; return this; } public BetValidity getValidity() { return validity; } public Bet setValidity(BetValidity value) { this.validity = value; return this; } public BetPayoutStatus getPayoutStatus() { return payoutStatus; } public Bet setPayoutStatus(BetPayoutStatus value) { this.payoutStatus = value; return this; } public RecordDictionary getPayload() { return payload; } public Bet setPayload(RecordDictionary value) { this.payload = value; return this; } public BetOutcome getOutcome() { return outcome; } public Bet setOutcome(BetOutcome value) { this.outcome = value; return this; } public PayinRecap getPayinRecap() { return payinRecap; } public Bet setPayinRecap(PayinRecap value) { this.payinRecap = value; return this; } public PayoutRecap getPossiblePayoutRecap() { return possiblePayoutRecap; } public Bet setPossiblePayoutRecap(PayoutRecap value) { this.possiblePayoutRecap = value; return this; } public PayoutRecap getActualPayoutRecap() { return actualPayoutRecap; } public Bet setActualPayoutRecap(PayoutRecap value) { this.actualPayoutRecap = value; return this; } public OperationInfo getPayoutInfo() { return payoutInfo; } public Bet setPayoutInfo(OperationInfo value) { this.payoutInfo = value; return this; } public OperationInfo getCancellationInfo() { return cancellationInfo; } public Bet setCancellationInfo(OperationInfo value) { this.cancellationInfo = value; return this; } public OperationInfo getReversionInfo() { return reversionInfo; } public Bet setReversionInfo(OperationInfo value) { this.reversionInfo = value; return this; } public OperationInfo getExpirationInfo() { return expirationInfo; } public Bet setExpirationInfo(OperationInfo value) { this.expirationInfo = value; return this; } } }