Package com.stripe.param
Class ProductCreateParams.MarketingFeature
java.lang.Object
com.stripe.param.ProductCreateParams.MarketingFeature
- Enclosing class:
- ProductCreateParams
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanMap of extra parameters for custom features not available in this client library.Optional text that describes what a customer loses by canceling, shown for this marketing feature in the Customer Portal cancellation flow.getName()Required. The marketing feature name.inthashCode()
-
Method Details
-
builder
-
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@SerializedNamevalue. 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. -
getLossMessage
Optional text that describes what a customer loses by canceling, shown for this marketing feature in the Customer Portal cancellation flow. Up to 80 characters long. If you omit it when you updatemarketing_features, Stripe keeps the message stored for the feature with the same name. Duplicate names are matched in order. Set it to an empty string to remove the override. When no override is stored, eligible cancellation flows use the marketing feature name. A renamed feature is treated as a new feature, so send the message again to keep it. -
getName
Required. The marketing feature name. Up to 80 characters long. -
equals
-
canEqual
-
hashCode
public int hashCode()
-