Package com.stripe.param
Class EphemeralKeyCreateParams.Builder
- java.lang.Object
-
- com.stripe.param.EphemeralKeyCreateParams.Builder
-
- Enclosing class:
- EphemeralKeyCreateParams
public static class EphemeralKeyCreateParams.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description EphemeralKeyCreateParams.Builder
addAllExpand(java.util.List<java.lang.String> elements)
Add all elements to `expand` list.EphemeralKeyCreateParams.Builder
addExpand(java.lang.String element)
Add an element to `expand` list.EphemeralKeyCreateParams
build()
Finalize and obtain parameter instance from this builder.EphemeralKeyCreateParams.Builder
setCustomer(java.lang.String customer)
The ID of the Customer you'd like to modify using the resulting ephemeral key.EphemeralKeyCreateParams.Builder
setIssuingCard(java.lang.String issuingCard)
The ID of the Issuing Card you'd like to access using the resulting ephemeral key.
-
-
-
Method Detail
-
build
public EphemeralKeyCreateParams build()
Finalize and obtain parameter instance from this builder.
-
setCustomer
public EphemeralKeyCreateParams.Builder setCustomer(java.lang.String customer)
The ID of the Customer you'd like to modify using the resulting ephemeral key.
-
addExpand
public EphemeralKeyCreateParams.Builder addExpand(java.lang.String element)
Add an element to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeEphemeralKeyCreateParams.expand
for the field documentation.
-
addAllExpand
public EphemeralKeyCreateParams.Builder addAllExpand(java.util.List<java.lang.String> elements)
Add all elements to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeEphemeralKeyCreateParams.expand
for the field documentation.
-
setIssuingCard
public EphemeralKeyCreateParams.Builder setIssuingCard(java.lang.String issuingCard)
The ID of the Issuing Card you'd like to access using the resulting ephemeral key.
-
-