Package com.adyen.model.tapi
Class SensitiveMobileData
- java.lang.Object
-
- com.adyen.model.tapi.SensitiveMobileData
-
public class SensitiveMobileData extends Object
SensitiveMobileData
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_I_M_E_Istatic StringJSON_PROPERTY_I_M_S_Istatic StringJSON_PROPERTY_M_S_I_S_D_N
-
Constructor Summary
Constructors Constructor Description SensitiveMobileData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this SensitiveMobileData object is equal to o.static SensitiveMobileDatafromJson(String jsonString)Create an instance of SensitiveMobileData given an JSON stringMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.IntegergetIMEI()International Mobile Equipment Identity.IntegergetIMSI()International Mobile Subscriber Identity.IntegergetMSISDN()Mobile Subscriber Integrated Service Digital Network (i.e. mobile phone number of the SIM card).inthashCode()SensitiveMobileDataIMEI(Integer IMEI)International Mobile Equipment Identity.SensitiveMobileDataIMSI(Integer IMSI)International Mobile Subscriber Identity.SensitiveMobileDataincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.SensitiveMobileDataMSISDN(Integer MSISDN)Mobile Subscriber Integrated Service Digital Network (i.e. mobile phone number of the SIM card).voidsetIMEI(Integer IMEI)International Mobile Equipment Identity.voidsetIMSI(Integer IMSI)International Mobile Subscriber Identity.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetMSISDN(Integer MSISDN)Mobile Subscriber Integrated Service Digital Network (i.e. mobile phone number of the SIM card).StringtoJson()Convert an instance of SensitiveMobileData to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_M_S_I_S_D_N
public static final String JSON_PROPERTY_M_S_I_S_D_N
- See Also:
- Constant Field Values
-
JSON_PROPERTY_I_M_S_I
public static final String JSON_PROPERTY_I_M_S_I
- See Also:
- Constant Field Values
-
JSON_PROPERTY_I_M_E_I
public static final String JSON_PROPERTY_I_M_E_I
- See Also:
- Constant Field Values
-
-
Method Detail
-
MSISDN
public SensitiveMobileData MSISDN(Integer MSISDN)
Mobile Subscriber Integrated Service Digital Network (i.e. mobile phone number of the SIM card). Country, National Destination Code, and Subscriber Number.- Parameters:
MSISDN- Mobile Subscriber Integrated Service Digital Network (i.e. mobile phone number of the SIM card). Country, National Destination Code, and Subscriber Number.- Returns:
- the current
SensitiveMobileDatainstance, allowing for method chaining
-
getMSISDN
public Integer getMSISDN()
Mobile Subscriber Integrated Service Digital Network (i.e. mobile phone number of the SIM card). Country, National Destination Code, and Subscriber Number.- Returns:
- MSISDN Mobile Subscriber Integrated Service Digital Network (i.e. mobile phone number of the SIM card). Country, National Destination Code, and Subscriber Number.
-
setMSISDN
public void setMSISDN(Integer MSISDN)
Mobile Subscriber Integrated Service Digital Network (i.e. mobile phone number of the SIM card). Country, National Destination Code, and Subscriber Number.- Parameters:
MSISDN- Mobile Subscriber Integrated Service Digital Network (i.e. mobile phone number of the SIM card). Country, National Destination Code, and Subscriber Number.
-
IMSI
public SensitiveMobileData IMSI(Integer IMSI)
International Mobile Subscriber Identity. Unique number associated with the mobile phone user, containing the Mobile Country Code (MCC), the Mobile Network Code (MNC), and the Mobile Identification Number (MSIN)- Parameters:
IMSI- International Mobile Subscriber Identity. Unique number associated with the mobile phone user, containing the Mobile Country Code (MCC), the Mobile Network Code (MNC), and the Mobile Identification Number (MSIN)- Returns:
- the current
SensitiveMobileDatainstance, allowing for method chaining
-
getIMSI
public Integer getIMSI()
International Mobile Subscriber Identity. Unique number associated with the mobile phone user, containing the Mobile Country Code (MCC), the Mobile Network Code (MNC), and the Mobile Identification Number (MSIN)- Returns:
- IMSI International Mobile Subscriber Identity. Unique number associated with the mobile phone user, containing the Mobile Country Code (MCC), the Mobile Network Code (MNC), and the Mobile Identification Number (MSIN)
-
setIMSI
public void setIMSI(Integer IMSI)
International Mobile Subscriber Identity. Unique number associated with the mobile phone user, containing the Mobile Country Code (MCC), the Mobile Network Code (MNC), and the Mobile Identification Number (MSIN)- Parameters:
IMSI- International Mobile Subscriber Identity. Unique number associated with the mobile phone user, containing the Mobile Country Code (MCC), the Mobile Network Code (MNC), and the Mobile Identification Number (MSIN)
-
IMEI
public SensitiveMobileData IMEI(Integer IMEI)
International Mobile Equipment Identity. Unique number associated with the mobile phone device.- Parameters:
IMEI- International Mobile Equipment Identity. Unique number associated with the mobile phone device.- Returns:
- the current
SensitiveMobileDatainstance, allowing for method chaining
-
getIMEI
public Integer getIMEI()
International Mobile Equipment Identity. Unique number associated with the mobile phone device.- Returns:
- IMEI International Mobile Equipment Identity. Unique number associated with the mobile phone device.
-
setIMEI
public void setIMEI(Integer IMEI)
International Mobile Equipment Identity. Unique number associated with the mobile phone device.- Parameters:
IMEI- International Mobile Equipment Identity. Unique number associated with the mobile phone device.
-
includeNullValues
public SensitiveMobileData includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this SensitiveMobileData object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
fromJson
public static SensitiveMobileData fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of SensitiveMobileData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SensitiveMobileData
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to SensitiveMobileData
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of SensitiveMobileData to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-