java.lang.Object
net.linksfield.cube.partnersdk.domain.BaseRequest
net.linksfield.cube.partnersdk.sdk.modules.service.AddBundle

public class AddBundle
extends BaseRequest
  • 构造器详细资料

    • AddBundle

      public AddBundle​(int nonce, String simId, String bundleId, int bundleType, int cycles)

      Basic bundle rules

      • Add bundle will not change the current SIM status.
      • One SIM can have multiple basic bundles.
      • Only one basic bundle can be used at a time.
      • If multiple basic bundles are added to the SIM, the earlier bundle will be used by default (FIFO) ( when being activated).
      • When SIM is suspended, the service will be temporarily stopped and the service validity will still decrease with time.
      • When SIM status is Terminated, this API will not work.

      Add-on Bundle - Pending If the data of the SIM is insufficient in current cycle, add-on bundle will increase the data volume before the cycle ends. It dose not replace the basic bundle in use.

      Add on bundle rules

    • SIM status must be Active.
    • The basic bundle must support add on bundle.
    • The add on bundle start immediately after being added.
    • When SIM is suspended, the add-on bundle will be removed.
    • When SIM is resumed, the add-on cannot be restored.
    • 参数:
      nonce -
      simId - SIM ICCID
      bundleId - Bundle ID
      bundleType - Bundle type:10 - Basic、11 - Add on
      cycles - Number of add cycles. This value does not take effect when the type is 11- add on. If the type is 10 - basic, the value is mandatory. If it is empty, the value is 1 by default
  • 方法详细资料