public class GiftCardOptionsQuery extends AbstractQuery<GiftCardOptionsQuery>
_queryBuilder, ALIAS_SUFFIX_SEPARATOR, CUSTOM_FIELD_LABEL| Modifier and Type | Method and Description |
|---|---|
GiftCardOptionsQuery |
addFragmentReference(Fragment<GiftCardOptionsQuery> fragment)
Adds a
GiftCardOptionsQuery fragment reference at the current position of the query. |
GiftCardOptionsQuery |
amount(MoneyQueryDefinition queryDef)
The amount and currency of the gift card
|
static Fragment<GiftCardOptionsQuery> |
createFragment(String name,
GiftCardOptionsQueryDefinition queryDef)
Creates a GraphQL "named" fragment with the specified query type definition.
|
GiftCardOptionsQuery |
customGiftcardAmount(MoneyQueryDefinition queryDef)
The custom amount and currency of the gift card
|
GiftCardOptionsQuery |
message()
A message to the recipient
|
GiftCardOptionsQuery |
recipientEmail()
The email of the person receiving the gift card
|
GiftCardOptionsQuery |
recipientName()
The name of the person receiving the gift card
|
GiftCardOptionsQuery |
senderEmail()
The email of the sender
|
GiftCardOptionsQuery |
senderName()
The name of the sender
|
addCustomObjectField, addCustomSimpleField, appendQuotedString, startField, startInlineFragment, withAliaspublic GiftCardOptionsQuery amount(MoneyQueryDefinition queryDef)
public GiftCardOptionsQuery customGiftcardAmount(MoneyQueryDefinition queryDef)
public GiftCardOptionsQuery message()
public GiftCardOptionsQuery recipientEmail()
public GiftCardOptionsQuery recipientName()
public GiftCardOptionsQuery senderEmail()
public GiftCardOptionsQuery senderName()
public static Fragment<GiftCardOptionsQuery> createFragment(String name, GiftCardOptionsQueryDefinition queryDef)
name - The name of the fragment, must be unique for a given GraphQL request.queryDef - The fragment definition.public GiftCardOptionsQuery addFragmentReference(Fragment<GiftCardOptionsQuery> fragment)
GiftCardOptionsQuery fragment reference at the current position of the query.
For example for a fragment named test, calling this method will add the
reference ...test in the query. For GraphQL types implementing an interface, there
will be some similar methods using the Query type of each implemented interface.fragment - The fragment to reference.Copyright © 2022 Adobe. All rights reserved.