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.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.Logo.extraParamsfor the field documentation. -
setFile
The ID of a File upload representing the logo. Purpose must bebusiness_logo. Required iftypeisfileand 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 offileorurl. -
setUrl
The URL of the image. Required iftypeisurland disallowed otherwise.
-