CreatePaymentRuleInput
Input for createPaymentRule.
input CreatePaymentRuleInput {
conditions: AWSJSON!
action: PaymentRuleActionInput!
name: String
priority: Int
enabled: Boolean
}
Fields
CreatePaymentRuleInput.conditions ● AWSJSON! non-null scalar
JsonLogic expression evaluated against the transaction context. JSON-encoded string.
CreatePaymentRuleInput.action ● PaymentRuleActionInput! non-null input
Action to apply when conditions match.
CreatePaymentRuleInput.name ● String scalar
Human-readable label. Optional.
CreatePaymentRuleInput.priority ● Int scalar
Evaluation order; lower runs first. Defaults to 0.
CreatePaymentRuleInput.enabled ● Boolean scalar
Whether the rule is evaluated. Defaults to true.
Member Of
createPaymentRule mutation