Class Phone
- java.lang.Object
-
- com.broadleafcommerce.paypal.micro.gateway.domain.orders.Phone
-
- All Implemented Interfaces:
Serializable
public class Phone extends Object implements Serializable
- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Phone()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCountryCode()
The country calling code (CC), in its canonical international E.164 numbering plan format.String
getExtensionNumber()
The extension number.String
getNationalNumber()
The national number, in its canonical international E.164 numbering plan format.void
setCountryCode(String countryCode)
The country calling code (CC), in its canonical international E.164 numbering plan format.void
setExtensionNumber(String extensionNumber)
The extension number.void
setNationalNumber(String nationalNumber)
The national number, in its canonical international E.164 numbering plan format.
-
-
-
Method Detail
-
setCountryCode
public void setCountryCode(String countryCode)
The country calling code (CC), in its canonical international E.164 numbering plan format. The combined length of the CC and the national number must not be greater than 15 digits. The national number consists of a national destination code (NDC) and subscriber number (SN).
-
setNationalNumber
public void setNationalNumber(String nationalNumber)
The national number, in its canonical international E.164 numbering plan format. The combined length of the country calling code (CC) and the national number must not be greater than 15 digits. The national number consists of a national destination code (NDC) and subscriber number (SN).
-
setExtensionNumber
public void setExtensionNumber(String extensionNumber)
The extension number.
-
getCountryCode
public String getCountryCode()
The country calling code (CC), in its canonical international E.164 numbering plan format. The combined length of the CC and the national number must not be greater than 15 digits. The national number consists of a national destination code (NDC) and subscriber number (SN).
-
getNationalNumber
public String getNationalNumber()
The national number, in its canonical international E.164 numbering plan format. The combined length of the country calling code (CC) and the national number must not be greater than 15 digits. The national number consists of a national destination code (NDC) and subscriber number (SN).
-
getExtensionNumber
public String getExtensionNumber()
The extension number.
-
-