Package com.stripe.param
Class AccountUpdateParams.BusinessProfile.AnnualRevenue.Builder
java.lang.Object
com.stripe.param.AccountUpdateParams.BusinessProfile.AnnualRevenue.Builder
- Enclosing class:
- AccountUpdateParams.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
(EmptyParam currency) Required. Three-letter ISO currency code, in lowercase.setCurrency
(String currency) Required. Three-letter ISO currency code, in lowercase.setFiscalYearEnd
(EmptyParam fiscalYearEnd) setFiscalYearEnd
(String fiscalYearEnd) Required. The close-out date of the preceding fiscal year in ISO 8601 format.
-
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. -
setCurrency
Required. Three-letter ISO currency code, in lowercase. Must be a supported currency. -
putExtraParam
public AccountUpdateParams.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. SeeAccountUpdateParams.BusinessProfile.AnnualRevenue.extraParams
for the field documentation. -
putAllExtraParam
public AccountUpdateParams.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. SeeAccountUpdateParams.BusinessProfile.AnnualRevenue.extraParams
for the field documentation. -
setFiscalYearEnd
public AccountUpdateParams.BusinessProfile.AnnualRevenue.Builder setFiscalYearEnd(String fiscalYearEnd) Required. The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023. -
setFiscalYearEnd
public AccountUpdateParams.BusinessProfile.AnnualRevenue.Builder setFiscalYearEnd(EmptyParam fiscalYearEnd)
-