Package com.stripe.param
Class PersonCollectionCreateParams.Documents.Builder
- java.lang.Object
-
- com.stripe.param.PersonCollectionCreateParams.Documents.Builder
-
- Enclosing class:
- PersonCollectionCreateParams.Documents
public static class PersonCollectionCreateParams.Documents.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PersonCollectionCreateParams.Documents
build()
Finalize and obtain parameter instance from this builder.PersonCollectionCreateParams.Documents.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.PersonCollectionCreateParams.Documents.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.PersonCollectionCreateParams.Documents.Builder
setCompanyAuthorization(PersonCollectionCreateParams.Documents.CompanyAuthorization companyAuthorization)
One or more documents that demonstrate proof that this person is authorized to represent the company.PersonCollectionCreateParams.Documents.Builder
setPassport(PersonCollectionCreateParams.Documents.Passport passport)
One or more documents showing the person's passport page with photo and personal data.PersonCollectionCreateParams.Documents.Builder
setVisa(PersonCollectionCreateParams.Documents.Visa visa)
One or more documents showing the person's visa required for living in the country where they are residing.
-
-
-
Method Detail
-
build
public PersonCollectionCreateParams.Documents build()
Finalize and obtain parameter instance from this builder.
-
setCompanyAuthorization
public PersonCollectionCreateParams.Documents.Builder setCompanyAuthorization(PersonCollectionCreateParams.Documents.CompanyAuthorization companyAuthorization)
One or more documents that demonstrate proof that this person is authorized to represent the company.
-
putExtraParam
public PersonCollectionCreateParams.Documents.Builder putExtraParam(java.lang.String key, java.lang.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. SeePersonCollectionCreateParams.Documents.extraParams
for the field documentation.
-
putAllExtraParam
public PersonCollectionCreateParams.Documents.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.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. SeePersonCollectionCreateParams.Documents.extraParams
for the field documentation.
-
setPassport
public PersonCollectionCreateParams.Documents.Builder setPassport(PersonCollectionCreateParams.Documents.Passport passport)
One or more documents showing the person's passport page with photo and personal data.
-
setVisa
public PersonCollectionCreateParams.Documents.Builder setVisa(PersonCollectionCreateParams.Documents.Visa visa)
One or more documents showing the person's visa required for living in the country where they are residing.
-
-