/// <summary>
 /// will allow you to write queries on UserError.
 /// </summary>
 public DisplayableErrorQuery onUserError(UserErrorDelegate buildQuery)
 {
     Query.Append("...on UserError{");
     buildQuery(new UserErrorQuery(Query));
     Query.Append("}");
     return(this);
 }
        /// <summary>
        /// List of errors that occurred executing the mutation.
        /// </summary>
        public CheckoutCustomerAssociatePayloadQuery userErrors(UserErrorDelegate buildQuery)
        {
            Query.Append("userErrors ");

            Query.Append("{");
            buildQuery(new UserErrorQuery(Query));
            Query.Append("}");

            return(this);
        }
        /// <summary>
        /// List of errors that occurred executing the mutation.
        /// </summary>
        public CustomerAccessTokenDeletePayloadQuery userErrors(UserErrorDelegate buildQuery)
        {
            Query.Append("userErrors ");

            Query.Append("{");
            buildQuery(new UserErrorQuery(Query));
            Query.Append("}");

            return(this);
        }
Exemplo n.º 4
0
        /// \deprecated Use `customerUserErrors` instead
        /// <summary>
        /// List of errors that occurred executing the mutation.
        /// </summary>
        public CustomerAddressDeletePayloadQuery userErrors(UserErrorDelegate buildQuery)
        {
            Log.DeprecatedQueryField("CustomerAddressDeletePayload", "userErrors", "Use `customerUserErrors` instead");

            Query.Append("userErrors ");

            Query.Append("{");
            buildQuery(new UserErrorQuery(Query));
            Query.Append("}");

            return(this);
        }
        /// \deprecated Use `checkoutUserErrors` instead
        /// <summary>
        /// List of errors that occurred executing the mutation.
        /// </summary>
        public CheckoutCustomerDisassociateV2payloadQuery userErrors(UserErrorDelegate buildQuery)
        {
            Log.DeprecatedQueryField("CheckoutCustomerDisassociateV2Payload", "userErrors", "Use `checkoutUserErrors` instead");

            Query.Append("userErrors ");

            Query.Append("{");
            buildQuery(new UserErrorQuery(Query));
            Query.Append("}");

            return(this);
        }
Exemplo n.º 6
0
        /// \deprecated Use `checkoutUserErrors` instead
        /// <summary>
        /// List of errors that occurred executing the mutation.
        /// </summary>
        public CheckoutShippingAddressUpdateV2payloadQuery userErrors(UserErrorDelegate buildQuery)
        {
            Log.DeprecatedQueryField("CheckoutShippingAddressUpdateV2Payload", "userErrors", "Use `checkoutUserErrors` instead");

            Query.Append("userErrors ");

            Query.Append("{");
            buildQuery(new UserErrorQuery(Query));
            Query.Append("}");

            return(this);
        }
Exemplo n.º 7
0
        /// \deprecated Use `checkoutUserErrors` instead
        /// <summary>
        /// List of errors that occurred executing the mutation.
        /// </summary>
        public CheckoutGiftCardApplyPayloadQuery userErrors(UserErrorDelegate buildQuery)
        {
            Log.DeprecatedQueryField("CheckoutGiftCardApplyPayload", "userErrors", "Use `checkoutUserErrors` instead");

            Query.Append("userErrors ");

            Query.Append("{");
            buildQuery(new UserErrorQuery(Query));
            Query.Append("}");

            return(this);
        }
Exemplo n.º 8
0
        /// \deprecated Use `checkoutUserErrors` instead
        /// <summary>
        /// List of errors that occurred executing the mutation.
        /// </summary>
        public CheckoutCompleteWithTokenizedPaymentV2payloadQuery userErrors(UserErrorDelegate buildQuery)
        {
            Log.DeprecatedQueryField("CheckoutCompleteWithTokenizedPaymentV2Payload", "userErrors", "Use `checkoutUserErrors` instead");

            Query.Append("userErrors ");

            Query.Append("{");
            buildQuery(new UserErrorQuery(Query));
            Query.Append("}");

            return(this);
        }