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 java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
build
public PaymentIntentConfirmParams.MandateData.CustomerAcceptance build()
Finalize and obtain parameter instance from this builder.
-
setAcceptedAt
public PaymentIntentConfirmParams.MandateData.CustomerAcceptance.Builder setAcceptedAt(java.lang.Long acceptedAt)
The time at which the customer accepted the Mandate.
-
putExtraParam
public PaymentIntentConfirmParams.MandateData.CustomerAcceptance.Builder putExtraParam(java.lang.String key, java.lang.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(java.util.Map<java.lang.String,java.lang.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)
The type of customer acceptance information included with the Mandate. One ofonline
oroffline
.
-
-