/* Options: Date: 2025-12-06 05:23:40 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: ResolveSlipCancellation.* //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/cancellation/resolve", Verbs="POST") public static class ResolveSlipCancellation implements IReturn { public String id = null; public String slipId = null; public Origin origin = null; public ArrayList bets = null; public String getId() { return id; } public ResolveSlipCancellation setId(String value) { this.id = value; return this; } public String getSlipId() { return slipId; } public ResolveSlipCancellation setSlipId(String value) { this.slipId = value; return this; } public Origin getOrigin() { return origin; } public ResolveSlipCancellation setOrigin(Origin value) { this.origin = value; return this; } public ArrayList getBets() { return bets; } public ResolveSlipCancellation 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 Ref { public String id = null; public String val = null; public String getId() { return id; } public Ref setId(String value) { this.id = value; return this; } public String getVal() { return val; } public Ref setVal(String value) { this.val = value; return this; } } public static class RefEx extends Ref { public RecordDictionary data = null; public RecordDictionary getData() { return data; } public RefEx setData(RecordDictionary value) { this.data = value; return this; } } public static class RecordDictionary extends HashMap { } public static class Origin { public BettingApp application = null; public String ip = null; public RefEx organization = null; public Ref region = null; public Ref locationGroup = null; public RefEx location = null; public RefEx device = null; public Ref clerk = null; public BettingApp getApplication() { return application; } public Origin setApplication(BettingApp value) { this.application = value; return this; } public String getIp() { return ip; } public Origin setIp(String value) { this.ip = value; return this; } public RefEx getOrganization() { return organization; } public Origin setOrganization(RefEx value) { this.organization = value; return this; } public Ref getRegion() { return region; } public Origin setRegion(Ref value) { this.region = value; return this; } public Ref getLocationGroup() { return locationGroup; } public Origin setLocationGroup(Ref value) { this.locationGroup = value; return this; } public RefEx getLocation() { return location; } public Origin setLocation(RefEx value) { this.location = value; return this; } public RefEx getDevice() { return device; } public Origin setDevice(RefEx value) { this.device = value; return this; } public Ref getClerk() { return clerk; } public Origin setClerk(Ref value) { this.clerk = 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 BettingApp { public String name = null; public String version = null; public String getName() { return name; } public BettingApp setName(String value) { this.name = value; return this; } public String getVersion() { return version; } public BettingApp setVersion(String value) { this.version = 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; } } }