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