Package com.stripe.model.issuing
Class FraudLiabilityDebit
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.issuing.FraudLiabilityDebit
- All Implemented Interfaces:
HasId
,StripeActiveObject
,StripeObjectInterface
A fraud liability debit occurs when Stripe debits a platform's account for fraud losses on
Issuing transactions.
-
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, INTERNAL_GSON
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Debited amount.Get ID of expandablebalanceTransaction
object.Get expandedbalanceTransaction
.Time at which the object was created.The currency of the debit.The ID of the linked dispute.getId()
Unique identifier for the object.Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.String representing the object's type.int
hashCode()
list
(FraudLiabilityDebitListParams params) Returns a list of IssuingFraudLiabilityDebit
objects.list
(FraudLiabilityDebitListParams params, RequestOptions options) Returns a list of IssuingFraudLiabilityDebit
objects.Returns a list of IssuingFraudLiabilityDebit
objects.list
(Map<String, Object> params, RequestOptions options) Returns a list of IssuingFraudLiabilityDebit
objects.static FraudLiabilityDebit
Retrieves an IssuingFraudLiabilityDebit
object.static FraudLiabilityDebit
retrieve
(String fraudLiabilityDebit, RequestOptions options) Retrieves an IssuingFraudLiabilityDebit
object.static FraudLiabilityDebit
retrieve
(String fraudLiabilityDebit, FraudLiabilityDebitRetrieveParams params, RequestOptions options) Retrieves an IssuingFraudLiabilityDebit
object.static FraudLiabilityDebit
Retrieves an IssuingFraudLiabilityDebit
object.void
Debited amount.void
void
setBalanceTransactionObject
(BalanceTransaction expandableObject) void
setCreated
(Long created) Time at which the object was created.void
setCurrency
(String currency) The currency of the debit.void
setDispute
(String dispute) The ID of the linked dispute.void
Unique identifier for the object.void
setLivemode
(Boolean livemode) Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.void
String representing the object's type.void
setResponseGetter
(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetter
implementations to set theStripeResponseGetter
instance used to make further requests.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, urlEncode, urlEncodeId
Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
FraudLiabilityDebit
public FraudLiabilityDebit()
-
-
Method Details
-
getBalanceTransaction
Get ID of expandablebalanceTransaction
object. -
setBalanceTransaction
-
getBalanceTransactionObject
Get expandedbalanceTransaction
. -
setBalanceTransactionObject
-
list
Returns a list of IssuingFraudLiabilityDebit
objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.- Throws:
StripeException
-
list
public static FraudLiabilityDebitCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionReturns a list of IssuingFraudLiabilityDebit
objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.- Throws:
StripeException
-
list
public static FraudLiabilityDebitCollection list(FraudLiabilityDebitListParams params) throws StripeException Returns a list of IssuingFraudLiabilityDebit
objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.- Throws:
StripeException
-
list
public static FraudLiabilityDebitCollection list(FraudLiabilityDebitListParams params, RequestOptions options) throws StripeException Returns a list of IssuingFraudLiabilityDebit
objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.- Throws:
StripeException
-
retrieve
Retrieves an IssuingFraudLiabilityDebit
object.- Throws:
StripeException
-
retrieve
public static FraudLiabilityDebit retrieve(String fraudLiabilityDebit, RequestOptions options) throws StripeException Retrieves an IssuingFraudLiabilityDebit
object.- Throws:
StripeException
-
retrieve
public static FraudLiabilityDebit retrieve(String fraudLiabilityDebit, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves an IssuingFraudLiabilityDebit
object.- Throws:
StripeException
-
retrieve
public static FraudLiabilityDebit retrieve(String fraudLiabilityDebit, FraudLiabilityDebitRetrieveParams params, RequestOptions options) throws StripeException Retrieves an IssuingFraudLiabilityDebit
object.- Throws:
StripeException
-
setResponseGetter
Description copied from interface:StripeActiveObject
Method is used by the containing object orStripeResponseGetter
implementations to set theStripeResponseGetter
instance used to make further requests.- Specified by:
setResponseGetter
in interfaceStripeActiveObject
- Overrides:
setResponseGetter
in classApiResource
- Parameters:
responseGetter
- theStripeResponseGetter
instance to use for making further requests.
-
getAmount
Debited amount. This is equal to the disputed amount and is given in the card’s currency and in the smallest currency unit. -
getCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
getCurrency
The currency of the debit. Three-letter ISO currency code, in lowercase. Must be a supported currency. -
getDispute
The ID of the linked dispute. -
getLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
issuing.fraud_liability_debit
. -
setAmount
Debited amount. This is equal to the disputed amount and is given in the card’s currency and in the smallest currency unit. -
setCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
setCurrency
The currency of the debit. Three-letter ISO currency code, in lowercase. Must be a supported currency. -
setDispute
The ID of the linked dispute. -
setId
Unique identifier for the object. -
setLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
issuing.fraud_liability_debit
. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-