Class StripeObject

    • Field Detail

      • PRETTY_PRINT_GSON

        public static final com.google.gson.Gson PRETTY_PRINT_GSON
    • Constructor Detail

      • StripeObject

        public StripeObject()
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getRawJsonObject

        public com.google.gson.JsonObject getRawJsonObject()
        Returns the raw JsonObject exposed by the Gson library. This can be used to access properties that are not directly exposed by Stripe's Java library.

        Note: You should always prefer using the standard property accessors whenever possible. Because this method exposes Gson's underlying API, it is not considered fully stable. Stripe's Java library might move off Gson in the future and this method would be removed or change significantly.

        Returns:
        The raw JsonObject.
      • toJson

        public java.lang.String toJson()
      • equals

        protected static boolean equals​(java.lang.Object a,
                                        java.lang.Object b)