-
Notifications
You must be signed in to change notification settings - Fork 187
/
Order.java
executable file
·69 lines (65 loc) · 2 KB
/
Order.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
package com.zerodhatech.models;
import com.google.gson.annotations.SerializedName;
import java.util.Date;
import java.util.Map;
/**
* A wrapper for order.
*/
public class Order {
@SerializedName("exchange_order_id")
public String exchangeOrderId;
@SerializedName("disclosed_quantity")
public String disclosedQuantity;
@SerializedName("validity")
public String validity;
@SerializedName("tradingsymbol")
public String tradingSymbol;
@SerializedName("variety")
public String orderVariety;
@SerializedName("order_type")
public String orderType;
@SerializedName("trigger_price")
public String triggerPrice;
@SerializedName("status_message")
public String statusMessage;
@SerializedName("price")
public String price;
@SerializedName("status")
public String status;
@SerializedName("product")
public String product;
@SerializedName("placed_by")
public String accountId;
@SerializedName("exchange")
public String exchange;
@SerializedName("order_id")
public String orderId;
@SerializedName("pending_quantity")
public String pendingQuantity;
@SerializedName("order_timestamp")
public Date orderTimestamp;
@SerializedName("exchange_timestamp")
public Date exchangeTimestamp;
@SerializedName("exchange_update_timestamp")
public Date exchangeUpdateTimestamp;
@SerializedName("average_price")
public String averagePrice;
@SerializedName("transaction_type")
public String transactionType;
@SerializedName("filled_quantity")
public String filledQuantity;
@SerializedName("quantity")
public String quantity;
@SerializedName("parent_order_id")
public String parentOrderId;
@SerializedName("tag")
public String tag;
@SerializedName("guid")
public String guid;
@SerializedName("validity_ttl")
public int validityTTL;
@SerializedName("meta")
public Map<String, Object> meta;
@SerializedName("auction_number")
public String auctionNumber;
}