Home > @infiniteobjects/shopify-data-manager > AdminTypes > SubscriptionBillingCycleErrorCode
Possible error codes that can be returned by SubscriptionBillingCycleUserError
.
Signature:
export declare enum SubscriptionBillingCycleErrorCode
Member | Value | Description |
---|---|---|
BillingDateSetOnSkipped | "BILLING_DATE_SET_ON_SKIPPED" |
Billing date cannot be set on skipped billing cycle. |
CycleIndexOutOfRange | "CYCLE_INDEX_OUT_OF_RANGE" |
Billing cycle selector cannot select billing cycle outside of index range. |
CycleNotFound | "CYCLE_NOT_FOUND" |
Can’t find the billing cycle. |
CycleStartDateOutOfRange | "CYCLE_START_DATE_OUT_OF_RANGE" |
Billing cycle selector cannot select billing cycle outside of start date range. |
EmptyBillingCycleEditScheduleInput | "EMPTY_BILLING_CYCLE_EDIT_SCHEDULE_INPUT" |
Billing cycle schedule edit input provided is empty. Must take in parameters to modify schedule. |
IncompleteBillingAttempts | "INCOMPLETE_BILLING_ATTEMPTS" |
Billing cycle has incomplete billing attempts in progress. |
Invalid | "INVALID" |
The input value is invalid. |
InvalidCycleIndex | "INVALID_CYCLE_INDEX" |
The index selector is invalid. |
InvalidDate | "INVALID_DATE" |
The date selector is invalid. |
NoCycleEdits | "NO_CYCLE_EDITS" |
There’s no contract or schedule edit associated with the targeted billing cycle(s). |
OutOfBounds | "OUT_OF_BOUNDS" |
Billing date of a cycle cannot be set to a value outside of its billing date range. |
UpcomingCycleLimitExceeded | "UPCOMING_CYCLE_LIMIT_EXCEEDED" |
Billing cycle selector cannot select upcoming billing cycle past limit. |