Package com.stripe.param.checkout
Class SessionCreateParams.BrandingSettings.Icon.Builder
java.lang.Object
com.stripe.param.checkout.SessionCreateParams.BrandingSettings.Icon.Builder
- Enclosing class:
- SessionCreateParams.BrandingSettings.Icon
-
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.The ID of a File upload representing the icon.Required. The type of image for the icon.The URL of the image.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
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.BrandingSettings.Icon.extraParamsfor the field documentation. -
putAllExtraParam
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.BrandingSettings.Icon.extraParamsfor the field documentation. -
setFile
The ID of a File upload representing the icon. Purpose must bebusiness_icon. Required iftypeisfileand disallowed otherwise. -
setType
public SessionCreateParams.BrandingSettings.Icon.Builder setType(SessionCreateParams.BrandingSettings.Icon.Type type) Required. The type of image for the icon. Must be one offileorurl. -
setUrl
The URL of the image. Required iftypeisurland disallowed otherwise.
-