Package com.stripe.model
Class PersonCollection
- All Implemented Interfaces:
StripeActiveObject
,StripeCollectionInterface<Person>
,StripeObjectInterface
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(PersonCollectionCreateParams params) Creates a new person.create
(PersonCollectionCreateParams params, RequestOptions options) Creates a new person.Creates a new person.create
(Map<String, Object> params, RequestOptions options) Creates a new person.list
(PersonCollectionListParams params) Returns a list of people associated with the account’s legal entity.list
(PersonCollectionListParams params, RequestOptions options) Returns a list of people associated with the account’s legal entity.Returns a list of people associated with the account’s legal entity.list
(Map<String, Object> params, RequestOptions options) Returns a list of people associated with the account’s legal entity.Retrieves an existing person.retrieve
(String id, RequestOptions options) Retrieves an existing person.retrieve
(String id, PersonCollectionRetrieveParams params, RequestOptions options) Retrieves an existing person.Retrieves an existing person.Methods inherited from class com.stripe.model.StripeCollection
autoPagingIterable, autoPagingIterable, autoPagingIterable, canEqual, equals, getData, getHasMore, getObject, getPageTypeToken, getRequestOptions, getRequestParams, getResponseGetter, getUrl, hashCode, setData, setHasMore, setObject, setPageTypeToken, setRequestOptions, setRequestParams, setResponseGetter, setUrl
Methods inherited from class com.stripe.model.StripeObject
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
Methods inherited from interface com.stripe.model.StripeObjectInterface
getLastResponse, setLastResponse
-
Constructor Details
-
PersonCollection
public PersonCollection()
-
-
Method Details
-
create
Creates a new person.- Throws:
StripeException
-
create
Creates a new person.- Throws:
StripeException
-
create
Creates a new person.- Throws:
StripeException
-
create
public Person create(PersonCollectionCreateParams params, RequestOptions options) throws StripeException Creates a new person.- Throws:
StripeException
-
list
Returns a list of people associated with the account’s legal entity. The people are returned sorted by creation date, with the most recent people appearing first.- Throws:
StripeException
-
list
public PersonCollection list(Map<String, Object> params, RequestOptions options) throws StripeExceptionReturns a list of people associated with the account’s legal entity. The people are returned sorted by creation date, with the most recent people appearing first.- Throws:
StripeException
-
list
Returns a list of people associated with the account’s legal entity. The people are returned sorted by creation date, with the most recent people appearing first.- Throws:
StripeException
-
list
public PersonCollection list(PersonCollectionListParams params, RequestOptions options) throws StripeException Returns a list of people associated with the account’s legal entity. The people are returned sorted by creation date, with the most recent people appearing first.- Throws:
StripeException
-
retrieve
Retrieves an existing person.- Throws:
StripeException
-
retrieve
Retrieves an existing person.- Throws:
StripeException
-
retrieve
public Person retrieve(String id, Map<String, Object> params, RequestOptions options) throws StripeExceptionRetrieves an existing person.- Throws:
StripeException
-
retrieve
public Person retrieve(String id, PersonCollectionRetrieveParams params, RequestOptions options) throws StripeException Retrieves an existing person.- Throws:
StripeException
-