Package com.stripe.model.issuing
Class CreditUnderwritingRecord
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.ApiResource
com.stripe.model.issuing.CreditUnderwritingRecord
- All Implemented Interfaces:
HasId
,StripeActiveObject
,StripeObjectInterface
Every time an applicant submits an application for a Charge Card product your platform offers, or
every time your platform takes a proactive credit decision on an existing account, you must
record the decision by creating a new
CreditUnderwritingRecord
object on a connected
account.
Follow the guide to learn about your requirements as a platform.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
List of reasons why the existing account was closed, up to 4 reasons, in order of importance.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
correct()
Update aCreditUnderwritingRecord
object to correct mistakes.correct
(RequestOptions options) Update aCreditUnderwritingRecord
object to correct mistakes.Update aCreditUnderwritingRecord
object to correct mistakes.correct
(CreditUnderwritingRecordCorrectParams params, RequestOptions options) Update aCreditUnderwritingRecord
object to correct mistakes.Update aCreditUnderwritingRecord
object to correct mistakes.correct
(Map<String, Object> params, RequestOptions options) Update aCreditUnderwritingRecord
object to correct mistakes.static CreditUnderwritingRecord
Creates aCreditUnderwritingRecord
object with information about a credit application submission.static CreditUnderwritingRecord
createFromApplication
(CreditUnderwritingRecordCreateFromApplicationParams params, RequestOptions options) Creates aCreditUnderwritingRecord
object with information about a credit application submission.static CreditUnderwritingRecord
createFromApplication
(Map<String, Object> params) Creates aCreditUnderwritingRecord
object with information about a credit application submission.static CreditUnderwritingRecord
createFromApplication
(Map<String, Object> params, RequestOptions options) Creates aCreditUnderwritingRecord
object with information about a credit application submission.static CreditUnderwritingRecord
Creates aCreditUnderwritingRecord
object from an underwriting decision coming from a proactive review of an existing accountholder.static CreditUnderwritingRecord
createFromProactiveReview
(CreditUnderwritingRecordCreateFromProactiveReviewParams params, RequestOptions options) Creates aCreditUnderwritingRecord
object from an underwriting decision coming from a proactive review of an existing accountholder.static CreditUnderwritingRecord
createFromProactiveReview
(Map<String, Object> params) Creates aCreditUnderwritingRecord
object from an underwriting decision coming from a proactive review of an existing accountholder.static CreditUnderwritingRecord
createFromProactiveReview
(Map<String, Object> params, RequestOptions options) Creates aCreditUnderwritingRecord
object from an underwriting decision coming from a proactive review of an existing accountholder.boolean
For decisions triggered by an application, details about the submission.Time at which the object was created.The event that triggered the underwriting.Date when a decision was made.Details about the decision.For underwriting initiated by an application, a decision must be taken 30 days after the submission.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.Set of key-value pairs that you can attach to an object.String representing the object's type.File containing regulatory reporting data for the decision.If an exception to the usual underwriting criteria was made for this application, details about the exception must be provided.int
hashCode()
Retrieves a list ofCreditUnderwritingRecord
objects.list
(CreditUnderwritingRecordListParams params, RequestOptions options) Retrieves a list ofCreditUnderwritingRecord
objects.Retrieves a list ofCreditUnderwritingRecord
objects.list
(Map<String, Object> params, RequestOptions options) Retrieves a list ofCreditUnderwritingRecord
objects.Update aCreditUnderwritingRecord
object from a decision made on a credit application.reportDecision
(CreditUnderwritingRecordReportDecisionParams params, RequestOptions options) Update aCreditUnderwritingRecord
object from a decision made on a credit application.reportDecision
(Map<String, Object> params) Update aCreditUnderwritingRecord
object from a decision made on a credit application.reportDecision
(Map<String, Object> params, RequestOptions options) Update aCreditUnderwritingRecord
object from a decision made on a credit application.static CreditUnderwritingRecord
Retrieves aCreditUnderwritingRecord
object.static CreditUnderwritingRecord
retrieve
(String creditUnderwritingRecord, RequestOptions options) Retrieves aCreditUnderwritingRecord
object.static CreditUnderwritingRecord
retrieve
(String creditUnderwritingRecord, CreditUnderwritingRecordRetrieveParams params, RequestOptions options) Retrieves aCreditUnderwritingRecord
object.static CreditUnderwritingRecord
Retrieves aCreditUnderwritingRecord
object.void
setApplication
(CreditUnderwritingRecord.Application application) For decisions triggered by an application, details about the submission.void
setCreated
(Long created) Time at which the object was created.void
setCreatedFrom
(String createdFrom) The event that triggered the underwriting.void
setCreditUser
(CreditUnderwritingRecord.CreditUser creditUser) void
setDecidedAt
(Long decidedAt) Date when a decision was made.void
setDecision
(CreditUnderwritingRecord.Decision decision) Details about the decision.void
setDecisionDeadline
(Long decisionDeadline) For underwriting initiated by an application, a decision must be taken 30 days after the submission.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
setMetadata
(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.void
String representing the object's type.void
setRegulatoryReportingFile
(String regulatoryReportingFile) File containing regulatory reporting data for the decision.void
setResponseGetter
(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetter
implementations to set theStripeResponseGetter
instance used to make further requests.void
setUnderwritingException
(CreditUnderwritingRecord.UnderwritingException underwritingException) If an exception to the usual underwriting criteria was made for this application, details about the exception must be provided.Methods inherited from class com.stripe.net.ApiResource
checkNullTypedParams, getGlobalResponseGetter, getResponseGetter, setExpandableFieldId, setStripeResponseGetter, urlEncode, urlEncodeId
Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, 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
-
CreditUnderwritingRecord
public CreditUnderwritingRecord()
-
-
Method Details
-
correct
Update aCreditUnderwritingRecord
object to correct mistakes.- Throws:
StripeException
-
correct
Update aCreditUnderwritingRecord
object to correct mistakes.- Throws:
StripeException
-
correct
Update aCreditUnderwritingRecord
object to correct mistakes.- Throws:
StripeException
-
correct
public CreditUnderwritingRecord correct(Map<String, Object> params, RequestOptions options) throws StripeExceptionUpdate aCreditUnderwritingRecord
object to correct mistakes.- Throws:
StripeException
-
correct
public CreditUnderwritingRecord correct(CreditUnderwritingRecordCorrectParams params) throws StripeException Update aCreditUnderwritingRecord
object to correct mistakes.- Throws:
StripeException
-
correct
public CreditUnderwritingRecord correct(CreditUnderwritingRecordCorrectParams params, RequestOptions options) throws StripeException Update aCreditUnderwritingRecord
object to correct mistakes.- Throws:
StripeException
-
createFromApplication
public static CreditUnderwritingRecord createFromApplication(Map<String, Object> params) throws StripeExceptionCreates aCreditUnderwritingRecord
object with information about a credit application submission.- Throws:
StripeException
-
createFromApplication
public static CreditUnderwritingRecord createFromApplication(Map<String, Object> params, RequestOptions options) throws StripeExceptionCreates aCreditUnderwritingRecord
object with information about a credit application submission.- Throws:
StripeException
-
createFromApplication
public static CreditUnderwritingRecord createFromApplication(CreditUnderwritingRecordCreateFromApplicationParams params) throws StripeException Creates aCreditUnderwritingRecord
object with information about a credit application submission.- Throws:
StripeException
-
createFromApplication
public static CreditUnderwritingRecord createFromApplication(CreditUnderwritingRecordCreateFromApplicationParams params, RequestOptions options) throws StripeException Creates aCreditUnderwritingRecord
object with information about a credit application submission.- Throws:
StripeException
-
createFromProactiveReview
public static CreditUnderwritingRecord createFromProactiveReview(Map<String, Object> params) throws StripeExceptionCreates aCreditUnderwritingRecord
object from an underwriting decision coming from a proactive review of an existing accountholder.- Throws:
StripeException
-
createFromProactiveReview
public static CreditUnderwritingRecord createFromProactiveReview(Map<String, Object> params, RequestOptions options) throws StripeExceptionCreates aCreditUnderwritingRecord
object from an underwriting decision coming from a proactive review of an existing accountholder.- Throws:
StripeException
-
createFromProactiveReview
public static CreditUnderwritingRecord createFromProactiveReview(CreditUnderwritingRecordCreateFromProactiveReviewParams params) throws StripeException Creates aCreditUnderwritingRecord
object from an underwriting decision coming from a proactive review of an existing accountholder.- Throws:
StripeException
-
createFromProactiveReview
public static CreditUnderwritingRecord createFromProactiveReview(CreditUnderwritingRecordCreateFromProactiveReviewParams params, RequestOptions options) throws StripeException Creates aCreditUnderwritingRecord
object from an underwriting decision coming from a proactive review of an existing accountholder.- Throws:
StripeException
-
list
public static CreditUnderwritingRecordCollection list(Map<String, Object> params) throws StripeExceptionRetrieves a list ofCreditUnderwritingRecord
objects. The objects are sorted in descending order by creation date, with the most-recently-created object appearing first.- Throws:
StripeException
-
list
public static CreditUnderwritingRecordCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves a list ofCreditUnderwritingRecord
objects. The objects are sorted in descending order by creation date, with the most-recently-created object appearing first.- Throws:
StripeException
-
list
public static CreditUnderwritingRecordCollection list(CreditUnderwritingRecordListParams params) throws StripeException Retrieves a list ofCreditUnderwritingRecord
objects. The objects are sorted in descending order by creation date, with the most-recently-created object appearing first.- Throws:
StripeException
-
list
public static CreditUnderwritingRecordCollection list(CreditUnderwritingRecordListParams params, RequestOptions options) throws StripeException Retrieves a list ofCreditUnderwritingRecord
objects. The objects are sorted in descending order by creation date, with the most-recently-created object appearing first.- Throws:
StripeException
-
reportDecision
Update aCreditUnderwritingRecord
object from a decision made on a credit application.- Throws:
StripeException
-
reportDecision
public CreditUnderwritingRecord reportDecision(Map<String, Object> params, RequestOptions options) throws StripeExceptionUpdate aCreditUnderwritingRecord
object from a decision made on a credit application.- Throws:
StripeException
-
reportDecision
public CreditUnderwritingRecord reportDecision(CreditUnderwritingRecordReportDecisionParams params) throws StripeException Update aCreditUnderwritingRecord
object from a decision made on a credit application.- Throws:
StripeException
-
reportDecision
public CreditUnderwritingRecord reportDecision(CreditUnderwritingRecordReportDecisionParams params, RequestOptions options) throws StripeException Update aCreditUnderwritingRecord
object from a decision made on a credit application.- Throws:
StripeException
-
retrieve
public static CreditUnderwritingRecord retrieve(String creditUnderwritingRecord) throws StripeException Retrieves aCreditUnderwritingRecord
object.- Throws:
StripeException
-
retrieve
public static CreditUnderwritingRecord retrieve(String creditUnderwritingRecord, RequestOptions options) throws StripeException Retrieves aCreditUnderwritingRecord
object.- Throws:
StripeException
-
retrieve
public static CreditUnderwritingRecord retrieve(String creditUnderwritingRecord, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves aCreditUnderwritingRecord
object.- Throws:
StripeException
-
retrieve
public static CreditUnderwritingRecord retrieve(String creditUnderwritingRecord, CreditUnderwritingRecordRetrieveParams params, RequestOptions options) throws StripeException Retrieves aCreditUnderwritingRecord
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.
-
getApplication
For decisions triggered by an application, details about the submission. -
getCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
getCreatedFrom
The event that triggered the underwriting.One of
application
, orproactive_review
. -
getCreditUser
-
getDecidedAt
Date when a decision was made. -
getDecision
Details about the decision. -
getDecisionDeadline
For underwriting initiated by an application, a decision must be taken 30 days after the submission. -
getLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if 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
issuing.credit_underwriting_record
. -
getRegulatoryReportingFile
File containing regulatory reporting data for the decision. Required if you are subject to this reporting requirement. -
getUnderwritingException
If an exception to the usual underwriting criteria was made for this application, details about the exception must be provided. Exceptions should only be granted in rare circumstances, in consultation with Stripe Compliance. -
setApplication
For decisions triggered by an application, details about the submission. -
setCreated
Time at which the object was created. Measured in seconds since the Unix epoch. -
setCreatedFrom
The event that triggered the underwriting.One of
application
, orproactive_review
. -
setCreditUser
-
setDecidedAt
Date when a decision was made. -
setDecision
Details about the decision. -
setDecisionDeadline
For underwriting initiated by an application, a decision must be taken 30 days after the submission. -
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. -
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
issuing.credit_underwriting_record
. -
setRegulatoryReportingFile
File containing regulatory reporting data for the decision. Required if you are subject to this reporting requirement. -
setUnderwritingException
public void setUnderwritingException(CreditUnderwritingRecord.UnderwritingException underwritingException) If an exception to the usual underwriting criteria was made for this application, details about the exception must be provided. Exceptions should only be granted in rare circumstances, in consultation with Stripe Compliance. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-