Package net.troja.eve.esi.model
Class CorporationWalletJournalResponse
- java.lang.Object
-
- net.troja.eve.esi.model.CorporationWalletJournalResponse
-
- All Implemented Interfaces:
Serializable
public class CorporationWalletJournalResponse extends Object implements Serializable
200 ok object- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCorporationWalletJournalResponse.ContextIdTypeEnumThe type of the given context_id if presentstatic classCorporationWalletJournalResponse.RefTypeEnum\"The transaction type for the given. transaction.
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_AMOUNTstatic StringSERIALIZED_NAME_BALANCEstatic StringSERIALIZED_NAME_CONTEXT_IDstatic StringSERIALIZED_NAME_CONTEXT_ID_TYPEstatic StringSERIALIZED_NAME_DATEstatic StringSERIALIZED_NAME_DESCRIPTIONstatic StringSERIALIZED_NAME_FIRST_PARTY_IDstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_REASONstatic StringSERIALIZED_NAME_REF_TYPEstatic StringSERIALIZED_NAME_SECOND_PARTY_IDstatic StringSERIALIZED_NAME_TAXstatic StringSERIALIZED_NAME_TAX_RECEIVER_ID
-
Constructor Summary
Constructors Constructor Description CorporationWalletJournalResponse()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_AMOUNT
public static final String SERIALIZED_NAME_AMOUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BALANCE
public static final String SERIALIZED_NAME_BALANCE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONTEXT_ID
public static final String SERIALIZED_NAME_CONTEXT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONTEXT_ID_TYPE
public static final String SERIALIZED_NAME_CONTEXT_ID_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DATE
public static final String SERIALIZED_NAME_DATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_DESCRIPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FIRST_PARTY_ID
public static final String SERIALIZED_NAME_FIRST_PARTY_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REASON
public static final String SERIALIZED_NAME_REASON
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REF_TYPE
public static final String SERIALIZED_NAME_REF_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SECOND_PARTY_ID
public static final String SERIALIZED_NAME_SECOND_PARTY_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAX
public static final String SERIALIZED_NAME_TAX
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TAX_RECEIVER_ID
public static final String SERIALIZED_NAME_TAX_RECEIVER_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
amount
public CorporationWalletJournalResponse amount(Double amount)
-
getAmount
@Nullable public Double getAmount()
The amount of ISK given or taken from the wallet as a result of the given transaction. Positive when ISK is deposited into the wallet and negative when ISK is withdrawn- Returns:
- amount
-
setAmount
public void setAmount(Double amount)
-
balance
public CorporationWalletJournalResponse balance(Double balance)
-
getBalance
@Nullable public Double getBalance()
Wallet balance after transaction occurred- Returns:
- balance
-
setBalance
public void setBalance(Double balance)
-
contextId
public CorporationWalletJournalResponse contextId(Long contextId)
-
getContextId
@Nullable public Long getContextId()
An ID that gives extra context to the particular transaction. Because of legacy reasons the context is completely different per ref_type and means different things. It is also possible to not have a context_id- Returns:
- contextId
-
setContextId
public void setContextId(Long contextId)
-
contextIdType
public CorporationWalletJournalResponse contextIdType(CorporationWalletJournalResponse.ContextIdTypeEnum contextIdTypeEnum)
-
contextIdTypeString
public CorporationWalletJournalResponse contextIdTypeString(String contextIdType)
-
getContextIdType
@Nullable public CorporationWalletJournalResponse.ContextIdTypeEnum getContextIdType()
The type of the given context_id if present- Returns:
- contextIdType
-
getContextIdTypeString
public String getContextIdTypeString()
-
setContextIdType
public void setContextIdType(CorporationWalletJournalResponse.ContextIdTypeEnum contextIdTypeEnum)
-
setContextIdTypeString
public void setContextIdTypeString(String contextIdType)
-
date
public CorporationWalletJournalResponse date(java.time.OffsetDateTime date)
-
getDate
public java.time.OffsetDateTime getDate()
Date and time of transaction- Returns:
- date
-
setDate
public void setDate(java.time.OffsetDateTime date)
-
description
public CorporationWalletJournalResponse description(String description)
-
getDescription
public String getDescription()
The reason for the transaction, mirrors what is seen in the client- Returns:
- description
-
setDescription
public void setDescription(String description)
-
firstPartyId
public CorporationWalletJournalResponse firstPartyId(Integer firstPartyId)
-
getFirstPartyId
@Nullable public Integer getFirstPartyId()
The id of the first party involved in the transaction. This attribute has no consistency and is different or non existant for particular ref_types. The description attribute will help make sense of what this attribute means. For more info about the given ID it can be dropped into the /universe/names/ ESI route to determine its type and name- Returns:
- firstPartyId
-
setFirstPartyId
public void setFirstPartyId(Integer firstPartyId)
-
id
public CorporationWalletJournalResponse id(Long id)
-
getId
public Long getId()
Unique journal reference ID- Returns:
- id
-
setId
public void setId(Long id)
-
reason
public CorporationWalletJournalResponse reason(String reason)
-
getReason
@Nullable public String getReason()
The user stated reason for the transaction. Only applies to some ref_types- Returns:
- reason
-
setReason
public void setReason(String reason)
-
refType
public CorporationWalletJournalResponse refType(CorporationWalletJournalResponse.RefTypeEnum refTypeEnum)
-
refTypeString
public CorporationWalletJournalResponse refTypeString(String refType)
-
getRefType
public CorporationWalletJournalResponse.RefTypeEnum getRefType()
\"The transaction type for the given. transaction. Different transaction types will populate different attributes. Note: If you have an existing XML API application that is using ref_types, you will need to know which string ESI ref_type maps to which integer. You can look at the following file to see string->int mappings: https://github.com/ccpgames /eve-glue/blob/master/eve_glue/wallet_journal_ref.py\"- Returns:
- refType
-
getRefTypeString
public String getRefTypeString()
-
setRefType
public void setRefType(CorporationWalletJournalResponse.RefTypeEnum refTypeEnum)
-
setRefTypeString
public void setRefTypeString(String refType)
-
secondPartyId
public CorporationWalletJournalResponse secondPartyId(Integer secondPartyId)
-
getSecondPartyId
@Nullable public Integer getSecondPartyId()
The id of the second party involved in the transaction. This attribute has no consistency and is different or non existant for particular ref_types. The description attribute will help make sense of what this attribute means. For more info about the given ID it can be dropped into the /universe/names/ ESI route to determine its type and name- Returns:
- secondPartyId
-
setSecondPartyId
public void setSecondPartyId(Integer secondPartyId)
-
tax
public CorporationWalletJournalResponse tax(Double tax)
-
getTax
@Nullable public Double getTax()
Tax amount received. Only applies to tax related transactions- Returns:
- tax
-
setTax
public void setTax(Double tax)
-
taxReceiverId
public CorporationWalletJournalResponse taxReceiverId(Integer taxReceiverId)
-
getTaxReceiverId
@Nullable public Integer getTaxReceiverId()
The corporation ID receiving any tax paid. Only applies to tax related transactions- Returns:
- taxReceiverId
-
setTaxReceiverId
public void setTaxReceiverId(Integer taxReceiverId)
-
-