Package com.stripe.param.issuing
Class AuthorizationCreateParams.RiskAssessment.FraudRisk.Builder
java.lang.Object
com.stripe.param.issuing.AuthorizationCreateParams.RiskAssessment.FraudRisk.Builder
- Enclosing class:
- AuthorizationCreateParams.RiskAssessment.FraudRisk
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Finalize and obtain parameter instance from this builder.putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map.Required. Stripe’s assessment of the likelihood of fraud on an authorization.setScore(BigDecimal score) Stripe’s numerical model score assessing the likelihood of fraudulent activity.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public AuthorizationCreateParams.RiskAssessment.FraudRisk.Builder putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeAuthorizationCreateParams.RiskAssessment.FraudRisk.extraParamsfor the field documentation. -
putAllExtraParam
public AuthorizationCreateParams.RiskAssessment.FraudRisk.Builder putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeAuthorizationCreateParams.RiskAssessment.FraudRisk.extraParamsfor the field documentation. -
setLevel
public AuthorizationCreateParams.RiskAssessment.FraudRisk.Builder setLevel(AuthorizationCreateParams.RiskAssessment.FraudRisk.Level level) Required. Stripe’s assessment of the likelihood of fraud on an authorization. -
setScore
Stripe’s numerical model score assessing the likelihood of fraudulent activity. A higher score means a higher likelihood of fraudulent activity, and anything above 25 is considered high risk.
-