This repository has been archived by the owner on Oct 30, 2023. It is now read-only.
forked from joaopsilva/binance-java-api
-
Notifications
You must be signed in to change notification settings - Fork 622
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
135 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
src/main/java/com/binance/api/client/domain/account/request/CancelOrderResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
package com.binance.api.client.domain.account.request; | ||
|
||
import com.binance.api.client.constant.BinanceApiConstants; | ||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
import org.apache.commons.lang3.builder.ToStringBuilder; | ||
|
||
/** | ||
* Response object returned when an order is canceled. | ||
* | ||
* @see CancelOrderRequest for the request | ||
*/ | ||
@JsonIgnoreProperties(ignoreUnknown = true) | ||
public class CancelOrderResponse { | ||
|
||
private String symbol; | ||
|
||
private String origClientOrderId; | ||
|
||
private String orderId; | ||
|
||
private String clientOrderId; | ||
|
||
public String getSymbol() { | ||
return symbol; | ||
} | ||
|
||
public CancelOrderResponse setSymbol(String symbol) { | ||
this.symbol = symbol; | ||
return this; | ||
} | ||
|
||
public String getOrigClientOrderId() { | ||
return origClientOrderId; | ||
} | ||
|
||
public CancelOrderResponse setOrigClientOrderId(String origClientOrderId) { | ||
this.origClientOrderId = origClientOrderId; | ||
return this; | ||
} | ||
|
||
public String getOrderId() { | ||
return orderId; | ||
} | ||
|
||
public CancelOrderResponse setOrderId(String orderId) { | ||
this.orderId = orderId; | ||
return this; | ||
} | ||
|
||
public String getClientOrderId() { | ||
return clientOrderId; | ||
} | ||
|
||
public CancelOrderResponse setClientOrderId(String clientOrderId) { | ||
this.clientOrderId = clientOrderId; | ||
return this; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return new ToStringBuilder(this, BinanceApiConstants.TO_STRING_BUILDER_STYLE) | ||
.append("symbol", symbol) | ||
.append("origClientOrderId", origClientOrderId) | ||
.append("orderId", orderId) | ||
.append("clientOrderId", clientOrderId) | ||
.toString(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 0 additions & 24 deletions
24
src/test/java/com/binance/api/client/impl/BinanceApiServiceGeneratorTest.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters