public class PaymentCard extends PayPalModel
| Constructor and Description |
|---|
PaymentCard()
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
Card3dSecureInfo |
get3dSecureInfo()
Deprecated.
Please use
getCard3dSecureInfo() instead.
Getter for 3dSecureInfo |
Address |
getBillingAddress()
The billing address for the card.
|
CountryCode |
getBillingCountry()
The two-letter country code.
|
Card3dSecureInfo |
getCard3dSecureInfo()
Fields required to support 3d secure information when processing credit card payments.
|
java.lang.String |
getCardProductClass()
The product class of the financial instrument issuer.
|
java.lang.String |
getCvv2()
The validation code for the card.
|
java.lang.String |
getExpireMonth()
The two-digit expiry month for the card.
|
java.lang.String |
getExpireYear()
The four-digit expiry year for the card.
|
java.lang.String |
getExternalCustomerId()
The ID of the customer who owns this card account.
|
java.lang.String |
getFirstName()
The first name of the card holder.
|
java.lang.String |
getId()
The ID of a credit card to save for later use.
|
java.lang.String |
getIssueNumber()
The one- to two-digit card issue number.
|
java.lang.String |
getLastName()
The last name of the card holder.
|
java.util.List<DefinitionsLinkdescription> |
getLinks() |
java.lang.String |
getNumber()
The card number.
|
java.lang.String |
getStartMonth()
The two-digit start month for the card.
|
java.lang.String |
getStartYear()
The four-digit start year for the card.
|
java.lang.String |
getStatus()
The state of the funding instrument.
|
java.lang.String |
getType()
The card type.
|
java.lang.String |
getValidUntil()
The date and time until when this instrument can be used fund a payment.
|
int |
hashCode() |
PaymentCard |
set3dSecureInfo(Card3dSecureInfo card3dSecureInfo)
Deprecated.
Please use
setCard3dSecureInfo(Card3dSecureInfo) instead.
Setter for 3dSecureInfo |
PaymentCard |
setBillingAddress(Address billingAddress)
The billing address for the card.
|
PaymentCard |
setBillingCountry(CountryCode billingCountry)
The two-letter country code.
|
PaymentCard |
setCard3dSecureInfo(Card3dSecureInfo card3dSecureInfo)
Fields required to support 3d secure information when processing credit card payments.
|
PaymentCard |
setCardProductClass(java.lang.String cardProductClass)
The product class of the financial instrument issuer.
|
PaymentCard |
setCvv2(java.lang.String cvv2)
The validation code for the card.
|
PaymentCard |
setExpireMonth(java.lang.String expireMonth)
The two-digit expiry month for the card.
|
PaymentCard |
setExpireYear(java.lang.String expireYear)
The four-digit expiry year for the card.
|
PaymentCard |
setExternalCustomerId(java.lang.String externalCustomerId)
The ID of the customer who owns this card account.
|
PaymentCard |
setFirstName(java.lang.String firstName)
The first name of the card holder.
|
PaymentCard |
setId(java.lang.String id)
The ID of a credit card to save for later use.
|
PaymentCard |
setIssueNumber(java.lang.String issueNumber)
The one- to two-digit card issue number.
|
PaymentCard |
setLastName(java.lang.String lastName)
The last name of the card holder.
|
PaymentCard |
setLinks(java.util.List<DefinitionsLinkdescription> links) |
PaymentCard |
setNumber(java.lang.String number)
The card number.
|
PaymentCard |
setStartMonth(java.lang.String startMonth)
The two-digit start month for the card.
|
PaymentCard |
setStartYear(java.lang.String startYear)
The four-digit start year for the card.
|
PaymentCard |
setStatus(java.lang.String status)
The state of the funding instrument.
|
PaymentCard |
setType(java.lang.String type)
The card type.
|
PaymentCard |
setValidUntil(java.lang.String validUntil)
The date and time until when this instrument can be used fund a payment.
|
toJSON, toString@Deprecated public PaymentCard set3dSecureInfo(Card3dSecureInfo card3dSecureInfo)
setCard3dSecureInfo(Card3dSecureInfo) instead.
Setter for 3dSecureInfopublic Card3dSecureInfo get3dSecureInfo()
getCard3dSecureInfo() instead.
Getter for 3dSecureInfopublic java.lang.String getId()
public java.lang.String getNumber()
public java.lang.String getType()
public java.lang.String getExpireMonth()
public java.lang.String getExpireYear()
public java.lang.String getStartMonth()
public java.lang.String getStartYear()
public java.lang.String getCvv2()
public java.lang.String getFirstName()
public java.lang.String getLastName()
public CountryCode getBillingCountry()
public Address getBillingAddress()
public java.lang.String getExternalCustomerId()
public java.lang.String getStatus()
public java.lang.String getCardProductClass()
public java.lang.String getValidUntil()
public java.lang.String getIssueNumber()
public Card3dSecureInfo getCard3dSecureInfo()
public java.util.List<DefinitionsLinkdescription> getLinks()
public PaymentCard setId(java.lang.String id)
public PaymentCard setNumber(java.lang.String number)
public PaymentCard setType(java.lang.String type)
public PaymentCard setExpireMonth(java.lang.String expireMonth)
public PaymentCard setExpireYear(java.lang.String expireYear)
public PaymentCard setStartMonth(java.lang.String startMonth)
public PaymentCard setStartYear(java.lang.String startYear)
public PaymentCard setCvv2(java.lang.String cvv2)
public PaymentCard setFirstName(java.lang.String firstName)
public PaymentCard setLastName(java.lang.String lastName)
public PaymentCard setBillingCountry(CountryCode billingCountry)
public PaymentCard setBillingAddress(Address billingAddress)
public PaymentCard setExternalCustomerId(java.lang.String externalCustomerId)
public PaymentCard setStatus(java.lang.String status)
public PaymentCard setCardProductClass(java.lang.String cardProductClass)
public PaymentCard setValidUntil(java.lang.String validUntil)
public PaymentCard setIssueNumber(java.lang.String issueNumber)
public PaymentCard setCard3dSecureInfo(Card3dSecureInfo card3dSecureInfo)
public PaymentCard setLinks(java.util.List<DefinitionsLinkdescription> links)
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