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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe customer that is entitled to this feature.The list of entitlements this customer has.If the object exists in live mode, the value istrue.String representing the object's type.inthashCode()voidsetCustomer(String customer) The customer that is entitled to this feature.voidsetEntitlements(ActiveEntitlementCollection entitlements) The list of entitlements this customer has.voidsetLivemode(Boolean livemode) If the object exists in live mode, the value istrue.voidString representing the object's type.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, 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
If the object exists in live mode, the value istrue. If the object exists in test mode, the value isfalse. -
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
If the object exists in live mode, the value istrue. If the object exists in test mode, the value isfalse. -
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()
-