Package com.stripe.model
Class IssuerFraudRecord
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.net.ApiResource
-
- com.stripe.model.IssuerFraudRecord
-
- All Implemented Interfaces:
HasId
,StripeObjectInterface
public class IssuerFraudRecord extends ApiResource implements HasId
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.stripe.net.ApiResource
ApiResource.RequestMethod
-
-
Field Summary
-
Fields inherited from class com.stripe.net.ApiResource
CHARSET, GSON
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description IssuerFraudRecord()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 expandablecharge
object.Charge
getChargeObject()
Get expandedcharge
.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 valuetrue
if the object exists in live mode or the valuefalse
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, RequestOptions options)
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.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 valuetrue
if the object exists in live mode or the valuefalse
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.-
Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, classUrl, classUrl, instanceUrl, instanceUrl, request, request, requestCollection, requestCollection, requestSearchResult, requestSearchResult, requestStream, requestStream, setExpandableFieldId, setStripeResponseGetter, singleClassUrl, singleClassUrl, subresourceUrl, urlEncode, urlEncodeId
-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getCharge
public java.lang.String getCharge()
Get ID of expandablecharge
object.
-
setCharge
public void setCharge(java.lang.String id)
-
getChargeObject
public Charge getChargeObject()
Get expandedcharge
.
-
setChargeObject
public void setChargeObject(Charge expandableObject)
-
list
public static IssuerFraudRecordCollection list(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
Returns a list of issuer fraud records.- Throws:
StripeException
-
list
public static IssuerFraudRecordCollection list(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
Returns a list of issuer fraud records.- Throws:
StripeException
-
list
public static IssuerFraudRecordCollection list(IssuerFraudRecordListParams params) throws StripeException
Returns a list of issuer fraud records.- Throws:
StripeException
-
list
public static IssuerFraudRecordCollection list(IssuerFraudRecordListParams params, RequestOptions options) throws StripeException
Returns a list of issuer fraud records.- Throws:
StripeException
-
retrieve
public static IssuerFraudRecord retrieve(java.lang.String issuerFraudRecord) throws StripeException
Retrieves the details of an issuer fraud record that has previously been created.Please refer to the issuer fraud record object reference for more details.
- Throws:
StripeException
-
retrieve
public static IssuerFraudRecord retrieve(java.lang.String issuerFraudRecord, RequestOptions options) throws StripeException
Retrieves the details of an issuer fraud record that has previously been created.Please refer to the issuer fraud record object reference for more details.
- Throws:
StripeException
-
retrieve
public static IssuerFraudRecord retrieve(java.lang.String issuerFraudRecord, java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
Retrieves the details of an issuer fraud record that has previously been created.Please refer to the issuer fraud record object reference for more details.
- Throws:
StripeException
-
retrieve
public static IssuerFraudRecord retrieve(java.lang.String issuerFraudRecord, IssuerFraudRecordRetrieveParams params, RequestOptions options) throws StripeException
Retrieves the details of an issuer fraud record that has previously been created.Please refer to the issuer fraud record object reference for more details.
- Throws:
StripeException
-
getActionable
public java.lang.Boolean getActionable()
An IFR is actionable if it has not received a dispute and has not been fully refunded. You may wish to proactively refund a charge that receives an IFR, in order to avoid receiving a dispute later.
-
getCreated
public java.lang.Long getCreated()
Time at which the object was created. Measured in seconds since the Unix epoch.
-
getFraudType
public java.lang.String getFraudType()
The type of fraud labelled by the issuer. One ofcard_never_received
,fraudulent_card_application
,made_with_counterfeit_card
,made_with_lost_card
,made_with_stolen_card
,misc
,unauthorized_use_of_card
.
-
getHasLiabilityShift
public java.lang.Boolean getHasLiabilityShift()
If true, the associated charge is subject to liability shift.
-
getLivemode
public java.lang.Boolean getLivemode()
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.
-
getObject
public java.lang.String getObject()
String representing the object's type. Objects of the same type share the same value.Equal to
issuer_fraud_record
.
-
getPostDate
public java.lang.Long getPostDate()
The timestamp at which the card issuer posted the issuer fraud record.
-
setActionable
public void setActionable(java.lang.Boolean actionable)
An IFR is actionable if it has not received a dispute and has not been fully refunded. You may wish to proactively refund a charge that receives an IFR, in order to avoid receiving a dispute later.
-
setCreated
public void setCreated(java.lang.Long created)
Time at which the object was created. Measured in seconds since the Unix epoch.
-
setFraudType
public void setFraudType(java.lang.String fraudType)
The type of fraud labelled by the issuer. One ofcard_never_received
,fraudulent_card_application
,made_with_counterfeit_card
,made_with_lost_card
,made_with_stolen_card
,misc
,unauthorized_use_of_card
.
-
setHasLiabilityShift
public void setHasLiabilityShift(java.lang.Boolean hasLiabilityShift)
If true, the associated charge is subject to liability shift.
-
setId
public void setId(java.lang.String id)
Unique identifier for the object.
-
setLivemode
public void setLivemode(java.lang.Boolean livemode)
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.
-
setObject
public void setObject(java.lang.String object)
String representing the object's type. Objects of the same type share the same value.Equal to
issuer_fraud_record
.
-
setPostDate
public void setPostDate(java.lang.Long postDate)
The timestamp at which the card issuer posted the issuer fraud record.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-