Class PlanInfo

    • Constructor Summary

      Constructors 
      Constructor Description
      PlanInfo()  
      PlanInfo​(PlanInfo source)
      NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getArea()
      Get 套餐加速区域类型,取值有: mainland :中国大陆; overseas :全球(不包括中国大陆); global :全球(包括中国大陆)。
      String getCurrency()
      Get 结算货币类型,取值有: CNY :人民币结算; USD :美元结算。
      Long getFlux()
      Get 套餐所含流量,该流量数值为安全加速流量,内容加速流量和智能加速流量的总和(单位:字节)。
      String getFrequency()
      Get 结算周期,取值有: y :按年结算; m :按月结算; h :按小时结算; M :按分钟结算; s :按秒结算。
      String getPlanType()
      Get 套餐类型,取值有: sta :全球内容分发网络(不包括中国大陆)标准版套餐; sta_with_bot :全球内容分发网络(不包括中国大陆)标准版套餐附带bot管理; sta_cm :中国大陆内容分发网络标准版套餐; sta_cm_with_bot :中国大陆内容分发网络标准版套餐附带bot管理; sta_global :全球内容分发网络(包括中国大陆)标准版套餐; sta_global_with_bot :全球内容分发网络(包括中国大陆)标准版套餐附带bot管理; ent :全球内容分发网络(不包括中国大陆)企业版套餐; ent_with_bot : 全球内容分发网络(不包括中国大陆)企业版套餐附带bot管理; ent_cm :中国大陆内容分发网络企业版套餐; ent_cm_with_bot :中国大陆内容分发网络企业版套餐附带bot管理; ent_global :全球内容分发网络(包括中国大陆)企业版套餐; ent_global_with_bot :全球内容分发网络(包括中国大陆)企业版套餐附带bot管理。
      Float getPrice()
      Get 套餐价格(单位:分)。
      Long getRequest()
      Get 套餐所含请求次数,该请求次数为安全加速请求次数。(单位:次)。
      Long getSiteNumber()
      Get 套餐所能绑定的站点个数。
      void setArea​(String Area)
      Set 套餐加速区域类型,取值有: mainland :中国大陆; overseas :全球(不包括中国大陆); global :全球(包括中国大陆)。
      void setCurrency​(String Currency)
      Set 结算货币类型,取值有: CNY :人民币结算; USD :美元结算。
      void setFlux​(Long Flux)
      Set 套餐所含流量,该流量数值为安全加速流量,内容加速流量和智能加速流量的总和(单位:字节)。
      void setFrequency​(String Frequency)
      Set 结算周期,取值有: y :按年结算; m :按月结算; h :按小时结算; M :按分钟结算; s :按秒结算。
      void setPlanType​(String PlanType)
      Set 套餐类型,取值有: sta :全球内容分发网络(不包括中国大陆)标准版套餐; sta_with_bot :全球内容分发网络(不包括中国大陆)标准版套餐附带bot管理; sta_cm :中国大陆内容分发网络标准版套餐; sta_cm_with_bot :中国大陆内容分发网络标准版套餐附带bot管理; sta_global :全球内容分发网络(包括中国大陆)标准版套餐; sta_global_with_bot :全球内容分发网络(包括中国大陆)标准版套餐附带bot管理; ent :全球内容分发网络(不包括中国大陆)企业版套餐; ent_with_bot : 全球内容分发网络(不包括中国大陆)企业版套餐附带bot管理; ent_cm :中国大陆内容分发网络企业版套餐; ent_cm_with_bot :中国大陆内容分发网络企业版套餐附带bot管理; ent_global :全球内容分发网络(包括中国大陆)企业版套餐; ent_global_with_bot :全球内容分发网络(包括中国大陆)企业版套餐附带bot管理。
      void setPrice​(Float Price)
      Set 套餐价格(单位:分)。
      void setRequest​(Long Request)
      Set 套餐所含请求次数,该请求次数为安全加速请求次数。(单位:次)。
      void setSiteNumber​(Long SiteNumber)
      Set 套餐所能绑定的站点个数。
      void toMap​(HashMap<String,​String> map, String prefix)
      Internal implementation, normal users should not use it.
    • Constructor Detail

      • PlanInfo

        public PlanInfo()
      • PlanInfo

        public PlanInfo​(PlanInfo source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getCurrency

        public String getCurrency()
        Get 结算货币类型,取值有:
      • CNY :人民币结算;
      • USD :美元结算。
Returns:
Currency 结算货币类型,取值有:
  • CNY :人民币结算;
  • USD :美元结算。
  • Parameters:
    Currency - 结算货币类型,取值有:
  • CNY :人民币结算;
  • USD :美元结算。