Class ActiveEntitlementSummary

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.entitlements.ActiveEntitlementSummary
All Implemented Interfaces:
StripeObjectInterface

public class ActiveEntitlementSummary extends StripeObject
A summary of a customer's active entitlements.
  • Constructor Details

    • ActiveEntitlementSummary

      public ActiveEntitlementSummary()
  • Method Details

    • getCustomer

      public String getCustomer()
      The customer that is entitled to this feature.
    • getEntitlements

      public ActiveEntitlementCollection getEntitlements()
      The list of entitlements this customer has.
    • getLivemode

      public Boolean getLivemode()
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • getObject

      public String getObject()
      String representing the object's type. Objects of the same type share the same value.

      Equal to entitlements.active_entitlement_summary.

    • setCustomer

      public void setCustomer(String customer)
      The customer that is entitled to this feature.
    • setEntitlements

      public void setEntitlements(ActiveEntitlementCollection entitlements)
      The list of entitlements this customer has.
    • setLivemode

      public void setLivemode(Boolean livemode)
      Has the value true if the object exists in live mode or the value false if the object exists in test mode.
    • setObject

      public void setObject(String object)
      String representing the object's type. Objects of the same type share the same value.

      Equal to entitlements.active_entitlement_summary.

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object