Package com.stripe.param.checkout
Class SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Builder
java.lang.Object
com.stripe.param.checkout.SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Builder
public static class SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Builder
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAllPermission
(List<SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission> elements) Add all elements to `permissions` list.addAllPrefetch
(List<SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch> elements) Add all elements to `prefetch` list.addPermission
(SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission element) Add an element to `permissions` list.addPrefetch
(SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch element) Add an element to `prefetch` list.build()
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.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.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. SeeSessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.extraParams
for the field documentation. -
putAllExtraParam
public SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.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. SeeSessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.extraParams
for the field documentation. -
addPermission
public SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Builder addPermission(SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission element) Add an element to `permissions` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeSessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.permissions
for the field documentation. -
addAllPermission
public SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Builder addAllPermission(List<SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Permission> elements) Add all elements to `permissions` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeSessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.permissions
for the field documentation. -
addPrefetch
public SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Builder addPrefetch(SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch element) Add an element to `prefetch` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeSessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.prefetch
for the field documentation. -
addAllPrefetch
public SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Builder addAllPrefetch(List<SessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.Prefetch> elements) Add all elements to `prefetch` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeSessionCreateParams.PaymentMethodOptions.UsBankAccount.FinancialConnections.prefetch
for the field documentation.
-