Package com.longbridge.trade
Class GetCashFlowOptions
- java.lang.Object
-
- com.longbridge.trade.GetCashFlowOptions
-
public class GetCashFlowOptions extends Object
Options for querying cash flow records
-
-
Constructor Summary
Constructors Constructor Description GetCashFlowOptions(OffsetDateTime startAt, OffsetDateTime endAt)Constructs cash flow query options.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BalanceTypegetBusinessType()Returns the business type filter.GetCashFlowOptionssetBusinessType(BalanceType businessType)Filters by business type (balance type).GetCashFlowOptionssetPage(int page)Sets the page number for pagination.GetCashFlowOptionssetSize(int size)Sets the page size for pagination.GetCashFlowOptionssetSymbol(String symbol)Filters by security symbol.
-
-
-
Constructor Detail
-
GetCashFlowOptions
public GetCashFlowOptions(OffsetDateTime startAt, OffsetDateTime endAt)
Constructs cash flow query options.- Parameters:
startAt- start of the query time rangeendAt- end of the query time range
-
-
Method Detail
-
getBusinessType
public BalanceType getBusinessType()
Returns the business type filter.- Returns:
- business type
-
setBusinessType
public GetCashFlowOptions setBusinessType(BalanceType businessType)
Filters by business type (balance type).- Parameters:
businessType- balance type filter- Returns:
- this instance for chaining
-
setSymbol
public GetCashFlowOptions setSymbol(String symbol)
Filters by security symbol.- Parameters:
symbol- security symbol- Returns:
- this instance for chaining
-
setPage
public GetCashFlowOptions setPage(int page)
Sets the page number for pagination.- Parameters:
page- page number- Returns:
- this instance for chaining
-
setSize
public GetCashFlowOptions setSize(int size)
Sets the page size for pagination.- Parameters:
size- page size- Returns:
- this instance for chaining
-
-