Package com.stripe.param
Class PaymentLinkCreateParams.Restrictions.Builder
java.lang.Object
com.stripe.param.PaymentLinkCreateParams.Restrictions.Builder
- Enclosing class:
- PaymentLinkCreateParams.Restrictions
-
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.setCompletedSessions
(PaymentLinkCreateParams.Restrictions.CompletedSessions completedSessions) Required. Configuration for thecompleted_sessions
restriction type.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setCompletedSessions
public PaymentLinkCreateParams.Restrictions.Builder setCompletedSessions(PaymentLinkCreateParams.Restrictions.CompletedSessions completedSessions) Required. Configuration for thecompleted_sessions
restriction type. -
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. SeePaymentLinkCreateParams.Restrictions.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. SeePaymentLinkCreateParams.Restrictions.extraParams
for the field documentation.
-