Since: API level 13
public class

EnterpriseBillingProfile

extends Object
implements Parcelable
java.lang.Object
   ↳ com.samsung.android.knox.net.billing.EnterpriseBillingProfile

Deprecated in API level 33
NOTE: This Class is not available since Android 12.

Class Overview

This class is helper data structure to store Enterprise Billing Profile details.

A profile holds the configuration information that is needed to support bill generation for Enterprise usage.
An Enterprise can create one or more profiles to support varied business needs. But at a given time a container or application can be actively bound with only one billing profile.

NOTE:
At present, this class supports Dual APN based split billing solution configuration.

Typically an Enterprise subscribes to a Mobile Network Operator (MNO) to get corporate plans for its employees.
Upon subscription, the MNO provides the Enterprise with a APN name to be used. The Enterprise Admin will configure this APN along with the MNO's details (MCC and MNC) into com.sec.enterprise.knox.billing.EnterpriseApn structure.
In some cases, an Enterprise may tie up with more than one Operator or allow their employees to have different SIM card while on roaming/travel. In such cases, the profile may contain a list of Enterprise APNs configured.

Since
API level 13
KNOX 2.2

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Constructors
EnterpriseBillingProfile(String profileName)
Deprecated in API level 33
NOTE: This API is not available since Android 12.
Public Methods
void addApnsToProfile(List<EnterpriseApn> apns)
Deprecated in API level 33
NOTE: This API is not available since Android 12.
List<EnterpriseApn> getApnsFromProfile()
Deprecated in API level 33
NOTE: This API is not available since Android 12.
String getProfileName()
Deprecated in API level 33
NOTE: This API is not available since Android 12.
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Public Constructors

public EnterpriseBillingProfile (String profileName)

Since: API level 13

Deprecated in API level 33
NOTE: This API is not available since Android 12.

Instantiates a new enterprise billing profile, with specified profileName.

Parameters
profileName the profile name (profileName should be non-empty).
Throws
IllegalArgumentException if profileName is null or empty.
Since
API level 13
KNOX 2.2

Public Methods

public void addApnsToProfile (List<EnterpriseApn> apns)

Since: API level 13

Deprecated in API level 33
NOTE: This API is not available since Android 12.

Adds a list of APNs to the current profile.

Parameters
apns list of enterprise APNs
Usage

This API helps to congregate all the Enterprise Billing related data like apns, billing type etc

                EnterpriseBillingProfile profile = new EnterpriseBillingProfile(profileName);
                profile.addApnsToProfile(apns);// adds a list of apn
       

Since
API level 13
KNOX 2.2
Multiuser Environment
User Scope

public List<EnterpriseApn> getApnsFromProfile ()

Since: API level 13

Deprecated in API level 33
NOTE: This API is not available since Android 12.

Gets the APNs added to the current profile.

Returns
  • the apns or empty list
Since
API level 13
KNOX 2.2

public String getProfileName ()

Since: API level 13

Deprecated in API level 33
NOTE: This API is not available since Android 12.

Gets the profile name.

Returns
  • the profile name
Since
API level 13
KNOX 2.2
Multiuser Environment
User Scope