Package com.stripe.model.entitlements
Class ActiveEntitlementSummary
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.entitlements.ActiveEntitlementSummary
- All Implemented Interfaces:
StripeObjectInterface
A summary of a customer's active entitlements.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The customer that is entitled to this feature.The list of entitlements this customer has.Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.String representing the object's type.int
hashCode()
void
setCustomer
(String customer) The customer that is entitled to this feature.void
setEntitlements
(ActiveEntitlementCollection entitlements) The list of entitlements this customer has.void
setLivemode
(Boolean livemode) Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.void
String representing the object's type.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
ActiveEntitlementSummary
public ActiveEntitlementSummary()
-
-
Method Details
-
getCustomer
The customer that is entitled to this feature. -
getEntitlements
The list of entitlements this customer has. -
getLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
getObject
String representing the object's type. Objects of the same type share the same value.Equal to
entitlements.active_entitlement_summary
. -
setCustomer
The customer that is entitled to this feature. -
setEntitlements
The list of entitlements this customer has. -
setLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
setObject
String representing the object's type. Objects of the same type share the same value.Equal to
entitlements.active_entitlement_summary
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-