public static class Storefront.PaymentQuery
extends <any>
| Modifier and Type | Method and Description |
|---|---|
Storefront.PaymentQuery |
amount()
Deprecated.
Use `amountV2` instead
|
Storefront.PaymentQuery |
amountV2(Storefront.MoneyV2QueryDefinition queryDef)
The amount of the payment.
|
Storefront.PaymentQuery |
billingAddress(Storefront.MailingAddressQueryDefinition queryDef)
The billing address for the payment.
|
Storefront.PaymentQuery |
checkout(Storefront.CheckoutQueryDefinition queryDef)
The checkout to which the payment belongs.
|
Storefront.PaymentQuery |
creditCard(Storefront.CreditCardQueryDefinition queryDef)
The credit card used for the payment in the case of direct payments.
|
Storefront.PaymentQuery |
errorMessage()
A message describing a processing error during asynchronous processing.
|
Storefront.PaymentQuery |
idempotencyKey()
A client-side generated token to identify a payment and perform idempotent operations.
|
Storefront.PaymentQuery |
nextActionUrl()
The URL where the customer needs to be redirected so they can complete the 3D Secure payment flow.
|
Storefront.PaymentQuery |
ready()
Whether or not the payment is still processing asynchronously.
|
Storefront.PaymentQuery |
test()
A flag to indicate if the payment is to be done in test mode for gateways that support it.
|
Storefront.PaymentQuery |
transaction(Storefront.TransactionQueryDefinition queryDef)
The actual transaction recorded by Shopify after having processed the payment with the gateway.
|
@Deprecated public Storefront.PaymentQuery amount()
public Storefront.PaymentQuery amountV2(Storefront.MoneyV2QueryDefinition queryDef)
public Storefront.PaymentQuery billingAddress(Storefront.MailingAddressQueryDefinition queryDef)
public Storefront.PaymentQuery checkout(Storefront.CheckoutQueryDefinition queryDef)
public Storefront.PaymentQuery creditCard(Storefront.CreditCardQueryDefinition queryDef)
public Storefront.PaymentQuery errorMessage()
public Storefront.PaymentQuery idempotencyKey()
public Storefront.PaymentQuery nextActionUrl()
public Storefront.PaymentQuery ready()
public Storefront.PaymentQuery test()
public Storefront.PaymentQuery transaction(Storefront.TransactionQueryDefinition queryDef)