Package com.stripe.model.v2.billing
Class ServiceAction
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.ServiceAction
- All Implemented Interfaces:
HasId,StripeObjectInterface
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDetails for the credit grant.static classDetails for the credit grant per tenant. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanTimestamp of when the object was created.Details for the credit grant.Details for the credit grant per tenant.getId()Unique identifier for the object.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.An internal key you can use to search for this service action.String representing the object's type.The interval for assessing service.The length of the interval for assessing service.getType()The type of the service action.inthashCode()voidsetCreated(Instant created) Timestamp of when the object was created.voidsetCreditGrant(ServiceAction.CreditGrant creditGrant) Details for the credit grant.voidsetCreditGrantPerTenant(ServiceAction.CreditGrantPerTenant creditGrantPerTenant) Details for the credit grant per tenant.voidUnique identifier for the object.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidsetLookupKey(String lookupKey) An internal key you can use to search for this service action.voidString representing the object's type.voidsetServiceInterval(String serviceInterval) The interval for assessing service.voidsetServiceIntervalCount(Long serviceIntervalCount) The length of the interval for assessing service.voidThe type of the service action.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
ServiceAction
public ServiceAction()
-
-
Method Details
-
getCreated
Timestamp of when the object was created. -
getCreditGrant
Details for the credit grant. Provided only iftypeis "credit_grant". -
getCreditGrantPerTenant
Details for the credit grant per tenant. Provided only iftypeis "credit_grant_per_tenant". -
getLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
getLookupKey
An internal key you can use to search for this service action. -
getObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.billing.service_action. -
getServiceInterval
The interval for assessing service.One of
day,month,week, oryear. -
getServiceIntervalCount
The length of the interval for assessing service. -
getType
The type of the service action.One of
credit_grant, orcredit_grant_per_tenant. -
setCreated
Timestamp of when the object was created. -
setCreditGrant
Details for the credit grant. Provided only iftypeis "credit_grant". -
setCreditGrantPerTenant
Details for the credit grant per tenant. Provided only iftypeis "credit_grant_per_tenant". -
setId
Unique identifier for the object. -
setLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
setLookupKey
An internal key you can use to search for this service action. -
setObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.billing.service_action. -
setServiceInterval
The interval for assessing service.One of
day,month,week, oryear. -
setServiceIntervalCount
The length of the interval for assessing service. -
setType
The type of the service action.One of
credit_grant, orcredit_grant_per_tenant. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-