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_GSONFields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanDebited amount.Get ID of expandablebalanceTransactionobject.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 valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.String representing the object's type.inthashCode()list(FraudLiabilityDebitListParams params) Returns a list of IssuingFraudLiabilityDebitobjects.list(FraudLiabilityDebitListParams params, RequestOptions options) Returns a list of IssuingFraudLiabilityDebitobjects.Returns a list of IssuingFraudLiabilityDebitobjects.list(Map<String, Object> params, RequestOptions options) Returns a list of IssuingFraudLiabilityDebitobjects.static FraudLiabilityDebitRetrieves an IssuingFraudLiabilityDebitobject.static FraudLiabilityDebitretrieve(String fraudLiabilityDebit, RequestOptions options) Retrieves an IssuingFraudLiabilityDebitobject.static FraudLiabilityDebitretrieve(String fraudLiabilityDebit, FraudLiabilityDebitRetrieveParams params, RequestOptions options) Retrieves an IssuingFraudLiabilityDebitobject.static FraudLiabilityDebitRetrieves an IssuingFraudLiabilityDebitobject.voidDebited amount.voidvoidsetBalanceTransactionObject(BalanceTransaction expandableObject) voidsetCreated(Long created) Time at which the object was created.voidsetCurrency(String currency) The currency of the debit.voidsetDispute(String dispute) The ID of the linked dispute.voidUnique identifier for the object.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidString representing the object's type.voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setGlobalResponseGetter, urlEncode, urlEncodeIdMethods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
FraudLiabilityDebit
public FraudLiabilityDebit()
-
-
Method Details
-
getBalanceTransaction
Get ID of expandablebalanceTransactionobject. -
setBalanceTransaction
-
getBalanceTransactionObject
Get expandedbalanceTransaction. -
setBalanceTransactionObject
-
list
Returns a list of IssuingFraudLiabilityDebitobjects. 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 IssuingFraudLiabilityDebitobjects. 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 IssuingFraudLiabilityDebitobjects. 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 IssuingFraudLiabilityDebitobjects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.- Throws:
StripeException
-
retrieve
Retrieves an IssuingFraudLiabilityDebitobject.- Throws:
StripeException
-
retrieve
public static FraudLiabilityDebit retrieve(String fraudLiabilityDebit, RequestOptions options) throws StripeException Retrieves an IssuingFraudLiabilityDebitobject.- Throws:
StripeException
-
retrieve
public static FraudLiabilityDebit retrieve(String fraudLiabilityDebit, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves an IssuingFraudLiabilityDebitobject.- Throws:
StripeException
-
retrieve
public static FraudLiabilityDebit retrieve(String fraudLiabilityDebit, FraudLiabilityDebitRetrieveParams params, RequestOptions options) throws StripeException Retrieves an IssuingFraudLiabilityDebitobject.- Throws:
StripeException
-
setResponseGetter
Description copied from interface:StripeActiveObjectMethod is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.- Specified by:
setResponseGetterin interfaceStripeActiveObject- Overrides:
setResponseGetterin classApiResource- Parameters:
responseGetter- theStripeResponseGetterinstance 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 valuetrueif the object exists in live mode or the valuefalseif 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 valuetrueif the object exists in live mode or the valuefalseif 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.
-