Package com.stripe.param
Class SubscriptionCancelParams.CancellationDetails.Builder
java.lang.Object
com.stripe.param.SubscriptionCancelParams.CancellationDetails.Builder
- Enclosing class:
- SubscriptionCancelParams.CancellationDetails
-
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.setComment
(EmptyParam comment) Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user.setComment
(String comment) Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user.setFeedback
(EmptyParam feedback) The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user.The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setComment
Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user. -
setComment
Additional comments about why the user canceled the subscription, if the subscription was canceled explicitly by the user. -
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. SeeSubscriptionCancelParams.CancellationDetails.extraParams
for the field documentation. -
putAllExtraParam
public SubscriptionCancelParams.CancellationDetails.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. SeeSubscriptionCancelParams.CancellationDetails.extraParams
for the field documentation. -
setFeedback
public SubscriptionCancelParams.CancellationDetails.Builder setFeedback(SubscriptionCancelParams.CancellationDetails.Feedback feedback) The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user. -
setFeedback
The customer submitted reason for why they canceled, if the subscription was canceled explicitly by the user.
-