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