Package com.stripe.param.checkout
Class SessionCreateParams.BrandingSettings.Logo.Builder
java.lang.Object
com.stripe.param.checkout.SessionCreateParams.BrandingSettings.Logo.Builder
- Enclosing class:
- SessionCreateParams.BrandingSettings.Logo
-
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 logo.Required. The type of image for the logo.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.Logo.extraParams
for 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.Logo.extraParams
for the field documentation. -
setFile
The ID of a File upload representing the logo. Purpose must bebusiness_logo
. Required iftype
isfile
and disallowed otherwise. -
setType
public SessionCreateParams.BrandingSettings.Logo.Builder setType(SessionCreateParams.BrandingSettings.Logo.Type type) Required. The type of image for the logo. Must be one offile
orurl
. -
setUrl
The URL of the image. Required iftype
isurl
and disallowed otherwise.
-