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 booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.BooleangetActionable()An IFR is actionable if it has not received a dispute and has not been fully refunded.java.lang.StringgetCharge()Get ID of expandablechargeobject.ChargegetChargeObject()Get expandedcharge.java.lang.LonggetCreated()Time at which the object was created.java.lang.StringgetFraudType()The type of fraud labelled by the issuer.java.lang.BooleangetHasLiabilityShift()If true, the associated charge is subject to liability shift.java.lang.StringgetId()Unique identifier for the object.java.lang.BooleangetLivemode()Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.java.lang.StringgetObject()String representing the object's type.java.lang.LonggetPostDate()The timestamp at which the card issuer posted the issuer fraud record.inthashCode()static IssuerFraudRecordCollectionlist(IssuerFraudRecordListParams params)Returns a list of issuer fraud records.static IssuerFraudRecordCollectionlist(IssuerFraudRecordListParams params, RequestOptions options)Returns a list of issuer fraud records.static IssuerFraudRecordCollectionlist(java.util.Map<java.lang.String,java.lang.Object> params)Returns a list of issuer fraud records.static IssuerFraudRecordCollectionlist(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options)Returns a list of issuer fraud records.static IssuerFraudRecordretrieve(java.lang.String issuerFraudRecord)Retrieves the details of an issuer fraud record that has previously been created.static IssuerFraudRecordretrieve(java.lang.String issuerFraudRecord, RequestOptions options)Retrieves the details of an issuer fraud record that has previously been created.static IssuerFraudRecordretrieve(java.lang.String issuerFraudRecord, IssuerFraudRecordRetrieveParams params, RequestOptions options)Retrieves the details of an issuer fraud record that has previously been created.static IssuerFraudRecordretrieve(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.voidsetActionable(java.lang.Boolean actionable)An IFR is actionable if it has not received a dispute and has not been fully refunded.voidsetCharge(java.lang.String id)voidsetChargeObject(Charge expandableObject)voidsetCreated(java.lang.Long created)Time at which the object was created.voidsetFraudType(java.lang.String fraudType)The type of fraud labelled by the issuer.voidsetHasLiabilityShift(java.lang.Boolean hasLiabilityShift)If true, the associated charge is subject to liability shift.voidsetId(java.lang.String id)Unique identifier for the object.voidsetLivemode(java.lang.Boolean livemode)Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidsetObject(java.lang.String object)String representing the object's type.voidsetPostDate(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, 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 expandablechargeobject.
-
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 valuetrueif the object exists in live mode or the valuefalseif 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 valuetrueif the object exists in live mode or the valuefalseif 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:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-