Package com.stripe.param
Class SetupIntentCreateParams.MandateData.CustomerAcceptance.Builder
java.lang.Object
com.stripe.param.SetupIntentCreateParams.MandateData.CustomerAcceptance.Builder
- Enclosing class:
- SetupIntentCreateParams.MandateData.CustomerAcceptance
-
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.setAcceptedAt
(Long acceptedAt) The time at which the customer accepted the Mandate.If this is a Mandate accepted offline, this hash contains details about the offline acceptance.If this is a Mandate accepted online, this hash contains details about the online acceptance.Required. The type of customer acceptance information included with the Mandate.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setAcceptedAt
public SetupIntentCreateParams.MandateData.CustomerAcceptance.Builder setAcceptedAt(Long acceptedAt) The time at which the customer accepted the Mandate. -
putExtraParam
public SetupIntentCreateParams.MandateData.CustomerAcceptance.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. SeeSetupIntentCreateParams.MandateData.CustomerAcceptance.extraParams
for the field documentation. -
putAllExtraParam
public SetupIntentCreateParams.MandateData.CustomerAcceptance.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. SeeSetupIntentCreateParams.MandateData.CustomerAcceptance.extraParams
for the field documentation. -
setOffline
public SetupIntentCreateParams.MandateData.CustomerAcceptance.Builder setOffline(SetupIntentCreateParams.MandateData.CustomerAcceptance.Offline offline) If this is a Mandate accepted offline, this hash contains details about the offline acceptance. -
setOnline
public SetupIntentCreateParams.MandateData.CustomerAcceptance.Builder setOnline(SetupIntentCreateParams.MandateData.CustomerAcceptance.Online online) If this is a Mandate accepted online, this hash contains details about the online acceptance. -
setType
public SetupIntentCreateParams.MandateData.CustomerAcceptance.Builder setType(SetupIntentCreateParams.MandateData.CustomerAcceptance.Type type) Required. The type of customer acceptance information included with the Mandate. One ofonline
oroffline
.
-