Class GetCustomerStatisticsQuery

    • Field Detail

      • OPERATION_DOCUMENT

        public static final java.lang.String OPERATION_DOCUMENT
        The minimized GraphQL document being sent to the server to save a few bytes. The un-minimized version is: query GetCustomerStatistics($input: GetCustomerByRefIdInput!) { getCustomerByRefId(input: $input) { __typename ...CustomerStatisticsFragment } } fragment CustomerStatisticsFragment on Customer { statistics { activeSubscriptionsByPricingType { pricingType totalCount } } }
        See Also:
        Constant Field Values
    • Method Detail

      • equals

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

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

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

        public java.lang.String document()
        Specified by:
        document in interface com.apollographql.apollo3.api.Operation<GetCustomerStatisticsQuery.Data>
      • serializeVariables

        public void serializeVariables​(com.apollographql.apollo3.api.json.JsonWriter writer,
                                       com.apollographql.apollo3.api.CustomScalarAdapters customScalarAdapters)
                                throws java.io.IOException
        Specified by:
        serializeVariables in interface com.apollographql.apollo3.api.Executable<GetCustomerStatisticsQuery.Data>
        Specified by:
        serializeVariables in interface com.apollographql.apollo3.api.Operation<GetCustomerStatisticsQuery.Data>
        Throws:
        java.io.IOException