|
| 1 | +/* |
| 2 | + * Copyright 2022 Webull |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | + * you may not use this file except in compliance with the License. |
| 6 | + * You may obtain a copy of the License at |
| 7 | + * |
| 8 | + * https://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + * |
| 10 | + * Unless required by applicable law or agreed to in writing, software |
| 11 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | + * See the License for the specific language governing permissions and |
| 14 | + * limitations under the License. |
| 15 | + */ |
| 16 | +package com.webull.openapi.trade.response.v3; |
| 17 | + |
| 18 | +import java.io.Serializable; |
| 19 | + |
| 20 | +public class Activity implements Serializable { |
| 21 | + |
| 22 | + private static final long serialVersionUID = 7773597979831220774L; |
| 23 | + |
| 24 | + private String id; |
| 25 | + private String accountId; |
| 26 | + private String accountNumber; |
| 27 | + private String activityType; |
| 28 | + private String activitySubType; |
| 29 | + private String currency; |
| 30 | + private String market; |
| 31 | + private String symbol; |
| 32 | + private String tradeDate; |
| 33 | + private String netAmount; |
| 34 | + private String bizTime; |
| 35 | + |
| 36 | + public String getId() { |
| 37 | + return id; |
| 38 | + } |
| 39 | + |
| 40 | + public void setId(String id) { |
| 41 | + this.id = id; |
| 42 | + } |
| 43 | + |
| 44 | + public String getAccountId() { |
| 45 | + return accountId; |
| 46 | + } |
| 47 | + |
| 48 | + public void setAccountId(String accountId) { |
| 49 | + this.accountId = accountId; |
| 50 | + } |
| 51 | + |
| 52 | + public String getAccountNumber() { |
| 53 | + return accountNumber; |
| 54 | + } |
| 55 | + |
| 56 | + public void setAccountNumber(String accountNumber) { |
| 57 | + this.accountNumber = accountNumber; |
| 58 | + } |
| 59 | + |
| 60 | + public String getActivityType() { |
| 61 | + return activityType; |
| 62 | + } |
| 63 | + |
| 64 | + public void setActivityType(String activityType) { |
| 65 | + this.activityType = activityType; |
| 66 | + } |
| 67 | + |
| 68 | + public String getActivitySubType() { |
| 69 | + return activitySubType; |
| 70 | + } |
| 71 | + |
| 72 | + public void setActivitySubType(String activitySubType) { |
| 73 | + this.activitySubType = activitySubType; |
| 74 | + } |
| 75 | + |
| 76 | + public String getCurrency() { |
| 77 | + return currency; |
| 78 | + } |
| 79 | + |
| 80 | + public void setCurrency(String currency) { |
| 81 | + this.currency = currency; |
| 82 | + } |
| 83 | + |
| 84 | + public String getMarket() { |
| 85 | + return market; |
| 86 | + } |
| 87 | + |
| 88 | + public void setMarket(String market) { |
| 89 | + this.market = market; |
| 90 | + } |
| 91 | + |
| 92 | + public String getSymbol() { |
| 93 | + return symbol; |
| 94 | + } |
| 95 | + |
| 96 | + public void setSymbol(String symbol) { |
| 97 | + this.symbol = symbol; |
| 98 | + } |
| 99 | + |
| 100 | + public String getTradeDate() { |
| 101 | + return tradeDate; |
| 102 | + } |
| 103 | + |
| 104 | + public void setTradeDate(String tradeDate) { |
| 105 | + this.tradeDate = tradeDate; |
| 106 | + } |
| 107 | + |
| 108 | + public String getNetAmount() { |
| 109 | + return netAmount; |
| 110 | + } |
| 111 | + |
| 112 | + public void setNetAmount(String netAmount) { |
| 113 | + this.netAmount = netAmount; |
| 114 | + } |
| 115 | + |
| 116 | + public String getBizTime() { |
| 117 | + return bizTime; |
| 118 | + } |
| 119 | + |
| 120 | + public void setBizTime(String bizTime) { |
| 121 | + this.bizTime = bizTime; |
| 122 | + } |
| 123 | + |
| 124 | + @Override |
| 125 | + public String toString() { |
| 126 | + return "Activity{" + |
| 127 | + "id='" + id + '\'' + |
| 128 | + ", accountId='" + accountId + '\'' + |
| 129 | + ", accountNumber='" + accountNumber + '\'' + |
| 130 | + ", activityType='" + activityType + '\'' + |
| 131 | + ", activitySubType='" + activitySubType + '\'' + |
| 132 | + ", currency='" + currency + '\'' + |
| 133 | + ", market='" + market + '\'' + |
| 134 | + ", symbol='" + symbol + '\'' + |
| 135 | + ", tradeDate='" + tradeDate + '\'' + |
| 136 | + ", netAmount='" + netAmount + '\'' + |
| 137 | + ", bizTime='" + bizTime + '\'' + |
| 138 | + '}'; |
| 139 | + } |
| 140 | +} |
0 commit comments