Package com.stripe.param
Class CustomerSessionCreateParams.Components.MobilePaymentElement.Builder
java.lang.Object
com.stripe.param.CustomerSessionCreateParams.Components.MobilePaymentElement.Builder
- Enclosing class:
- CustomerSessionCreateParams.Components.MobilePaymentElement
public static class CustomerSessionCreateParams.Components.MobilePaymentElement.Builder
extends Object
-
Constructor Summary
Constructors -
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.setEnabled(Boolean enabled) Required. Whether the mobile payment element is enabled.This hash defines whether the mobile payment element supports certain features.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setEnabled
public CustomerSessionCreateParams.Components.MobilePaymentElement.Builder setEnabled(Boolean enabled) Required. Whether the mobile payment element is enabled. -
putExtraParam
public CustomerSessionCreateParams.Components.MobilePaymentElement.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. SeeCustomerSessionCreateParams.Components.MobilePaymentElement.extraParamsfor the field documentation. -
putAllExtraParam
public CustomerSessionCreateParams.Components.MobilePaymentElement.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. SeeCustomerSessionCreateParams.Components.MobilePaymentElement.extraParamsfor the field documentation. -
setFeatures
public CustomerSessionCreateParams.Components.MobilePaymentElement.Builder setFeatures(CustomerSessionCreateParams.Components.MobilePaymentElement.Features features) This hash defines whether the mobile payment element supports certain features.
-