Package com.plaid.client.model
Class StandaloneInvestmentTransactionType
java.lang.Object
com.plaid.client.model.StandaloneInvestmentTransactionType
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-10-15T19:47:39.714Z[GMT]")
public class StandaloneInvestmentTransactionType
extends java.lang.Object
Valid values for investment transaction types and subtypes. Note that transactions representing inflow of cash will appear as negative amounts, outflow of cash will appear as positive amounts.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERIALIZED_NAME_BUY
static java.lang.String
SERIALIZED_NAME_CANCEL
static java.lang.String
SERIALIZED_NAME_CASH
static java.lang.String
SERIALIZED_NAME_FEE
static java.lang.String
SERIALIZED_NAME_SELL
static java.lang.String
SERIALIZED_NAME_TRANSFER
-
Constructor Summary
Constructors Constructor Description StandaloneInvestmentTransactionType()
-
Method Summary
Modifier and Type Method Description StandaloneInvestmentTransactionType
buy(java.lang.String buy)
StandaloneInvestmentTransactionType
cancel(java.lang.String cancel)
StandaloneInvestmentTransactionType
cash(java.lang.String cash)
boolean
equals(java.lang.Object o)
StandaloneInvestmentTransactionType
fee(java.lang.String fee)
java.lang.String
getBuy()
Buying an investmentjava.lang.String
getCancel()
A cancellation of a pending transactionjava.lang.String
getCash()
Activity that modifies a cash positionjava.lang.String
getFee()
Fees on the account, e.g.java.lang.String
getSell()
Selling an investmentjava.lang.String
getTransfer()
Activity that modifies a position, but not through buy/sell activity e.g.int
hashCode()
StandaloneInvestmentTransactionType
sell(java.lang.String sell)
void
setBuy(java.lang.String buy)
void
setCancel(java.lang.String cancel)
void
setCash(java.lang.String cash)
void
setFee(java.lang.String fee)
void
setSell(java.lang.String sell)
void
setTransfer(java.lang.String transfer)
java.lang.String
toString()
StandaloneInvestmentTransactionType
transfer(java.lang.String transfer)
-
Field Details
-
SERIALIZED_NAME_BUY
public static final java.lang.String SERIALIZED_NAME_BUY- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SELL
public static final java.lang.String SERIALIZED_NAME_SELL- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CANCEL
public static final java.lang.String SERIALIZED_NAME_CANCEL- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CASH
public static final java.lang.String SERIALIZED_NAME_CASH- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FEE
public static final java.lang.String SERIALIZED_NAME_FEE- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TRANSFER
public static final java.lang.String SERIALIZED_NAME_TRANSFER- See Also:
- Constant Field Values
-
-
Constructor Details
-
StandaloneInvestmentTransactionType
public StandaloneInvestmentTransactionType()
-
-
Method Details
-
buy
-
getBuy
public java.lang.String getBuy()Buying an investment- Returns:
- buy
-
setBuy
public void setBuy(java.lang.String buy) -
sell
-
getSell
public java.lang.String getSell()Selling an investment- Returns:
- sell
-
setSell
public void setSell(java.lang.String sell) -
cancel
-
getCancel
public java.lang.String getCancel()A cancellation of a pending transaction- Returns:
- cancel
-
setCancel
public void setCancel(java.lang.String cancel) -
cash
-
getCash
public java.lang.String getCash()Activity that modifies a cash position- Returns:
- cash
-
setCash
public void setCash(java.lang.String cash) -
fee
-
getFee
public java.lang.String getFee()Fees on the account, e.g. commission, bookkeeping, options-related.- Returns:
- fee
-
setFee
public void setFee(java.lang.String fee) -
transfer
-
getTransfer
public java.lang.String getTransfer()Activity that modifies a position, but not through buy/sell activity e.g. options exercise, portfolio transfer- Returns:
- transfer
-
setTransfer
public void setTransfer(java.lang.String transfer) -
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-