Package com.plaid.client.model
Class TransactionsRemovedWebhook
java.lang.Object
com.plaid.client.model.TransactionsRemovedWebhook
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2021-10-15T19:47:39.714Z[GMT]")
public class TransactionsRemovedWebhook
extends java.lang.Object
Fired when transaction(s) for an Item are deleted. The deleted transaction IDs are included in the webhook payload. Plaid will typically check for deleted transaction data several times a day.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERIALIZED_NAME_ERROR
static java.lang.String
SERIALIZED_NAME_ITEM_ID
static java.lang.String
SERIALIZED_NAME_REMOVED_TRANSACTIONS
static java.lang.String
SERIALIZED_NAME_WEBHOOK_CODE
static java.lang.String
SERIALIZED_NAME_WEBHOOK_TYPE
-
Constructor Summary
Constructors Constructor Description TransactionsRemovedWebhook()
-
Method Summary
Modifier and Type Method Description TransactionsRemovedWebhook
addRemovedTransactionsItem(java.lang.String removedTransactionsItem)
boolean
equals(java.lang.Object o)
TransactionsRemovedWebhook
error(Error error)
Error
getError()
Get errorjava.lang.String
getItemId()
The `item_id` of the Item associated with this webhook, warning, or errorjava.util.List<java.lang.String>
getRemovedTransactions()
An array of `transaction_ids` corresponding to the removed transactionsjava.lang.String
getWebhookCode()
`TRANSACTIONS_REMOVED`java.lang.String
getWebhookType()
`TRANSACTIONS`int
hashCode()
TransactionsRemovedWebhook
itemId(java.lang.String itemId)
TransactionsRemovedWebhook
removedTransactions(java.util.List<java.lang.String> removedTransactions)
void
setError(Error error)
void
setItemId(java.lang.String itemId)
void
setRemovedTransactions(java.util.List<java.lang.String> removedTransactions)
void
setWebhookCode(java.lang.String webhookCode)
void
setWebhookType(java.lang.String webhookType)
java.lang.String
toString()
TransactionsRemovedWebhook
webhookCode(java.lang.String webhookCode)
TransactionsRemovedWebhook
webhookType(java.lang.String webhookType)
-
Field Details
-
SERIALIZED_NAME_WEBHOOK_TYPE
public static final java.lang.String SERIALIZED_NAME_WEBHOOK_TYPE- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WEBHOOK_CODE
public static final java.lang.String SERIALIZED_NAME_WEBHOOK_CODE- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ERROR
public static final java.lang.String SERIALIZED_NAME_ERROR- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REMOVED_TRANSACTIONS
public static final java.lang.String SERIALIZED_NAME_REMOVED_TRANSACTIONS- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ITEM_ID
public static final java.lang.String SERIALIZED_NAME_ITEM_ID- See Also:
- Constant Field Values
-
-
Constructor Details
-
TransactionsRemovedWebhook
public TransactionsRemovedWebhook()
-
-
Method Details
-
webhookType
-
getWebhookType
public java.lang.String getWebhookType()`TRANSACTIONS`- Returns:
- webhookType
-
setWebhookType
public void setWebhookType(java.lang.String webhookType) -
webhookCode
-
getWebhookCode
public java.lang.String getWebhookCode()`TRANSACTIONS_REMOVED`- Returns:
- webhookCode
-
setWebhookCode
public void setWebhookCode(java.lang.String webhookCode) -
error
-
getError
Get error- Returns:
- error
-
setError
-
removedTransactions
public TransactionsRemovedWebhook removedTransactions(java.util.List<java.lang.String> removedTransactions) -
addRemovedTransactionsItem
public TransactionsRemovedWebhook addRemovedTransactionsItem(java.lang.String removedTransactionsItem) -
getRemovedTransactions
public java.util.List<java.lang.String> getRemovedTransactions()An array of `transaction_ids` corresponding to the removed transactions- Returns:
- removedTransactions
-
setRemovedTransactions
public void setRemovedTransactions(java.util.List<java.lang.String> removedTransactions) -
itemId
-
getItemId
public java.lang.String getItemId()The `item_id` of the Item associated with this webhook, warning, or error- Returns:
- itemId
-
setItemId
public void setItemId(java.lang.String itemId) -
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
-