Package com.stripe.model.v2.billing
Class ServiceAction.CreditGrant
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.ServiceAction.CreditGrant
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- ServiceAction
For more details about CreditGrant, please refer to the API Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For more details about Amount, please refer to the API Reference.static class
For more details about ApplicabilityConfig, please refer to the API Reference.static class
For more details about ExpiryConfig, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The amount of the credit grant.Defines the scope where the credit grant is applicable.The expiry configuration for the credit grant.getName()
A descriptive name shown in dashboard.int
hashCode()
void
The amount of the credit grant.void
setApplicabilityConfig
(ServiceAction.CreditGrant.ApplicabilityConfig applicabilityConfig) Defines the scope where the credit grant is applicable.void
setExpiryConfig
(ServiceAction.CreditGrant.ExpiryConfig expiryConfig) The expiry configuration for the credit grant.void
A descriptive name shown in dashboard.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
CreditGrant
public CreditGrant()
-
-
Method Details
-
getAmount
The amount of the credit grant. -
getApplicabilityConfig
Defines the scope where the credit grant is applicable. -
getExpiryConfig
The expiry configuration for the credit grant. -
getName
A descriptive name shown in dashboard. -
setAmount
The amount of the credit grant. -
setApplicabilityConfig
public void setApplicabilityConfig(ServiceAction.CreditGrant.ApplicabilityConfig applicabilityConfig) Defines the scope where the credit grant is applicable. -
setExpiryConfig
The expiry configuration for the credit grant. -
setName
A descriptive name shown in dashboard. -
equals
-
canEqual
-
hashCode
public int hashCode()
-