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.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.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) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.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
Has the valuetrueif the object exists in live mode or the valuefalseif 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 valuetrueif the object exists in live mode or the valuefalseif 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()
-