Skip to content

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
}

The amount of credit to apply.

Closed to attendees with any of these tag types.

Closed to purchasers with any of these tag types.

The currency of the amount, such as PTS for points.

Delay application: when to apply the credit after the action. Null: no delay.

Unique identifier.

The action that applies the credit: purchase or attendance.

Open to attendees with one of these tag types only. Empty: open to all attendees.

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.

BasicProduct object ● Donation object ● Event object ● LocalProduct interface ● MembershipType object ● Merchandise object ● Package object ● Price object ● Product interface ● Remote object