public class EarlyFraudWarning extends ApiResource implements HasId
ApiResource.RequestMethodCHARSET, GSONPRETTY_PRINT_GSON| Constructor and Description |
|---|
EarlyFraudWarning() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.Boolean |
getActionable()
An EFW is actionable if it has not received a dispute and has not been fully refunded.
|
java.lang.String |
getCharge()
Get ID of expandable
charge object. |
Charge |
getChargeObject()
Get expanded
charge. |
java.lang.Long |
getCreated()
Time at which the object was created.
|
java.lang.String |
getFraudType()
The type of fraud labelled by the issuer.
|
java.lang.String |
getId()
Unique identifier for the object.
|
java.lang.Boolean |
getLivemode()
Has the value
true if the object exists in live mode or the value false if the
object exists in test mode. |
java.lang.String |
getObject()
String representing the object's type.
|
int |
hashCode() |
static EarlyFraudWarningCollection |
list(EarlyFraudWarningListParams params)
Returns a list of early fraud warnings.
|
static EarlyFraudWarningCollection |
list(EarlyFraudWarningListParams params,
RequestOptions options)
Returns a list of early fraud warnings.
|
static EarlyFraudWarningCollection |
list(java.util.Map<java.lang.String,java.lang.Object> params)
Returns a list of early fraud warnings.
|
static EarlyFraudWarningCollection |
list(java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
Returns a list of early fraud warnings.
|
static EarlyFraudWarning |
retrieve(java.lang.String earlyFraudWarning)
Retrieves the details of an early fraud warning that has previously been created.
|
static EarlyFraudWarning |
retrieve(java.lang.String earlyFraudWarning,
EarlyFraudWarningRetrieveParams params,
RequestOptions options)
Retrieves the details of an early fraud warning that has previously been created.
|
static EarlyFraudWarning |
retrieve(java.lang.String earlyFraudWarning,
java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
Retrieves the details of an early fraud warning that has previously been created.
|
static EarlyFraudWarning |
retrieve(java.lang.String earlyFraudWarning,
RequestOptions options)
Retrieves the details of an early fraud warning that has previously been created.
|
void |
setActionable(java.lang.Boolean actionable)
An EFW is actionable if it has not received a dispute and has not been fully refunded.
|
void |
setCharge(java.lang.String id) |
void |
setChargeObject(Charge expandableObject) |
void |
setCreated(java.lang.Long created)
Time at which the object was created.
|
void |
setFraudType(java.lang.String fraudType)
The type of fraud labelled by the issuer.
|
void |
setId(java.lang.String id)
Unique identifier for the object.
|
void |
setLivemode(java.lang.Boolean livemode)
Has the value
true if the object exists in live mode or the value false if the
object exists in test mode. |
void |
setObject(java.lang.String object)
String representing the object's type.
|
checkNullTypedParams, classUrl, classUrl, instanceUrl, instanceUrl, request, request, requestCollection, requestCollection, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeIdequals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringpublic java.lang.String getCharge()
charge object.public void setCharge(java.lang.String id)
public Charge getChargeObject()
charge.public void setChargeObject(Charge expandableObject)
public static EarlyFraudWarningCollection list(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
StripeExceptionpublic static EarlyFraudWarningCollection list(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
StripeExceptionpublic static EarlyFraudWarningCollection list(EarlyFraudWarningListParams params) throws StripeException
StripeExceptionpublic static EarlyFraudWarningCollection list(EarlyFraudWarningListParams params, RequestOptions options) throws StripeException
StripeExceptionpublic static EarlyFraudWarning retrieve(java.lang.String earlyFraudWarning) throws StripeException
Please refer to the early fraud warning object reference for more details.
StripeExceptionpublic static EarlyFraudWarning retrieve(java.lang.String earlyFraudWarning, RequestOptions options) throws StripeException
Please refer to the early fraud warning object reference for more details.
StripeExceptionpublic static EarlyFraudWarning retrieve(java.lang.String earlyFraudWarning, java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
Please refer to the early fraud warning object reference for more details.
StripeExceptionpublic static EarlyFraudWarning retrieve(java.lang.String earlyFraudWarning, EarlyFraudWarningRetrieveParams params, RequestOptions options) throws StripeException
Please refer to the early fraud warning object reference for more details.
StripeExceptionpublic java.lang.Boolean getActionable()
public java.lang.Long getCreated()
public java.lang.String getFraudType()
card_never_received, fraudulent_card_application, made_with_counterfeit_card, made_with_lost_card,
made_with_stolen_card, misc, unauthorized_use_of_card.public java.lang.Boolean getLivemode()
true if the object exists in live mode or the value false if the
object exists in test mode.public java.lang.String getObject()
Equal to radar.early_fraud_warning.
public void setActionable(java.lang.Boolean actionable)
public void setCreated(java.lang.Long created)
public void setFraudType(java.lang.String fraudType)
card_never_received, fraudulent_card_application, made_with_counterfeit_card, made_with_lost_card,
made_with_stolen_card, misc, unauthorized_use_of_card.public void setId(java.lang.String id)
public void setLivemode(java.lang.Boolean livemode)
true if the object exists in live mode or the value false if the
object exists in test mode.public void setObject(java.lang.String object)
Equal to radar.early_fraud_warning.
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode in class java.lang.Object