Exemple #1
0
 /// <summary>
 /// will allow you to write queries on Checkout.
 /// </summary>
 public NodeQuery onCheckout(CheckoutDelegate buildQuery)
 {
     Query.Append("...on Checkout{");
     buildQuery(new CheckoutQuery(Query));
     Query.Append("}");
     return(this);
 }
        /// <summary>
        /// The updated checkout object.
        /// </summary>
        public CheckoutCustomerDisassociateV2payloadQuery checkout(CheckoutDelegate buildQuery)
        {
            Query.Append("checkout ");

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

            return(this);
        }
Exemple #3
0
        /// <summary>
        /// The updated checkout object.
        /// </summary>
        public CheckoutShippingAddressUpdateV2payloadQuery checkout(CheckoutDelegate buildQuery)
        {
            Query.Append("checkout ");

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

            return(this);
        }
Exemple #4
0
        /// <summary>
        /// The new checkout object.
        /// </summary>
        public CheckoutCreatePayloadQuery checkout(CheckoutDelegate buildQuery)
        {
            Query.Append("checkout ");

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

            return(this);
        }
Exemple #5
0
        /// <summary>
        /// The updated checkout object.
        /// </summary>
        public CheckoutDiscountCodeApplyV2payloadQuery checkout(CheckoutDelegate buildQuery)
        {
            Query.Append("checkout ");

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

            return(this);
        }
Exemple #6
0
        /// <summary>
        /// The updated checkout object.
        /// </summary>
        public CheckoutAttributesUpdateV2payloadQuery checkout(CheckoutDelegate buildQuery)
        {
            Query.Append("checkout ");

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

            return(this);
        }
Exemple #7
0
        /// <summary>
        /// The customer's most recently updated, incomplete checkout.
        /// </summary>
        public CustomerQuery lastIncompleteCheckout(CheckoutDelegate buildQuery)
        {
            Query.Append("lastIncompleteCheckout ");

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

            return(this);
        }
Exemple #8
0
        /// <summary>
        /// The checkout on which the payment was applied.
        /// </summary>
        public CheckoutCompleteWithTokenizedPaymentV2payloadQuery checkout(CheckoutDelegate buildQuery)
        {
            Query.Append("checkout ");

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

            return(this);
        }
Exemple #9
0
        /// <summary>
        /// The checkout on which the payment was applied.
        /// </summary>
        public CheckoutCompleteWithCreditCardV2payloadQuery checkout(CheckoutDelegate buildQuery)
        {
            Query.Append("checkout ");

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

            return(this);
        }
Exemple #10
0
        /// <summary>
        /// The updated checkout object.
        /// </summary>
        public CheckoutGiftCardRemoveV2payloadQuery checkout(CheckoutDelegate buildQuery)
        {
            Query.Append("checkout ");

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

            return(this);
        }