Magidoc

AccountServicePlan
Object

Account plan for a specific service type. Only one active plan per service type is allowed.

Fields

#

id

Non-null

Unique account plan ID

trialEndUtc

Date/time that the trial plan will end at which time a new plan much be selected for the account to remain active.

isActive

Non-null

Indicates whether account plan is active

startUtc

Non-null

Date/time the plan started

currentBillStartUtc

Non-null

Start date/time of current billing period

currentBillEndUtc

Non-null

End date/time of current billing period

nextBillUtc

Non-null

Start date/time of next billing period

isPrepay

Non-null

Indicates whether the plan is Pay-As-You-Go

nextPlanId

Non-null

ID of next plan when downgrading plans

nextPlanCreditItemId

Non-null

ID of credit block to be purchased when downgrading from a scale-based plan to credit-based plan

autoRefillCreditItemId

Non-null

ID of credit block to automatically purchase when account credit balance is equal to or below MinimumCredits

minimumCredits

Non-null

Minimum credit balance that will trigger more credits to be automatically purchased

createdUtc

Non-null

Date/time the service plan was created

createdBy

Id of user who created the service plan

modifiedUtc

Non-null

Date/time the service plan was last modified

modifiedBy

Id of user who last modified the service plan

servicePlanId

Non-null

ID of the service plan

servicePlan

Service plan

accountId

Non-null

ID of the account

account

Account

Usages

#

References

#