Package com.stripe.param
Class AccountCreateParams.BusinessProfile.AnnualRevenue.Builder
java.lang.Object
com.stripe.param.AccountCreateParams.BusinessProfile.AnnualRevenue.Builder
- Enclosing class:
- AccountCreateParams.BusinessProfile.AnnualRevenue
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.Required. A non-negative integer representing the amount in the smallest currency unit.setCurrency
(String currency) Required. Three-letter ISO currency code, in lowercase.setFiscalYearEnd
(String fiscalYearEnd)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAmount
Required. A non-negative integer representing the amount in the smallest currency unit. -
setCurrency
Required. Three-letter ISO currency code, in lowercase. Must be a supported currency. -
putExtraParam
public AccountCreateParams.BusinessProfile.AnnualRevenue.Builder putExtraParam(String key, 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. SeeAccountCreateParams.BusinessProfile.AnnualRevenue.extraParams
for the field documentation. -
putAllExtraParam
public AccountCreateParams.BusinessProfile.AnnualRevenue.Builder putAllExtraParam(Map<String, 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. SeeAccountCreateParams.BusinessProfile.AnnualRevenue.extraParams
for the field documentation. -
setFiscalYearEnd
public AccountCreateParams.BusinessProfile.AnnualRevenue.Builder setFiscalYearEnd(String fiscalYearEnd)
-