Class CouponCreateParams.Script

java.lang.Object
com.stripe.param.CouponCreateParams.Script
Enclosing class:
CouponCreateParams

public static class CouponCreateParams.Script 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 CouponCreateParams.CurrencyOption.extraParams for the field documentation.
  • Method Details

    • builder

      public static CouponCreateParams.Script.Builder builder()
    • getConfiguration

      public Map<String,Object> getConfiguration()
      Required. The configuration values of the script. The keys and values are specific to the script implementation.
    • 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.
    • getId

      public String getId()
      Required. The script implementation ID for this coupon.
    • 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