Example #1
0
 /// <summary>
 /// will allow you to write queries on Payment.
 /// </summary>
 public NodeQuery onPayment(PaymentDelegate buildQuery)
 {
     Query.Append("...on Payment{");
     buildQuery(new PaymentQuery(Query));
     Query.Append("}");
     return(this);
 }
Example #2
0
        /// <summary>
        /// A representation of the attempted payment.
        /// </summary>
        public CheckoutCompleteWithTokenizedPaymentV2payloadQuery payment(PaymentDelegate buildQuery)
        {
            Query.Append("payment ");

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

            return(this);
        }