Class UsageRecordSummary

    • Constructor Detail

      • UsageRecordSummary

        public UsageRecordSummary()
    • Method Detail

      • getInvoice

        public java.lang.String getInvoice()
        The invoice in which this usage period has been billed for.
      • getLivemode

        public java.lang.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 java.lang.String getObject()
        String representing the object's type. Objects of the same type share the same value.

        Equal to usage_record_summary.

      • getSubscriptionItem

        public java.lang.String getSubscriptionItem()
        The ID of the subscription item this summary is describing.
      • getTotalUsage

        public java.lang.Long getTotalUsage()
        The total usage within this usage period.
      • setId

        public void setId​(java.lang.String id)
        Unique identifier for the object.
      • setInvoice

        public void setInvoice​(java.lang.String invoice)
        The invoice in which this usage period has been billed for.
      • setLivemode

        public void setLivemode​(java.lang.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​(java.lang.String object)
        String representing the object's type. Objects of the same type share the same value.

        Equal to usage_record_summary.

      • setSubscriptionItem

        public void setSubscriptionItem​(java.lang.String subscriptionItem)
        The ID of the subscription item this summary is describing.
      • setTotalUsage

        public void setTotalUsage​(java.lang.Long totalUsage)
        The total usage within this usage period.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getId

        public java.lang.String getId()
        Unique identifier for the object.
        Specified by:
        getId in interface HasId