Class ActionServiceCreateParams.CreditGrant

java.lang.Object
com.stripe.param.v2.billing.ActionServiceCreateParams.CreditGrant
Enclosing class:
ActionServiceCreateParams

public static class ActionServiceCreateParams.CreditGrant extends Object
  • Method Details

    • builder

    • getAmount

      Required. The amount of the credit grant.
    • getApplicabilityConfig

      Required. Defines the scope where the credit grant is applicable.
    • getCategory

      The category of the credit grant.
    • getExpiryConfig

      Required. The expiry configuration for the credit grant.
    • 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.
    • getName

      public String getName()
      Required. A descriptive name shown in dashboard.
    • getPriority

      public Integer getPriority()
      The desired priority for applying this credit grant. If not specified, it will be set to the default value of 50. The highest priority is 0 and the lowest is 100.
    • 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