Class EstimateSubscriptionMutation

    • 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: mutation EstimateSubscription($input: EstimateSubscriptionInput!) { estimateSubscription(input: $input) { __typename ...SubscriptionPreviewFragment } } fragment SubscriptionPreviewFragment on SubscriptionPreview { subTotal { amount currency } totalExcludingTax { amount currency } total { amount currency } discountAmount { amount currency } taxDetails { displayName percentage inclusive } tax { amount currency } billingPeriodRange { start end } discount { type value durationType durationInMonths } subscription { subTotal { amount currency } totalExcludingTax { amount currency } total { amount currency } tax { amount currency } discountAmount { amount currency } taxDetails { displayName percentage inclusive } discount { type value durationType durationInMonths } } proration { prorationDate credit { amount currency } debit { amount currency } netAmount { amount currency } } isPlanDowngrade hasScheduledUpdates credits { initial { amount currency } used { amount currency } remaining { amount currency } } }
        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
      • 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<EstimateSubscriptionMutation.Data>
        Specified by:
        serializeVariables in interface com.apollographql.apollo3.api.Operation<EstimateSubscriptionMutation.Data>
        Throws:
        java.io.IOException