Package com.docusign.esign.model
Class AccountBillingPlan
- java.lang.Object
-
- com.docusign.esign.model.AccountBillingPlan
-
- All Implemented Interfaces:
Serializable
public class AccountBillingPlan extends Object implements Serializable
Contains information about an account billing plan..- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AccountBillingPlan()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountBillingPlanaddAddOnsItem(AddOn addOnsItem)addAddOnsItem.AccountBillingPlanaddOns(List<AddOn> addOns)addOns.AccountBillingPlanaddPlanFeatureSetsItem(FeatureSet planFeatureSetsItem)addPlanFeatureSetsItem.AccountBillingPlanaddSeatDiscountsItem(SeatDiscount seatDiscountsItem)addSeatDiscountsItem.AccountBillingPlanappStoreReceiptExpirationDate(String appStoreReceiptExpirationDate)appStoreReceiptExpirationDate.AccountBillingPlanappStoreReceiptPurchaseDate(String appStoreReceiptPurchaseDate)appStoreReceiptPurchaseDate.AccountBillingPlancanCancelRenewal(String canCancelRenewal)canCancelRenewal.AccountBillingPlancanUpgrade(String canUpgrade)canUpgrade.AccountBillingPlancurrencyCode(String currencyCode)currencyCode.AccountBillingPlandowngradePlanInformation(DowngradePlanUpdateResponse downgradePlanInformation)downgradePlanInformation.AccountBillingPlanenableSupport(String enableSupport)enableSupport.booleanequals(Object o)Compares objects.List<AddOn>getAddOns()Reserved:.StringgetAppStoreReceiptExpirationDate().StringgetAppStoreReceiptPurchaseDate().StringgetCanCancelRenewal()Reserved: TBD.StringgetCanUpgrade()When set to **true**, specifies that you can upgrade the account through the API..StringgetCurrencyCode()Specifies the ISO currency code for the account..DowngradePlanUpdateResponsegetDowngradePlanInformation().StringgetEnableSupport()When set to **true**, then customer support is provided as part of the account plan..StringgetIncludedSeats()The number of seats (users) included..StringgetIncrementalSeats()Reserved: TBD.StringgetIsDowngrade().StringgetNotificationType().StringgetOtherDiscountPercent()Any other percentage discount for the plan.StringgetPaymentCycle().StringgetPaymentMethod()The payment method used with the plan.StringgetPerSeatPrice().StringgetPlanClassification()Identifies the type of plan.List<FeatureSet>getPlanFeatureSets()A complex type that sets the feature sets for the account.StringgetPlanId().StringgetPlanName()The name of the Billing Plan..StringgetPlanStartDate().StringgetProductId().StringgetRenewalDate().StringgetRenewalStatus()The renewal status for the account.List<SeatDiscount>getSeatDiscounts()A complex type that contains any seat discount information.StringgetSubscriptionStartDate().StringgetSupportIncidentFee()The support incident fee charged for each support incident..StringgetSupportPlanFee()The support plan fee charged for this plan..StringgetTaxExemptId().inthashCode()Returns the HashCode.AccountBillingPlanincludedSeats(String includedSeats)includedSeats.AccountBillingPlanincrementalSeats(String incrementalSeats)incrementalSeats.AccountBillingPlanisDowngrade(String isDowngrade)isDowngrade.AccountBillingPlannotificationType(String notificationType)notificationType.AccountBillingPlanotherDiscountPercent(String otherDiscountPercent)otherDiscountPercent.AccountBillingPlanpaymentCycle(String paymentCycle)paymentCycle.AccountBillingPlanpaymentMethod(String paymentMethod)paymentMethod.AccountBillingPlanperSeatPrice(String perSeatPrice)perSeatPrice.AccountBillingPlanplanClassification(String planClassification)planClassification.AccountBillingPlanplanFeatureSets(List<FeatureSet> planFeatureSets)planFeatureSets.AccountBillingPlanplanId(String planId)planId.AccountBillingPlanplanName(String planName)planName.AccountBillingPlanplanStartDate(String planStartDate)planStartDate.AccountBillingPlanproductId(String productId)productId.AccountBillingPlanrenewalDate(String renewalDate)renewalDate.AccountBillingPlanrenewalStatus(String renewalStatus)renewalStatus.AccountBillingPlanseatDiscounts(List<SeatDiscount> seatDiscounts)seatDiscounts.voidsetAddOns(List<AddOn> addOns)setAddOns.voidsetAppStoreReceiptExpirationDate(String appStoreReceiptExpirationDate)setAppStoreReceiptExpirationDate.voidsetAppStoreReceiptPurchaseDate(String appStoreReceiptPurchaseDate)setAppStoreReceiptPurchaseDate.voidsetCanCancelRenewal(String canCancelRenewal)setCanCancelRenewal.voidsetCanUpgrade(String canUpgrade)setCanUpgrade.voidsetCurrencyCode(String currencyCode)setCurrencyCode.voidsetDowngradePlanInformation(DowngradePlanUpdateResponse downgradePlanInformation)setDowngradePlanInformation.voidsetEnableSupport(String enableSupport)setEnableSupport.voidsetIncludedSeats(String includedSeats)setIncludedSeats.voidsetIncrementalSeats(String incrementalSeats)setIncrementalSeats.voidsetIsDowngrade(String isDowngrade)setIsDowngrade.voidsetNotificationType(String notificationType)setNotificationType.voidsetOtherDiscountPercent(String otherDiscountPercent)setOtherDiscountPercent.voidsetPaymentCycle(String paymentCycle)setPaymentCycle.voidsetPaymentMethod(String paymentMethod)setPaymentMethod.voidsetPerSeatPrice(String perSeatPrice)setPerSeatPrice.voidsetPlanClassification(String planClassification)setPlanClassification.voidsetPlanFeatureSets(List<FeatureSet> planFeatureSets)setPlanFeatureSets.voidsetPlanId(String planId)setPlanId.voidsetPlanName(String planName)setPlanName.voidsetPlanStartDate(String planStartDate)setPlanStartDate.voidsetProductId(String productId)setProductId.voidsetRenewalDate(String renewalDate)setRenewalDate.voidsetRenewalStatus(String renewalStatus)setRenewalStatus.voidsetSeatDiscounts(List<SeatDiscount> seatDiscounts)setSeatDiscounts.voidsetSubscriptionStartDate(String subscriptionStartDate)setSubscriptionStartDate.voidsetSupportIncidentFee(String supportIncidentFee)setSupportIncidentFee.voidsetSupportPlanFee(String supportPlanFee)setSupportPlanFee.voidsetTaxExemptId(String taxExemptId)setTaxExemptId.AccountBillingPlansubscriptionStartDate(String subscriptionStartDate)subscriptionStartDate.AccountBillingPlansupportIncidentFee(String supportIncidentFee)supportIncidentFee.AccountBillingPlansupportPlanFee(String supportPlanFee)supportPlanFee.AccountBillingPlantaxExemptId(String taxExemptId)taxExemptId.StringtoString()Converts the given object to string.
-
-
-
Method Detail
-
addOns
public AccountBillingPlan addOns(List<AddOn> addOns)
addOns.- Returns:
- AccountBillingPlan
-
addAddOnsItem
public AccountBillingPlan addAddOnsItem(AddOn addOnsItem)
addAddOnsItem.- Returns:
- AccountBillingPlan
-
appStoreReceiptExpirationDate
public AccountBillingPlan appStoreReceiptExpirationDate(String appStoreReceiptExpirationDate)
appStoreReceiptExpirationDate.- Returns:
- AccountBillingPlan
-
getAppStoreReceiptExpirationDate
public String getAppStoreReceiptExpirationDate()
.- Returns:
- appStoreReceiptExpirationDate
-
setAppStoreReceiptExpirationDate
public void setAppStoreReceiptExpirationDate(String appStoreReceiptExpirationDate)
setAppStoreReceiptExpirationDate.
-
appStoreReceiptPurchaseDate
public AccountBillingPlan appStoreReceiptPurchaseDate(String appStoreReceiptPurchaseDate)
appStoreReceiptPurchaseDate.- Returns:
- AccountBillingPlan
-
getAppStoreReceiptPurchaseDate
public String getAppStoreReceiptPurchaseDate()
.- Returns:
- appStoreReceiptPurchaseDate
-
setAppStoreReceiptPurchaseDate
public void setAppStoreReceiptPurchaseDate(String appStoreReceiptPurchaseDate)
setAppStoreReceiptPurchaseDate.
-
canCancelRenewal
public AccountBillingPlan canCancelRenewal(String canCancelRenewal)
canCancelRenewal.- Returns:
- AccountBillingPlan
-
getCanCancelRenewal
public String getCanCancelRenewal()
Reserved: TBD.- Returns:
- canCancelRenewal
-
setCanCancelRenewal
public void setCanCancelRenewal(String canCancelRenewal)
setCanCancelRenewal.
-
canUpgrade
public AccountBillingPlan canUpgrade(String canUpgrade)
canUpgrade.- Returns:
- AccountBillingPlan
-
getCanUpgrade
public String getCanUpgrade()
When set to **true**, specifies that you can upgrade the account through the API..- Returns:
- canUpgrade
-
setCanUpgrade
public void setCanUpgrade(String canUpgrade)
setCanUpgrade.
-
currencyCode
public AccountBillingPlan currencyCode(String currencyCode)
currencyCode.- Returns:
- AccountBillingPlan
-
getCurrencyCode
public String getCurrencyCode()
Specifies the ISO currency code for the account..- Returns:
- currencyCode
-
setCurrencyCode
public void setCurrencyCode(String currencyCode)
setCurrencyCode.
-
downgradePlanInformation
public AccountBillingPlan downgradePlanInformation(DowngradePlanUpdateResponse downgradePlanInformation)
downgradePlanInformation.- Returns:
- AccountBillingPlan
-
getDowngradePlanInformation
public DowngradePlanUpdateResponse getDowngradePlanInformation()
.- Returns:
- downgradePlanInformation
-
setDowngradePlanInformation
public void setDowngradePlanInformation(DowngradePlanUpdateResponse downgradePlanInformation)
setDowngradePlanInformation.
-
enableSupport
public AccountBillingPlan enableSupport(String enableSupport)
enableSupport.- Returns:
- AccountBillingPlan
-
getEnableSupport
public String getEnableSupport()
When set to **true**, then customer support is provided as part of the account plan..- Returns:
- enableSupport
-
setEnableSupport
public void setEnableSupport(String enableSupport)
setEnableSupport.
-
includedSeats
public AccountBillingPlan includedSeats(String includedSeats)
includedSeats.- Returns:
- AccountBillingPlan
-
getIncludedSeats
public String getIncludedSeats()
The number of seats (users) included..- Returns:
- includedSeats
-
setIncludedSeats
public void setIncludedSeats(String includedSeats)
setIncludedSeats.
-
incrementalSeats
public AccountBillingPlan incrementalSeats(String incrementalSeats)
incrementalSeats.- Returns:
- AccountBillingPlan
-
getIncrementalSeats
public String getIncrementalSeats()
Reserved: TBD.- Returns:
- incrementalSeats
-
setIncrementalSeats
public void setIncrementalSeats(String incrementalSeats)
setIncrementalSeats.
-
isDowngrade
public AccountBillingPlan isDowngrade(String isDowngrade)
isDowngrade.- Returns:
- AccountBillingPlan
-
getIsDowngrade
public String getIsDowngrade()
.- Returns:
- isDowngrade
-
setIsDowngrade
public void setIsDowngrade(String isDowngrade)
setIsDowngrade.
-
notificationType
public AccountBillingPlan notificationType(String notificationType)
notificationType.- Returns:
- AccountBillingPlan
-
getNotificationType
public String getNotificationType()
.- Returns:
- notificationType
-
setNotificationType
public void setNotificationType(String notificationType)
setNotificationType.
-
otherDiscountPercent
public AccountBillingPlan otherDiscountPercent(String otherDiscountPercent)
otherDiscountPercent.- Returns:
- AccountBillingPlan
-
getOtherDiscountPercent
public String getOtherDiscountPercent()
Any other percentage discount for the plan. .- Returns:
- otherDiscountPercent
-
setOtherDiscountPercent
public void setOtherDiscountPercent(String otherDiscountPercent)
setOtherDiscountPercent.
-
paymentCycle
public AccountBillingPlan paymentCycle(String paymentCycle)
paymentCycle.- Returns:
- AccountBillingPlan
-
getPaymentCycle
public String getPaymentCycle()
.- Returns:
- paymentCycle
-
setPaymentCycle
public void setPaymentCycle(String paymentCycle)
setPaymentCycle.
-
paymentMethod
public AccountBillingPlan paymentMethod(String paymentMethod)
paymentMethod.- Returns:
- AccountBillingPlan
-
getPaymentMethod
public String getPaymentMethod()
The payment method used with the plan. The possible values are: CreditCard, PurchaseOrder, Premium, or Freemium. .- Returns:
- paymentMethod
-
setPaymentMethod
public void setPaymentMethod(String paymentMethod)
setPaymentMethod.
-
perSeatPrice
public AccountBillingPlan perSeatPrice(String perSeatPrice)
perSeatPrice.- Returns:
- AccountBillingPlan
-
getPerSeatPrice
public String getPerSeatPrice()
.- Returns:
- perSeatPrice
-
setPerSeatPrice
public void setPerSeatPrice(String perSeatPrice)
setPerSeatPrice.
-
planClassification
public AccountBillingPlan planClassification(String planClassification)
planClassification.- Returns:
- AccountBillingPlan
-
getPlanClassification
public String getPlanClassification()
Identifies the type of plan. Examples include Business, Corporate, Enterprise, Free..- Returns:
- planClassification
-
setPlanClassification
public void setPlanClassification(String planClassification)
setPlanClassification.
-
planFeatureSets
public AccountBillingPlan planFeatureSets(List<FeatureSet> planFeatureSets)
planFeatureSets.- Returns:
- AccountBillingPlan
-
addPlanFeatureSetsItem
public AccountBillingPlan addPlanFeatureSetsItem(FeatureSet planFeatureSetsItem)
addPlanFeatureSetsItem.- Returns:
- AccountBillingPlan
-
getPlanFeatureSets
public List<FeatureSet> getPlanFeatureSets()
A complex type that sets the feature sets for the account. It contains the following information (all string content): * currencyFeatureSetPrices - Contains the currencyCode and currencySymbol for the alternate currency values for envelopeFee, fixedFee, seatFee that are configured for this plan feature set. * envelopeFee - An incremental envelope cost for plans with envelope overages (when isEnabled=true). * featureSetId - A unique ID for the feature set. * fixedFee - A one-time fee associated with the plan (when isEnabled=true). * isActive - Specifies whether the feature set is actively set as part of the plan. * isEnabled - Specifies whether the feature set is actively enabled as part of the plan. * name - The name of the feature set. * seatFee - An incremental seat cost for seat-based plans (when isEnabled=true). .- Returns:
- planFeatureSets
-
setPlanFeatureSets
public void setPlanFeatureSets(List<FeatureSet> planFeatureSets)
setPlanFeatureSets.
-
planId
public AccountBillingPlan planId(String planId)
planId.- Returns:
- AccountBillingPlan
-
getPlanId
public String getPlanId()
.- Returns:
- planId
-
setPlanId
public void setPlanId(String planId)
setPlanId.
-
planName
public AccountBillingPlan planName(String planName)
planName.- Returns:
- AccountBillingPlan
-
getPlanName
public String getPlanName()
The name of the Billing Plan..- Returns:
- planName
-
setPlanName
public void setPlanName(String planName)
setPlanName.
-
planStartDate
public AccountBillingPlan planStartDate(String planStartDate)
planStartDate.- Returns:
- AccountBillingPlan
-
getPlanStartDate
public String getPlanStartDate()
.- Returns:
- planStartDate
-
setPlanStartDate
public void setPlanStartDate(String planStartDate)
setPlanStartDate.
-
productId
public AccountBillingPlan productId(String productId)
productId.- Returns:
- AccountBillingPlan
-
getProductId
public String getProductId()
.- Returns:
- productId
-
setProductId
public void setProductId(String productId)
setProductId.
-
renewalDate
public AccountBillingPlan renewalDate(String renewalDate)
renewalDate.- Returns:
- AccountBillingPlan
-
getRenewalDate
public String getRenewalDate()
.- Returns:
- renewalDate
-
setRenewalDate
public void setRenewalDate(String renewalDate)
setRenewalDate.
-
renewalStatus
public AccountBillingPlan renewalStatus(String renewalStatus)
renewalStatus.- Returns:
- AccountBillingPlan
-
getRenewalStatus
public String getRenewalStatus()
The renewal status for the account. The acceptable values are: * auto: The account automatically renews. * queued_for_close: Account will be closed at the billingPeriodEndDate. * queued_for_downgrade: Account will be downgraded at the billingPeriodEndDate..- Returns:
- renewalStatus
-
setRenewalStatus
public void setRenewalStatus(String renewalStatus)
setRenewalStatus.
-
seatDiscounts
public AccountBillingPlan seatDiscounts(List<SeatDiscount> seatDiscounts)
seatDiscounts.- Returns:
- AccountBillingPlan
-
addSeatDiscountsItem
public AccountBillingPlan addSeatDiscountsItem(SeatDiscount seatDiscountsItem)
addSeatDiscountsItem.- Returns:
- AccountBillingPlan
-
getSeatDiscounts
public List<SeatDiscount> getSeatDiscounts()
A complex type that contains any seat discount information. Values are: BeginSeatCount, EndSeatCount, and SeatDiscountPercent. .- Returns:
- seatDiscounts
-
setSeatDiscounts
public void setSeatDiscounts(List<SeatDiscount> seatDiscounts)
setSeatDiscounts.
-
subscriptionStartDate
public AccountBillingPlan subscriptionStartDate(String subscriptionStartDate)
subscriptionStartDate.- Returns:
- AccountBillingPlan
-
getSubscriptionStartDate
public String getSubscriptionStartDate()
.- Returns:
- subscriptionStartDate
-
setSubscriptionStartDate
public void setSubscriptionStartDate(String subscriptionStartDate)
setSubscriptionStartDate.
-
supportIncidentFee
public AccountBillingPlan supportIncidentFee(String supportIncidentFee)
supportIncidentFee.- Returns:
- AccountBillingPlan
-
getSupportIncidentFee
public String getSupportIncidentFee()
The support incident fee charged for each support incident..- Returns:
- supportIncidentFee
-
setSupportIncidentFee
public void setSupportIncidentFee(String supportIncidentFee)
setSupportIncidentFee.
-
supportPlanFee
public AccountBillingPlan supportPlanFee(String supportPlanFee)
supportPlanFee.- Returns:
- AccountBillingPlan
-
getSupportPlanFee
public String getSupportPlanFee()
The support plan fee charged for this plan..- Returns:
- supportPlanFee
-
setSupportPlanFee
public void setSupportPlanFee(String supportPlanFee)
setSupportPlanFee.
-
taxExemptId
public AccountBillingPlan taxExemptId(String taxExemptId)
taxExemptId.- Returns:
- AccountBillingPlan
-
getTaxExemptId
public String getTaxExemptId()
.- Returns:
- taxExemptId
-
setTaxExemptId
public void setTaxExemptId(String taxExemptId)
setTaxExemptId.
-
equals
public boolean equals(Object o)
Compares objects.
-
-