示例#1
0
 /// <summary>
 /// will allow you to write queries on MailingAddress.
 /// </summary>
 public NodeQuery onMailingAddress(MailingAddressDelegate buildQuery)
 {
     Query.Append("...on MailingAddress{");
     buildQuery(new MailingAddressQuery(Query));
     Query.Append("}");
     return(this);
 }
示例#2
0
        /// <summary>
        /// The customer’s updated mailing address.
        /// </summary>
        public CustomerAddressUpdatePayloadQuery customerAddress(MailingAddressDelegate buildQuery)
        {
            Query.Append("customerAddress ");

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

            return(this);
        }
示例#3
0
        /// <summary>
        /// The address to where the order will be shipped.
        /// </summary>
        public OrderQuery shippingAddress(MailingAddressDelegate buildQuery)
        {
            Query.Append("shippingAddress ");

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

            return(this);
        }
示例#4
0
        /// <summary>
        /// The customer’s default address.
        /// </summary>
        public CustomerQuery defaultAddress(MailingAddressDelegate buildQuery)
        {
            Query.Append("defaultAddress ");

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

            return(this);
        }
        /// <summary>
        /// The billing address for the payment.
        /// </summary>
        public PaymentQuery billingAddress(MailingAddressDelegate buildQuery)
        {
            Query.Append("billingAddress ");

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

            return(this);
        }
示例#6
0
        /// <summary>
        /// The item at the end of MailingAddressEdge.
        /// </summary>
        public MailingAddressEdgeQuery node(MailingAddressDelegate buildQuery)
        {
            Query.Append("node ");

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

            return(this);
        }