public class IssuerFraudRecord extends ApiResource implements HasId
ApiResource.RequestMethod
CHARSET, GSON
PRETTY_PRINT_GSON
Constructor and Description |
---|
IssuerFraudRecord() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.Boolean |
getActionable()
An IFR 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.Boolean |
getHasLiabilityShift()
If true, the associated charge is subject to liability shift.
|
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.
|
java.lang.Long |
getPostDate()
The timestamp at which the card issuer posted the issuer fraud record.
|
int |
hashCode() |
static IssuerFraudRecordCollection |
list(IssuerFraudRecordListParams params)
Returns a list of issuer fraud records.
|
static IssuerFraudRecordCollection |
list(IssuerFraudRecordListParams params,
RequestOptions options)
Returns a list of issuer fraud records.
|
static IssuerFraudRecordCollection |
list(java.util.Map<java.lang.String,java.lang.Object> params)
Returns a list of issuer fraud records.
|
static IssuerFraudRecordCollection |
list(java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
Returns a list of issuer fraud records.
|
static IssuerFraudRecord |
retrieve(java.lang.String issuerFraudRecord)
Retrieves the details of an issuer fraud record that has previously been created.
|
static IssuerFraudRecord |
retrieve(java.lang.String issuerFraudRecord,
IssuerFraudRecordRetrieveParams params,
RequestOptions options)
Retrieves the details of an issuer fraud record that has previously been created.
|
static IssuerFraudRecord |
retrieve(java.lang.String issuerFraudRecord,
java.util.Map<java.lang.String,java.lang.Object> params,
RequestOptions options)
Retrieves the details of an issuer fraud record that has previously been created.
|
static IssuerFraudRecord |
retrieve(java.lang.String issuerFraudRecord,
RequestOptions options)
Retrieves the details of an issuer fraud record that has previously been created.
|
void |
setActionable(java.lang.Boolean actionable)
An IFR 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 |
setHasLiabilityShift(java.lang.Boolean hasLiabilityShift)
If true, the associated charge is subject to liability shift.
|
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.
|
void |
setPostDate(java.lang.Long postDate)
The timestamp at which the card issuer posted the issuer fraud record.
|
checkNullTypedParams, classUrl, classUrl, instanceUrl, instanceUrl, request, request, requestCollection, requestCollection, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeId
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
public java.lang.String getCharge()
charge
object.public void setCharge(java.lang.String id)
public Charge getChargeObject()
charge
.public void setChargeObject(Charge expandableObject)
public static IssuerFraudRecordCollection list(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
StripeException
public static IssuerFraudRecordCollection list(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
StripeException
public static IssuerFraudRecordCollection list(IssuerFraudRecordListParams params) throws StripeException
StripeException
public static IssuerFraudRecordCollection list(IssuerFraudRecordListParams params, RequestOptions options) throws StripeException
StripeException
public static IssuerFraudRecord retrieve(java.lang.String issuerFraudRecord) throws StripeException
Please refer to the issuer fraud record object reference for more details.
StripeException
public static IssuerFraudRecord retrieve(java.lang.String issuerFraudRecord, RequestOptions options) throws StripeException
Please refer to the issuer fraud record object reference for more details.
StripeException
public static IssuerFraudRecord retrieve(java.lang.String issuerFraudRecord, java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
Please refer to the issuer fraud record object reference for more details.
StripeException
public static IssuerFraudRecord retrieve(java.lang.String issuerFraudRecord, IssuerFraudRecordRetrieveParams params, RequestOptions options) throws StripeException
Please refer to the issuer fraud record object reference for more details.
StripeException
public 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 getHasLiabilityShift()
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 issuer_fraud_record
.
public java.lang.Long getPostDate()
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 setHasLiabilityShift(java.lang.Boolean hasLiabilityShift)
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 issuer_fraud_record
.
public void setPostDate(java.lang.Long postDate)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object