Shopify SDK for Unity
Public Member Functions | List of all members
Shopify.Unity.GraphQL.PaymentQuery Class Reference

A payment applied to a checkout. More...

Public Member Functions

 PaymentQuery (StringBuilder query)
 PaymentQuery is used to build queries. Typically PaymentQuery will not be used directly but instead will be used when building queries from either QueryRootQuery or MutationQuery. More...
 
PaymentQuery amount ()
 The amount of the payment. More...
 
PaymentQuery amountV2 (MoneyV2Delegate buildQuery)
 The amount of the payment. More...
 
PaymentQuery billingAddress (MailingAddressDelegate buildQuery)
 The billing address for the payment. More...
 
PaymentQuery checkout (CheckoutDelegate buildQuery)
 The checkout to which the payment belongs. More...
 
PaymentQuery creditCard (CreditCardDelegate buildQuery)
 The credit card used for the payment in the case of direct payments. More...
 
PaymentQuery errorMessage ()
 A message describing a processing error during asynchronous processing. More...
 
PaymentQuery id ()
 Globally unique identifier. More...
 
PaymentQuery idempotencyKey ()
 A client-side generated token to identify a payment and perform idempotent operations. More...
 
PaymentQuery nextActionUrl ()
 The URL where the customer needs to be redirected so they can complete the 3D Secure payment flow. More...
 
PaymentQuery ready ()
 Whether or not the payment is still processing asynchronously. More...
 
PaymentQuery test ()
 A flag to indicate if the payment is to be done in test mode for gateways that support it. More...
 
PaymentQuery transaction (TransactionDelegate buildQuery)
 The actual transaction recorded by Shopify after having processed the payment with the gateway. More...
 

Detailed Description

A payment applied to a checkout.

Constructor & Destructor Documentation

◆ PaymentQuery()

Shopify.Unity.GraphQL.PaymentQuery.PaymentQuery ( StringBuilder  query)
inline

PaymentQuery is used to build queries. Typically PaymentQuery will not be used directly but instead will be used when building queries from either QueryRootQuery or MutationQuery.

Member Function Documentation

◆ amount()

PaymentQuery Shopify.Unity.GraphQL.PaymentQuery.amount ( )
inline

The amount of the payment.

Deprecated:
Use amountV2 instead

◆ amountV2()

PaymentQuery Shopify.Unity.GraphQL.PaymentQuery.amountV2 ( MoneyV2Delegate  buildQuery)
inline

The amount of the payment.

◆ billingAddress()

PaymentQuery Shopify.Unity.GraphQL.PaymentQuery.billingAddress ( MailingAddressDelegate  buildQuery)
inline

The billing address for the payment.

◆ checkout()

PaymentQuery Shopify.Unity.GraphQL.PaymentQuery.checkout ( CheckoutDelegate  buildQuery)
inline

The checkout to which the payment belongs.

◆ creditCard()

PaymentQuery Shopify.Unity.GraphQL.PaymentQuery.creditCard ( CreditCardDelegate  buildQuery)
inline

The credit card used for the payment in the case of direct payments.

◆ errorMessage()

PaymentQuery Shopify.Unity.GraphQL.PaymentQuery.errorMessage ( )
inline

A message describing a processing error during asynchronous processing.

◆ id()

PaymentQuery Shopify.Unity.GraphQL.PaymentQuery.id ( )
inline

Globally unique identifier.

◆ idempotencyKey()

PaymentQuery Shopify.Unity.GraphQL.PaymentQuery.idempotencyKey ( )
inline

A client-side generated token to identify a payment and perform idempotent operations.

◆ nextActionUrl()

PaymentQuery Shopify.Unity.GraphQL.PaymentQuery.nextActionUrl ( )
inline

The URL where the customer needs to be redirected so they can complete the 3D Secure payment flow.

◆ ready()

PaymentQuery Shopify.Unity.GraphQL.PaymentQuery.ready ( )
inline

Whether or not the payment is still processing asynchronously.

◆ test()

PaymentQuery Shopify.Unity.GraphQL.PaymentQuery.test ( )
inline

A flag to indicate if the payment is to be done in test mode for gateways that support it.

◆ transaction()

PaymentQuery Shopify.Unity.GraphQL.PaymentQuery.transaction ( TransactionDelegate  buildQuery)
inline

The actual transaction recorded by Shopify after having processed the payment with the gateway.


The documentation for this class was generated from the following file: