@Documented
@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
public @interface PaymentRequired
It contains a number of options:
Created by Philip Vendil on 2018-09-07.
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
articleId |
java.lang.Class<? extends RequestPolicy> |
customPolicy |
java.lang.Class<? extends OrderRequestGenerator> |
orderRequestGenerator |
PaymentOption[] |
paymentOptions |
boolean |
payPerRequest |
RequestPolicyType |
requestPolicy |
int |
units |
public abstract java.lang.String articleId
public abstract int units
public abstract boolean payPerRequest
public abstract java.lang.Class<? extends OrderRequestGenerator> orderRequestGenerator
OrderRequestGenerator
public abstract RequestPolicyType requestPolicy
RequestPolicyType
public abstract java.lang.Class<? extends RequestPolicy> customPolicy
RequestPolicy
public abstract PaymentOption[] paymentOptions
PaymentOption