Package net.troja.eve.esi.model
Class CorporationOrdersResponse
- java.lang.Object
-
- net.troja.eve.esi.model.CorporationOrdersResponse
-
- All Implemented Interfaces:
Serializable
public class CorporationOrdersResponse extends Object implements Serializable
200 ok object- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCorporationOrdersResponse.RangeEnumValid order range, numbers are ranges in jumps
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_DURATIONstatic StringSERIALIZED_NAME_ESCROWstatic StringSERIALIZED_NAME_IS_BUY_ORDERstatic StringSERIALIZED_NAME_ISSUEDstatic StringSERIALIZED_NAME_ISSUED_BYstatic StringSERIALIZED_NAME_LOCATION_IDstatic StringSERIALIZED_NAME_MIN_VOLUMEstatic StringSERIALIZED_NAME_ORDER_IDstatic StringSERIALIZED_NAME_PRICEstatic StringSERIALIZED_NAME_RANGEstatic StringSERIALIZED_NAME_REGION_IDstatic StringSERIALIZED_NAME_TYPE_IDstatic StringSERIALIZED_NAME_VOLUME_REMAINstatic StringSERIALIZED_NAME_VOLUME_TOTALstatic StringSERIALIZED_NAME_WALLET_DIVISION
-
Constructor Summary
Constructors Constructor Description CorporationOrdersResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CorporationOrdersResponseduration(Integer duration)booleanequals(Object o)CorporationOrdersResponseescrow(Double escrow)IntegergetDuration()Number of days for which order is valid (starting from the issued date).DoublegetEscrow()For buy orders, the amount of ISK in escrowBooleangetIsBuyOrder()True if the order is a bid (buy) orderjava.time.OffsetDateTimegetIssued()Date and time when this order was issuedIntegergetIssuedBy()The character who issued this orderLonggetLocationId()ID of the location where order was placedIntegergetMinVolume()For buy orders, the minimum quantity that will be accepted in a matching sell orderLonggetOrderId()Unique order IDDoublegetPrice()Cost per unit for this orderCorporationOrdersResponse.RangeEnumgetRange()Valid order range, numbers are ranges in jumpsStringgetRangeString()IntegergetRegionId()ID of the region where order was placedIntegergetTypeId()The type ID of the item transacted in this orderIntegergetVolumeRemain()Quantity of items still required or offeredIntegergetVolumeTotal()Quantity of items required or offered at time order was placedIntegergetWalletDivision()The corporation wallet division used for this order. minimum: 1 maximum: 7inthashCode()CorporationOrdersResponseisBuyOrder(Boolean isBuyOrder)CorporationOrdersResponseissued(java.time.OffsetDateTime issued)CorporationOrdersResponseissuedBy(Integer issuedBy)CorporationOrdersResponselocationId(Long locationId)CorporationOrdersResponseminVolume(Integer minVolume)CorporationOrdersResponseorderId(Long orderId)CorporationOrdersResponseprice(Double price)CorporationOrdersResponserange(CorporationOrdersResponse.RangeEnum rangeEnum)CorporationOrdersResponserangeString(String range)CorporationOrdersResponseregionId(Integer regionId)voidsetDuration(Integer duration)voidsetEscrow(Double escrow)voidsetIsBuyOrder(Boolean isBuyOrder)voidsetIssued(java.time.OffsetDateTime issued)voidsetIssuedBy(Integer issuedBy)voidsetLocationId(Long locationId)voidsetMinVolume(Integer minVolume)voidsetOrderId(Long orderId)voidsetPrice(Double price)voidsetRange(CorporationOrdersResponse.RangeEnum rangeEnum)voidsetRangeString(String range)voidsetRegionId(Integer regionId)voidsetTypeId(Integer typeId)voidsetVolumeRemain(Integer volumeRemain)voidsetVolumeTotal(Integer volumeTotal)voidsetWalletDivision(Integer walletDivision)StringtoString()CorporationOrdersResponsetypeId(Integer typeId)CorporationOrdersResponsevolumeRemain(Integer volumeRemain)CorporationOrdersResponsevolumeTotal(Integer volumeTotal)CorporationOrdersResponsewalletDivision(Integer walletDivision)
-
-
-
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_ISSUED
public static final String SERIALIZED_NAME_ISSUED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ISSUED_BY
public static final String SERIALIZED_NAME_ISSUED_BY
- 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_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
-
SERIALIZED_NAME_WALLET_DIVISION
public static final String SERIALIZED_NAME_WALLET_DIVISION
- See Also:
- Constant Field Values
-
-
Method Detail
-
duration
public CorporationOrdersResponse duration(Integer duration)
-
getDuration
public Integer getDuration()
Number of days for which order is valid (starting from the issued date). An order expires at time issued + duration- Returns:
- duration
-
setDuration
public void setDuration(Integer duration)
-
escrow
public CorporationOrdersResponse 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 CorporationOrdersResponse 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)
-
issued
public CorporationOrdersResponse 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)
-
issuedBy
public CorporationOrdersResponse issuedBy(Integer issuedBy)
-
getIssuedBy
public Integer getIssuedBy()
The character who issued this order- Returns:
- issuedBy
-
setIssuedBy
public void setIssuedBy(Integer issuedBy)
-
locationId
public CorporationOrdersResponse 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 CorporationOrdersResponse 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 CorporationOrdersResponse orderId(Long orderId)
-
getOrderId
public Long getOrderId()
Unique order ID- Returns:
- orderId
-
setOrderId
public void setOrderId(Long orderId)
-
price
public CorporationOrdersResponse price(Double price)
-
getPrice
public Double getPrice()
Cost per unit for this order- Returns:
- price
-
setPrice
public void setPrice(Double price)
-
range
public CorporationOrdersResponse range(CorporationOrdersResponse.RangeEnum rangeEnum)
-
rangeString
public CorporationOrdersResponse rangeString(String range)
-
getRange
public CorporationOrdersResponse.RangeEnum getRange()
Valid order range, numbers are ranges in jumps- Returns:
- range
-
getRangeString
public String getRangeString()
-
setRange
public void setRange(CorporationOrdersResponse.RangeEnum rangeEnum)
-
setRangeString
public void setRangeString(String range)
-
regionId
public CorporationOrdersResponse regionId(Integer regionId)
-
getRegionId
public Integer getRegionId()
ID of the region where order was placed- Returns:
- regionId
-
setRegionId
public void setRegionId(Integer regionId)
-
typeId
public CorporationOrdersResponse 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 CorporationOrdersResponse volumeRemain(Integer volumeRemain)
-
getVolumeRemain
public Integer getVolumeRemain()
Quantity of items still required or offered- Returns:
- volumeRemain
-
setVolumeRemain
public void setVolumeRemain(Integer volumeRemain)
-
volumeTotal
public CorporationOrdersResponse 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)
-
walletDivision
public CorporationOrdersResponse walletDivision(Integer walletDivision)
-
getWalletDivision
public Integer getWalletDivision()
The corporation wallet division used for this order. minimum: 1 maximum: 7- Returns:
- walletDivision
-
setWalletDivision
public void setWalletDivision(Integer walletDivision)
-
-