类 AddBundle
java.lang.Object
net.linksfield.cube.partnersdk.domain.BaseRequest
net.linksfield.cube.partnersdk.sdk.modules.service.AddBundle
public class AddBundle extends BaseRequest
-
字段概要
从类继承的字段 net.linksfield.cube.partnersdk.domain.BaseRequest
extendHeaders, httpMethod, nonce, timestamp -
构造器概要
构造器 构造器 说明 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. -
方法概要
修饰符和类型 方法 说明 voidaddBody(Map<String,Object> body)由子类实现 添加post内容体voidaddQueryParams(com.google.common.collect.Multimap<String,String> queryParams)由子类实现 添加查询参数voidaddUrlSignatureParameters(Map<String,Object> mapToSign)StringrequestUrl(EndpointPropertiesProxy endpointPropertiesProxy)由子类返回需要的Url从类继承的方法 net.linksfield.cube.partnersdk.domain.BaseRequest
addExtendHeader, addOptionalQueryParam, setContentType
-
构造器详细资料
-
AddBundle
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 ICCIDbundleId- Bundle IDbundleType- Bundle type:10 - Basic、11 - Add oncycles- 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
-
-
方法详细资料
-
requestUrl
从类复制的说明:BaseRequest由子类返回需要的Url- 指定者:
requestUrl在类中BaseRequest- 返回:
-
addUrlSignatureParameters
- 指定者:
addUrlSignatureParameters在类中BaseRequest
-
addQueryParams
从类复制的说明:BaseRequest由子类实现 添加查询参数- 指定者:
addQueryParams在类中BaseRequest
-
addBody
从类复制的说明:BaseRequest由子类实现 添加post内容体- 指定者:
addBody在类中BaseRequest
-