Package com.stripe.model.radar
Class AccountEvaluation
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.radar.AccountEvaluation
- All Implemented Interfaces:
HasId,StripeActiveObject,StripeObjectInterface
Account Evaluation resource returned by the Radar Account Evaluations API.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classEvent object representing an event reported for an Account Evaluation via the report API.static classAccount Evaluation Signal resource returned by the Radar Account Evaluations API.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 AccountEvaluationcreate(AccountEvaluationCreateParams params) Creates a newAccountEvaluationobject.static AccountEvaluationcreate(AccountEvaluationCreateParams params, RequestOptions options) Creates a newAccountEvaluationobject.static AccountEvaluationCreates a newAccountEvaluationobject.static AccountEvaluationcreate(Map<String, Object> params, RequestOptions options) Creates a newAccountEvaluationobject.booleanTime at which the object was created.The ID of the Stripe customer the account evaluation is associated with.The list of events that were reported for this Account Evaluation object via the report API.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.A hash of signal objects providing Radar's evaluation for the lifecycle event.getType()The type of evaluation returned, based on the user's request.inthashCode()static AccountEvaluationRetrieves anAccountEvaluationobject.static AccountEvaluationretrieve(String accountEvaluation, RequestOptions options) Retrieves anAccountEvaluationobject.static AccountEvaluationretrieve(String accountEvaluation, AccountEvaluationRetrieveParams params, RequestOptions options) Retrieves anAccountEvaluationobject.static AccountEvaluationRetrieves anAccountEvaluationobject.voidsetCreatedAt(Long createdAt) Time at which the object was created.voidsetCustomer(String customer) The ID of the Stripe customer the account evaluation is associated with.voidsetEvents(List<AccountEvaluation.Event> events) The list of events that were reported for this Account Evaluation object via the report API.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) Score for this signal (float between 0.0-100.0).voidsetSignals(AccountEvaluation.Signals signals) A hash of signal objects providing Radar's evaluation for the lifecycle event.voidThe type of evaluation returned, based on the user's request.update(AccountEvaluationUpdateParams params) Reports an event on anAccountEvaluationobject.update(AccountEvaluationUpdateParams params, RequestOptions options) Reports an event on anAccountEvaluationobject.Reports an event on anAccountEvaluationobject.update(Map<String, Object> params, RequestOptions options) Reports an event on anAccountEvaluationobject.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
-
AccountEvaluation
public AccountEvaluation()
-
-
Method Details
-
create
Creates a newAccountEvaluationobject.- Throws:
StripeException
-
create
public static AccountEvaluation create(Map<String, Object> params, RequestOptions options) throws StripeExceptionCreates a newAccountEvaluationobject.- Throws:
StripeException
-
create
Creates a newAccountEvaluationobject.- Throws:
StripeException
-
create
public static AccountEvaluation create(AccountEvaluationCreateParams params, RequestOptions options) throws StripeException Creates a newAccountEvaluationobject.- Throws:
StripeException
-
retrieve
Retrieves anAccountEvaluationobject.- Throws:
StripeException
-
retrieve
public static AccountEvaluation retrieve(String accountEvaluation, RequestOptions options) throws StripeException Retrieves anAccountEvaluationobject.- Throws:
StripeException
-
retrieve
public static AccountEvaluation retrieve(String accountEvaluation, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves anAccountEvaluationobject.- Throws:
StripeException
-
retrieve
public static AccountEvaluation retrieve(String accountEvaluation, AccountEvaluationRetrieveParams params, RequestOptions options) throws StripeException Retrieves anAccountEvaluationobject.- Throws:
StripeException
-
update
Reports an event on anAccountEvaluationobject.- Throws:
StripeException
-
update
public AccountEvaluation update(Map<String, Object> params, RequestOptions options) throws StripeExceptionReports an event on anAccountEvaluationobject.- Throws:
StripeException
-
update
Reports an event on anAccountEvaluationobject.- Throws:
StripeException
-
update
public AccountEvaluation update(AccountEvaluationUpdateParams params, RequestOptions options) throws StripeException Reports an event on anAccountEvaluationobject.- Throws:
StripeException
-
setResponseGetter
Score for this signal (float between 0.0-100.0).- Specified by:
setResponseGetterin interfaceStripeActiveObject- Overrides:
setResponseGetterin classApiResource- Parameters:
responseGetter- theStripeResponseGetterinstance to use for making further requests.
-
getCreatedAt
Time at which the object was created. Measured in seconds since the Unix epoch. -
getCustomer
The ID of the Stripe customer the account evaluation is associated with. -
getEvents
The list of events that were reported for this Account Evaluation object via the report API. -
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
radar.account_evaluation. -
getSignals
A hash of signal objects providing Radar's evaluation for the lifecycle event. -
getType
The type of evaluation returned, based on the user's request. -
setCreatedAt
Time at which the object was created. Measured in seconds since the Unix epoch. -
setCustomer
The ID of the Stripe customer the account evaluation is associated with. -
setEvents
The list of events that were reported for this Account Evaluation object via the report API. -
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
radar.account_evaluation. -
setSignals
A hash of signal objects providing Radar's evaluation for the lifecycle event. -
setType
The type of evaluation returned, based on the user's request. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-