Skip to main content

EventMilestone

The possible milestones of a subscription event. A milestone narrows down the event's action.

enum EventMilestone {
ADD_LINE
ARCHIVE_PLAN
DELETE_PLAN
FAILED
REMOVE_LINE
SET_LINE_QUANTITY
STARTED
SUCCEEDED
UPDATE_PLAN
}

Values​

EventMilestone.ADD_LINE​

An update that added a line to a subscription or subscription order.

EventMilestone.ARCHIVE_PLAN​

An update that archived a plan in a subscription plan group.

EventMilestone.DELETE_PLAN​

An update that deleted a plan from a subscription plan group.

EventMilestone.FAILED​

Processing of a subscription order failed because its charge failed.

EventMilestone.REMOVE_LINE​

An update that removed a line from a subscription or subscription order.

EventMilestone.SET_LINE_QUANTITY​

An update that changed a line's quantity on a subscription or subscription order.

EventMilestone.STARTED​

Processing of a subscription order started.

EventMilestone.SUCCEEDED​

Processing of a subscription order finished after its charge succeeded.

EventMilestone.UPDATE_PLAN​

An update that changed a plan in a subscription plan group.

Member Of​

SubscriptionEvent object