Package com.stripe.model.radar
Class PaymentEvaluation
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.radar.PaymentEvaluation
- All Implemented Interfaces:
HasId,StripeActiveObject,StripeObjectInterface
Payment Evaluations represent the risk lifecycle of an externally processed payment. It includes
the Radar risk score from Stripe, payment outcome taken by the merchant or processor, and any
post transaction events, such as refunds or disputes. See the Radar API guide for integration steps.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classClient device metadata attached to this payment evaluation.static classCustomer details attached to this payment evaluation.static classEvent reported for this payment evaluation.static classCollection of scores and insights for this payment evaluation.static classOutcome details for this payment evaluation.static classPayment details attached to this payment evaluation.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 booleanstatic PaymentEvaluationcreate(PaymentEvaluationCreateParams params) Request a Radar API fraud risk score from Stripe for a payment before sending it for external processor authorization.static PaymentEvaluationcreate(PaymentEvaluationCreateParams params, RequestOptions options) Request a Radar API fraud risk score from Stripe for a payment before sending it for external processor authorization.static PaymentEvaluationRequest a Radar API fraud risk score from Stripe for a payment before sending it for external processor authorization.static PaymentEvaluationcreate(Map<String, Object> params, RequestOptions options) Request a Radar API fraud risk score from Stripe for a payment before sending it for external processor authorization.booleanClient device metadata attached to this payment evaluation.Time at which the object was created.Customer details attached to this payment evaluation.Event information associated with the payment evaluation, such as refunds, dispute, early fraud warnings, or user interventions.getId()Unique identifier for the object.Collection of scores and insights for this payment evaluation.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.Set of key-value pairs that you can attach to an object.String representing the object's type.Indicates the final outcome for the payment evaluation.Payment details attached to this payment evaluation.inthashCode()voidsetClientDeviceMetadataDetails(PaymentEvaluation.ClientDeviceMetadataDetails clientDeviceMetadataDetails) Client device metadata attached to this payment evaluation.voidsetCreatedAt(Long createdAt) Time at which the object was created.voidsetCustomerDetails(PaymentEvaluation.CustomerDetails customerDetails) Customer details attached to this payment evaluation.voidsetEvents(List<PaymentEvaluation.Event> events) Event information associated with the payment evaluation, such as refunds, dispute, early fraud warnings, or user interventions.voidUnique identifier for the object.voidsetInsights(PaymentEvaluation.Insights insights) Collection of scores and insights for this payment evaluation.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidsetMetadata(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.voidString representing the object's type.voidsetOutcome(PaymentEvaluation.Outcome outcome) Indicates the final outcome for the payment evaluation.voidsetPaymentDetails(PaymentEvaluation.PaymentDetails paymentDetails) Payment details attached to this payment evaluation.voidsetResponseGetter(StripeResponseGetter responseGetter) State, county, province, or region (ISO 3166-2).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
-
PaymentEvaluation
public PaymentEvaluation()
-
-
Method Details
-
create
Request a Radar API fraud risk score from Stripe for a payment before sending it for external processor authorization.- Throws:
StripeException
-
create
public static PaymentEvaluation create(Map<String, Object> params, RequestOptions options) throws StripeExceptionRequest a Radar API fraud risk score from Stripe for a payment before sending it for external processor authorization.- Throws:
StripeException
-
create
Request a Radar API fraud risk score from Stripe for a payment before sending it for external processor authorization.- Throws:
StripeException
-
create
public static PaymentEvaluation create(PaymentEvaluationCreateParams params, RequestOptions options) throws StripeException Request a Radar API fraud risk score from Stripe for a payment before sending it for external processor authorization.- Throws:
StripeException
-
setResponseGetter
State, county, province, or region (ISO 3166-2).- Specified by:
setResponseGetterin interfaceStripeActiveObject- Overrides:
setResponseGetterin classApiResource- Parameters:
responseGetter- theStripeResponseGetterinstance to use for making further requests.
-
getClientDeviceMetadataDetails
Client device metadata attached to this payment evaluation. -
getCreatedAt
Time at which the object was created. Measured in seconds since the Unix epoch. -
getCustomerDetails
Customer details attached to this payment evaluation. -
getEvents
Event information associated with the payment evaluation, such as refunds, dispute, early fraud warnings, or user interventions. -
getInsights
Collection of scores and insights for this payment evaluation. -
getLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
getMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
radar.payment_evaluation. -
getOutcome
Indicates the final outcome for the payment evaluation. -
getPaymentDetails
Payment details attached to this payment evaluation. -
setClientDeviceMetadataDetails
public void setClientDeviceMetadataDetails(PaymentEvaluation.ClientDeviceMetadataDetails clientDeviceMetadataDetails) Client device metadata attached to this payment evaluation. -
setCreatedAt
Time at which the object was created. Measured in seconds since the Unix epoch. -
setCustomerDetails
Customer details attached to this payment evaluation. -
setEvents
Event information associated with the payment evaluation, such as refunds, dispute, early fraud warnings, or user interventions. -
setId
Unique identifier for the object. -
setInsights
Collection of scores and insights for this payment evaluation. -
setLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
setMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
radar.payment_evaluation. -
setOutcome
Indicates the final outcome for the payment evaluation. -
setPaymentDetails
Payment details attached to this payment evaluation. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-