Class IntentCreateParams.Action.Subscribe.V1SubscriptionDetails

java.lang.Object
com.stripe.param.v2.billing.IntentCreateParams.Action.Subscribe.V1SubscriptionDetails
Enclosing class:
IntentCreateParams.Action.Subscribe

public static class IntentCreateParams.Action.Subscribe.V1SubscriptionDetails extends Object
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. See IntentCreateParams.Action.Subscribe.PricingPlanSubscriptionDetails.Overrides.PartialPeriodBehavior.LicenseFee.extraParams for the field documentation.
  • Method Details

    • builder

    • getDescription

      public String getDescription()
      The subscription’s description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
    • getExtraParams

      public Map<String,Object> 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.
    • getItems

      Required. A list of up to 20 subscription items, each with an attached price.
    • getMetadata

      public Map<String,String> 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.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object