public class CarrierAccount extends PayPalModel
| Constructor and Description |
|---|
CarrierAccount()
Default Constructor
|
CarrierAccount(java.lang.String externalCustomerId,
CountryCode countryCode)
Parameterized Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
CountryCode |
getCountryCode()
The ISO 3166-1 alpha-2 country code where the phone number is registered.
|
java.lang.String |
getExternalCustomerId()
The ID of the customer, as created by the merchant.
|
java.lang.String |
getId()
The ID of the carrier account of the payer.
|
java.lang.String |
getPhoneNumber()
The phone number of the payer, in E.164 format.
|
java.lang.String |
getPhoneSource()
The method used to obtain the phone number.
|
int |
hashCode() |
CarrierAccount |
setCountryCode(CountryCode countryCode)
The ISO 3166-1 alpha-2 country code where the phone number is registered.
|
CarrierAccount |
setExternalCustomerId(java.lang.String externalCustomerId)
The ID of the customer, as created by the merchant.
|
CarrierAccount |
setId(java.lang.String id)
The ID of the carrier account of the payer.
|
CarrierAccount |
setPhoneNumber(java.lang.String phoneNumber)
The phone number of the payer, in E.164 format.
|
CarrierAccount |
setPhoneSource(java.lang.String phoneSource)
The method used to obtain the phone number.
|
toJSON, toStringpublic CarrierAccount()
public CarrierAccount(java.lang.String externalCustomerId,
CountryCode countryCode)
public java.lang.String getId()
public java.lang.String getPhoneNumber()
public java.lang.String getExternalCustomerId()
public java.lang.String getPhoneSource()
public CountryCode getCountryCode()
public CarrierAccount setId(java.lang.String id)
public CarrierAccount setPhoneNumber(java.lang.String phoneNumber)
public CarrierAccount setExternalCustomerId(java.lang.String externalCustomerId)
public CarrierAccount setPhoneSource(java.lang.String phoneSource)
public CarrierAccount setCountryCode(CountryCode countryCode)
public boolean equals(java.lang.Object o)
equals in class PayPalModelprotected boolean canEqual(java.lang.Object other)
canEqual in class PayPalModelpublic int hashCode()
hashCode in class PayPalModel