Package com.stripe.model.entitlements
Class ActiveEntitlementSummary
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.entitlements.ActiveEntitlementSummary
- All Implemented Interfaces:
StripeActiveObject,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.voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
ActiveEntitlementSummary
public ActiveEntitlementSummary()
-
-
Method Details
-
setResponseGetter
Description copied from interface:StripeActiveObjectMethod is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.- Specified by:
setResponseGetterin interfaceStripeActiveObject- Parameters:
responseGetter- theStripeResponseGetterinstance to use for making further requests.
-
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()
-