Package net.troja.eve.esi.model
Class CharacterOrdersHistoryResponse
- java.lang.Object
-
- net.troja.eve.esi.model.CharacterOrdersHistoryResponse
-
- All Implemented Interfaces:
Serializable
public class CharacterOrdersHistoryResponse extends Object implements Serializable
200 ok object- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCharacterOrdersHistoryResponse.RangeEnumValid order range, numbers are ranges in jumpsstatic classCharacterOrdersHistoryResponse.StateEnumCurrent order state
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_DURATIONstatic StringSERIALIZED_NAME_ESCROWstatic StringSERIALIZED_NAME_IS_BUY_ORDERstatic StringSERIALIZED_NAME_IS_CORPORATIONstatic StringSERIALIZED_NAME_ISSUEDstatic StringSERIALIZED_NAME_LOCATION_IDstatic StringSERIALIZED_NAME_MIN_VOLUMEstatic StringSERIALIZED_NAME_ORDER_IDstatic StringSERIALIZED_NAME_PRICEstatic StringSERIALIZED_NAME_RANGEstatic StringSERIALIZED_NAME_REGION_IDstatic StringSERIALIZED_NAME_STATEstatic StringSERIALIZED_NAME_TYPE_IDstatic StringSERIALIZED_NAME_VOLUME_REMAINstatic StringSERIALIZED_NAME_VOLUME_TOTAL
-
Constructor Summary
Constructors Constructor Description CharacterOrdersHistoryResponse()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_DURATION
public static final String SERIALIZED_NAME_DURATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ESCROW
public static final String SERIALIZED_NAME_ESCROW
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IS_BUY_ORDER
public static final String SERIALIZED_NAME_IS_BUY_ORDER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IS_CORPORATION
public static final String SERIALIZED_NAME_IS_CORPORATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ISSUED
public static final String SERIALIZED_NAME_ISSUED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOCATION_ID
public static final String SERIALIZED_NAME_LOCATION_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MIN_VOLUME
public static final String SERIALIZED_NAME_MIN_VOLUME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ORDER_ID
public static final String SERIALIZED_NAME_ORDER_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PRICE
public static final String SERIALIZED_NAME_PRICE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RANGE
public static final String SERIALIZED_NAME_RANGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REGION_ID
public static final String SERIALIZED_NAME_REGION_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATE
public static final String SERIALIZED_NAME_STATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE_ID
public static final String SERIALIZED_NAME_TYPE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VOLUME_REMAIN
public static final String SERIALIZED_NAME_VOLUME_REMAIN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VOLUME_TOTAL
public static final String SERIALIZED_NAME_VOLUME_TOTAL
- See Also:
- Constant Field Values
-
-
Method Detail
-
duration
public CharacterOrdersHistoryResponse duration(Integer duration)
-
getDuration
public Integer getDuration()
Number of days the order was valid for (starting from the issued date). An order expires at time issued + duration- Returns:
- duration
-
setDuration
public void setDuration(Integer duration)
-
escrow
public CharacterOrdersHistoryResponse escrow(Double escrow)
-
getEscrow
@Nullable public Double getEscrow()
For buy orders, the amount of ISK in escrow- Returns:
- escrow
-
setEscrow
public void setEscrow(Double escrow)
-
isBuyOrder
public CharacterOrdersHistoryResponse isBuyOrder(Boolean isBuyOrder)
-
getIsBuyOrder
@Nullable public Boolean getIsBuyOrder()
True if the order is a bid (buy) order- Returns:
- isBuyOrder
-
setIsBuyOrder
public void setIsBuyOrder(Boolean isBuyOrder)
-
isCorporation
public CharacterOrdersHistoryResponse isCorporation(Boolean isCorporation)
-
getIsCorporation
public Boolean getIsCorporation()
Signifies whether the buy/sell order was placed on behalf of a corporation.- Returns:
- isCorporation
-
setIsCorporation
public void setIsCorporation(Boolean isCorporation)
-
issued
public CharacterOrdersHistoryResponse issued(java.time.OffsetDateTime issued)
-
getIssued
public java.time.OffsetDateTime getIssued()
Date and time when this order was issued- Returns:
- issued
-
setIssued
public void setIssued(java.time.OffsetDateTime issued)
-
locationId
public CharacterOrdersHistoryResponse locationId(Long locationId)
-
getLocationId
public Long getLocationId()
ID of the location where order was placed- Returns:
- locationId
-
setLocationId
public void setLocationId(Long locationId)
-
minVolume
public CharacterOrdersHistoryResponse minVolume(Integer minVolume)
-
getMinVolume
@Nullable public Integer getMinVolume()
For buy orders, the minimum quantity that will be accepted in a matching sell order- Returns:
- minVolume
-
setMinVolume
public void setMinVolume(Integer minVolume)
-
orderId
public CharacterOrdersHistoryResponse orderId(Long orderId)
-
getOrderId
public Long getOrderId()
Unique order ID- Returns:
- orderId
-
setOrderId
public void setOrderId(Long orderId)
-
price
public CharacterOrdersHistoryResponse price(Double price)
-
getPrice
public Double getPrice()
Cost per unit for this order- Returns:
- price
-
setPrice
public void setPrice(Double price)
-
range
public CharacterOrdersHistoryResponse range(CharacterOrdersHistoryResponse.RangeEnum rangeEnum)
-
rangeString
public CharacterOrdersHistoryResponse rangeString(String range)
-
getRange
public CharacterOrdersHistoryResponse.RangeEnum getRange()
Valid order range, numbers are ranges in jumps- Returns:
- range
-
getRangeString
public String getRangeString()
-
setRange
public void setRange(CharacterOrdersHistoryResponse.RangeEnum rangeEnum)
-
setRangeString
public void setRangeString(String range)
-
regionId
public CharacterOrdersHistoryResponse regionId(Integer regionId)
-
getRegionId
public Integer getRegionId()
ID of the region where order was placed- Returns:
- regionId
-
setRegionId
public void setRegionId(Integer regionId)
-
state
public CharacterOrdersHistoryResponse state(CharacterOrdersHistoryResponse.StateEnum stateEnum)
-
stateString
public CharacterOrdersHistoryResponse stateString(String state)
-
getState
public CharacterOrdersHistoryResponse.StateEnum getState()
Current order state- Returns:
- state
-
getStateString
public String getStateString()
-
setState
public void setState(CharacterOrdersHistoryResponse.StateEnum stateEnum)
-
setStateString
public void setStateString(String state)
-
typeId
public CharacterOrdersHistoryResponse typeId(Integer typeId)
-
getTypeId
public Integer getTypeId()
The type ID of the item transacted in this order- Returns:
- typeId
-
setTypeId
public void setTypeId(Integer typeId)
-
volumeRemain
public CharacterOrdersHistoryResponse volumeRemain(Integer volumeRemain)
-
getVolumeRemain
public Integer getVolumeRemain()
Quantity of items still required or offered- Returns:
- volumeRemain
-
setVolumeRemain
public void setVolumeRemain(Integer volumeRemain)
-
volumeTotal
public CharacterOrdersHistoryResponse volumeTotal(Integer volumeTotal)
-
getVolumeTotal
public Integer getVolumeTotal()
Quantity of items required or offered at time order was placed- Returns:
- volumeTotal
-
setVolumeTotal
public void setVolumeTotal(Integer volumeTotal)
-
-