Package com.stripe.param.billing
Class CreditGrantCreateParams
java.lang.Object
com.stripe.net.ApiRequestParams
com.stripe.param.billing.CreditGrantCreateParams
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static enum
Required. The price ID this credit grant should apply to.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 TypeMethodDescriptionbuilder()
protected boolean
boolean
Required. Amount of this credit grant.Required. Configuration specifying what this credit grant applies to.Required. The category of this credit grant.Required. ID of the customer to receive the billing credits.The time when the billing credits become effective-when they're eligible for use.Specifies which fields in the response should be expanded.The time when the billing credits expire.Map of extra parameters for custom features not available in this client library.Set of key-value pairs that you can attach to an object.getName()
A descriptive name shown in the Dashboard.The desired priority for applying this credit grant.int
hashCode()
Methods inherited from class com.stripe.net.ApiRequestParams
paramsToMap, toMap
-
Method Details
-
builder
-
getAmount
Required. Amount of this credit grant. -
getApplicabilityConfig
Required. Configuration specifying what this credit grant applies to. We currently only supportmetered
prices that have a Billing Meter attached to them. -
getCategory
Required. The category of this credit grant. -
getCustomer
Required. ID of the customer to receive the billing credits. -
getEffectiveAt
The time when the billing credits become effective-when they're eligible for use. It defaults to the current timestamp if not specified. -
getExpand
Specifies which fields in the response should be expanded. -
getExpiresAt
The time when the billing credits expire. If not specified, the billing credits don't expire. -
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. -
getMetadata
Set of key-value pairs that you can attach to an object. You can use this to store additional information about the object (for example, cost basis) in a structured format. -
getName
A descriptive name shown in the Dashboard. -
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
-
canEqual
-
hashCode
public int hashCode()
-