GrantableCredit
A grantable credit: a credit that a product applies to a customer’s balance on an action.
type GrantableCredit { amount: Decimal! closedToAttendee: [TagType!]! closedToPurchaser: [TagType!]! currencyCode: String! delayedTo: PointInTime id: Guid! onAction: CreditGrantTriggerAction! openToAttendee: [TagType!]! openToPurchaser: [TagType!]! outsideOfPackageOnly: Boolean! priceId: Guid target: GrantTargetType! timezone: String validFrom: PointInTime validTo: PointInTime}Fields
Section titled “Fields”amount ● Decimal!non-nullscalar
Section titled “amount ● Decimal! ”The amount of credit to apply.
closedToAttendee ● [TagType!]!non-nullinterface
Section titled “closedToAttendee ● [TagType!]! ”Closed to attendees with any of these tag types.
closedToPurchaser ● [TagType!]!non-nullinterface
Section titled “closedToPurchaser ● [TagType!]! ”Closed to purchasers with any of these tag types.
currencyCode ● String!non-nullscalar
Section titled “currencyCode ● String! ”The currency of the amount, such as PTS for points.
Delay application: when to apply the credit after the action. Null: no delay.
id ● Guid!non-nullscalar
Section titled “id ● Guid! ”Unique identifier.
onAction ● CreditGrantTriggerAction!non-nullenum
Section titled “onAction ● CreditGrantTriggerAction! ”The action that applies the credit: purchase or attendance.
openToAttendee ● [TagType!]!non-nullinterface
Section titled “openToAttendee ● [TagType!]! ”Open to attendees with one of these tag types only. Empty: open to all attendees.
openToPurchaser ● [TagType!]!non-nullinterface
Section titled “openToPurchaser ● [TagType!]! ”Open to purchasers with one of these tag types only. Empty: open to all purchasers.
Whether the credit applies only to an item outside a package.
The specific price that it applies to. Null: every price.
Who to apply the credit to: the purchaser or the attendee.
The time zone of an absolute validFrom, validTo or delayedTo, such as Europe/London.
When the credit starts to apply. A relative time counts back from the product’s start.
When the credit no longer applies. A relative time counts back from the product’s start.
Member Of
Section titled “Member Of”BasicProduct object ● Donation object ● Event object ● LocalProduct interface ● MembershipType object ● Merchandise object ● Package object ● Price object ● Product interface ● Remote object

