Package com.stripe.param
Class ProductCreateParams
java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.ProductCreateParams
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
Required. The marketing feature name.static enum
Required. Width, in inches.Nested classes/interfaces inherited from class com.stripe.net.ApiRequestParams
ApiRequestParams.EnumParam
-
Field Summary
Fields inherited from class com.stripe.net.ApiRequestParams
EXTRA_PARAMS_KEY
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProductCreateParams.Builder
builder()
Whether the product is currently available for purchase.Data used to generate a new Price object.The product's description, meant to be displayable to the customer.Specifies which fields in the response should be expanded.Map of extra parameters for custom features not available in this client library.getId()
An identifier will be randomly generated by Stripe.A list of up to 8 URLs of images for this product, meant to be displayable to the customer.A list of up to 15 marketing features for this product.Set of key-value pairs that you can attach to an object.getName()
Required. The product's name, meant to be displayable to the customer.The dimensions of this product for shipping purposes.Whether this product is shipped (i.e., physical goods).An arbitrary string to be displayed on your customer's credit card or bank statement.A tax code ID.getType()
The type of the product.A label that represents units of this product.getUrl()
A URL of a publicly-accessible webpage for this product.Methods inherited from class com.stripe.net.ApiRequestParams
paramsToMap, toMap
-
Method Details
-
builder
-
getActive
Whether the product is currently available for purchase. Defaults totrue
. -
getDefaultPriceData
Data used to generate a new Price object. This Price will be set as the default price for this product. -
getDescription
The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. -
getExpand
Specifies which fields in the response should be expanded. -
getExtraParams
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedName
value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance. -
getId
An identifier will be randomly generated by Stripe. You can optionally override this ID, but the ID must be unique across all products in your Stripe account. -
getImages
A list of up to 8 URLs of images for this product, meant to be displayable to the customer. -
getMarketingFeatures
A list of up to 15 marketing features for this product. These are displayed in pricing tables. -
getMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value tometadata
. -
getName
Required. The product's name, meant to be displayable to the customer. -
getPackageDimensions
The dimensions of this product for shipping purposes. -
getShippable
Whether this product is shipped (i.e., physical goods). -
getStatementDescriptor
An arbitrary string to be displayed on your customer's credit card or bank statement. While most banks display this information consistently, some may display it incorrectly or not at all.This may be up to 22 characters. The statement description may not include
<
,>
,\
,"
,'
characters, and will appear on your customer's statement in capital letters. Non-ASCII characters are automatically stripped. It must contain at least one letter. Only used for subscription payments. -
getTaxCode
A tax code ID. -
getType
The type of the product. Defaults toservice
if not explicitly specified, enabling use of this product with Subscriptions and Plans. Set this parameter togood
to use this product with Orders and SKUs. On API versions before2018-02-05
, this field defaults togood
for compatibility reasons. -
getUnitLabel
A label that represents units of this product. When set, this will be included in customers' receipts, invoices, Checkout, and the customer portal. -
getUrl
A URL of a publicly-accessible webpage for this product.
-