Package com.stripe.param.tax
Class RegistrationUpdateParams.Builder
java.lang.Object
com.stripe.param.tax.RegistrationUpdateParams.Builder
- Enclosing class:
- RegistrationUpdateParams
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAllExpand
(List<String> elements) Add all elements to `expand` list.Add an element to `expand` list.build()
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.setActiveFrom
(RegistrationUpdateParams.ActiveFrom activeFrom) Time at which the registration becomes active.setActiveFrom
(Long activeFrom) Time at which the registration becomes active.setExpiresAt
(EmptyParam expiresAt) If set, the registration stops being active at this time.setExpiresAt
(RegistrationUpdateParams.ExpiresAt expiresAt) If set, the registration stops being active at this time.setExpiresAt
(Long expiresAt) If set, the registration stops being active at this time.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setActiveFrom
public RegistrationUpdateParams.Builder setActiveFrom(RegistrationUpdateParams.ActiveFrom activeFrom) Time at which the registration becomes active. It can be eithernow
to indicate the current time, or a timestamp measured in seconds since the Unix epoch. -
setActiveFrom
Time at which the registration becomes active. It can be eithernow
to indicate the current time, or a timestamp measured in seconds since the Unix epoch. -
addExpand
Add an element to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeRegistrationUpdateParams.expand
for the field documentation. -
addAllExpand
Add all elements to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeRegistrationUpdateParams.expand
for the field documentation. -
setExpiresAt
If set, the registration stops being active at this time. If not set, the registration will be active indefinitely. It can be eithernow
to indicate the current time, or a timestamp measured in seconds since the Unix epoch. -
setExpiresAt
If set, the registration stops being active at this time. If not set, the registration will be active indefinitely. It can be eithernow
to indicate the current time, or a timestamp measured in seconds since the Unix epoch. -
setExpiresAt
If set, the registration stops being active at this time. If not set, the registration will be active indefinitely. It can be eithernow
to indicate the current time, or a timestamp measured in seconds since the Unix epoch. -
putExtraParam
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. SeeRegistrationUpdateParams.extraParams
for the field documentation. -
putAllExtraParam
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. SeeRegistrationUpdateParams.extraParams
for the field documentation.
-