Package com.stripe.model
Class PersonCollection
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.StripeCollection<Person>
-
- com.stripe.model.PersonCollection
-
- All Implemented Interfaces:
StripeCollectionInterface<Person>,StripeObjectInterface
public class PersonCollection extends StripeCollection<Person>
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description PersonCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Personcreate(PersonCollectionCreateParams params)Creates a new person.Personcreate(PersonCollectionCreateParams params, RequestOptions options)Creates a new person.Personcreate(java.util.Map<java.lang.String,java.lang.Object> params)Creates a new person.Personcreate(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options)Creates a new person.PersonCollectionlist(PersonCollectionListParams params)Returns a list of people associated with the account’s legal entity.PersonCollectionlist(PersonCollectionListParams params, RequestOptions options)Returns a list of people associated with the account’s legal entity.PersonCollectionlist(java.util.Map<java.lang.String,java.lang.Object> params)Returns a list of people associated with the account’s legal entity.PersonCollectionlist(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options)Returns a list of people associated with the account’s legal entity.Personretrieve(java.lang.String id)Retrieves an existing person.Personretrieve(java.lang.String id, RequestOptions options)Retrieves an existing person.Personretrieve(java.lang.String id, PersonCollectionRetrieveParams params, RequestOptions options)Retrieves an existing person.Personretrieve(java.lang.String id, java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options)Retrieves an existing person.-
Methods inherited from class com.stripe.model.StripeCollection
autoPagingIterable, autoPagingIterable, autoPagingIterable, canEqual, equals, getData, getHasMore, getObject, getRequestOptions, getRequestParams, getUrl, hashCode, setData, setHasMore, setObject, setRequestOptions, setRequestParams, setUrl
-
Methods inherited from class com.stripe.model.StripeObject
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.StripeObjectInterface
getLastResponse, setLastResponse
-
-
-
-
Method Detail
-
list
public PersonCollection list(java.util.Map<java.lang.String,java.lang.Object> params) 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
-
list
public PersonCollection list(java.util.Map<java.lang.String,java.lang.Object> 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
-
list
public PersonCollection list(PersonCollectionListParams params) 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
-
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
public Person retrieve(java.lang.String id) throws StripeException
Retrieves an existing person.- Throws:
StripeException
-
retrieve
public Person retrieve(java.lang.String id, RequestOptions options) throws StripeException
Retrieves an existing person.- Throws:
StripeException
-
retrieve
public Person retrieve(java.lang.String id, java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
Retrieves an existing person.- Throws:
StripeException
-
retrieve
public Person retrieve(java.lang.String id, PersonCollectionRetrieveParams params, RequestOptions options) throws StripeException
Retrieves an existing person.- Throws:
StripeException
-
create
public Person create(java.util.Map<java.lang.String,java.lang.Object> params) throws StripeException
Creates a new person.- Throws:
StripeException
-
create
public Person create(java.util.Map<java.lang.String,java.lang.Object> params, RequestOptions options) throws StripeException
Creates a new person.- Throws:
StripeException
-
create
public Person create(PersonCollectionCreateParams params) throws StripeException
Creates a new person.- Throws:
StripeException
-
create
public Person create(PersonCollectionCreateParams params, RequestOptions options) throws StripeException
Creates a new person.- Throws:
StripeException
-
-