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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EphemeralKeyCreateParams.BuilderaddAllExpand(java.util.List<java.lang.String> elements)Add all elements to `expand` list.EphemeralKeyCreateParams.BuilderaddExpand(java.lang.String element)Add an element to `expand` list.EphemeralKeyCreateParamsbuild()Finalize and obtain parameter instance from this builder.EphemeralKeyCreateParams.BuildersetCustomer(java.lang.String customer)The ID of the Customer you'd like to modify using the resulting ephemeral key.EphemeralKeyCreateParams.BuildersetIssuingCard(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.expandfor 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.expandfor 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.
-
-