Package net.troja.eve.esi.model
Class CharacterWalletJournalResponse
- java.lang.Object
-
- net.troja.eve.esi.model.CharacterWalletJournalResponse
-
- All Implemented Interfaces:
Serializable
public class CharacterWalletJournalResponse extends Object implements Serializable
200 ok object- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCharacterWalletJournalResponse.ContextIdTypeEnumThe type of the given context_id if presentstatic classCharacterWalletJournalResponse.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 CharacterWalletJournalResponse()
-
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 CharacterWalletJournalResponse 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 CharacterWalletJournalResponse balance(Double balance)
-
getBalance
@Nullable public Double getBalance()
Wallet balance after transaction occurred- Returns:
- balance
-
setBalance
public void setBalance(Double balance)
-
contextId
public CharacterWalletJournalResponse 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 CharacterWalletJournalResponse contextIdType(CharacterWalletJournalResponse.ContextIdTypeEnum contextIdTypeEnum)
-
contextIdTypeString
public CharacterWalletJournalResponse contextIdTypeString(String contextIdType)
-
getContextIdType
@Nullable public CharacterWalletJournalResponse.ContextIdTypeEnum getContextIdType()
The type of the given context_id if present- Returns:
- contextIdType
-
getContextIdTypeString
public String getContextIdTypeString()
-
setContextIdType
public void setContextIdType(CharacterWalletJournalResponse.ContextIdTypeEnum contextIdTypeEnum)
-
setContextIdTypeString
public void setContextIdTypeString(String contextIdType)
-
date
public CharacterWalletJournalResponse 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 CharacterWalletJournalResponse 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 CharacterWalletJournalResponse 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 CharacterWalletJournalResponse id(Long id)
-
getId
public Long getId()
Unique journal reference ID- Returns:
- id
-
setId
public void setId(Long id)
-
reason
public CharacterWalletJournalResponse 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 CharacterWalletJournalResponse refType(CharacterWalletJournalResponse.RefTypeEnum refTypeEnum)
-
refTypeString
public CharacterWalletJournalResponse refTypeString(String refType)
-
getRefType
public CharacterWalletJournalResponse.RefTypeEnum getRefType()
\"The transaction type for the given. transaction. Different transaction types will populate different attributes.\"- Returns:
- refType
-
getRefTypeString
public String getRefTypeString()
-
setRefType
public void setRefType(CharacterWalletJournalResponse.RefTypeEnum refTypeEnum)
-
setRefTypeString
public void setRefTypeString(String refType)
-
secondPartyId
public CharacterWalletJournalResponse 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 CharacterWalletJournalResponse 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 CharacterWalletJournalResponse 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)
-
-