Package com.braintreegateway
Class PayPalAccount
- java.lang.Object
-
- com.braintreegateway.PayPalAccount
-
- All Implemented Interfaces:
PaymentMethod
public class PayPalAccount extends Object implements PaymentMethod
-
-
Field Summary
Fields Modifier and Type Field Description private StringbillingAgreementIdprivate CalendarcreatedAtprivate StringcustomerIdprivate StringeditPaypalVaultIdprivate Stringemailprivate StringfundingSourceDescriptionprivate StringimageUrlprivate booleanisDefaultprivate StringpayerIdprivate CalendarrevokedAtprivate List<Subscription>subscriptionsprivate Stringtokenprivate CalendarupdatedAt
-
Constructor Summary
Constructors Constructor Description PayPalAccount(NodeWrapper node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBillingAgreementId()CalendargetCreatedAt()StringgetCustomerId()StringgetEditPaypalVaultId()StringgetEmail()StringgetFundingSourceDescription()StringgetImageUrl()StringgetPayerId()CalendargetRevokedAt()List<Subscription>getSubscriptions()StringgetToken()CalendargetUpdatedAt()booleanisDefault()
-
-
-
Field Detail
-
billingAgreementId
private String billingAgreementId
-
createdAt
private Calendar createdAt
-
customerId
private String customerId
-
editPaypalVaultId
private String editPaypalVaultId
-
email
private String email
-
fundingSourceDescription
private String fundingSourceDescription
-
imageUrl
private String imageUrl
-
isDefault
private boolean isDefault
-
payerId
private String payerId
-
revokedAt
private Calendar revokedAt
-
subscriptions
private List<Subscription> subscriptions
-
token
private String token
-
updatedAt
private Calendar updatedAt
-
-
Constructor Detail
-
PayPalAccount
public PayPalAccount(NodeWrapper node)
-
-
Method Detail
-
getBillingAgreementId
public String getBillingAgreementId()
-
getCreatedAt
public Calendar getCreatedAt()
-
getCustomerId
public String getCustomerId()
- Specified by:
getCustomerIdin interfacePaymentMethod
-
getEditPaypalVaultId
public String getEditPaypalVaultId()
-
getEmail
public String getEmail()
-
getFundingSourceDescription
public String getFundingSourceDescription()
-
getImageUrl
public String getImageUrl()
- Specified by:
getImageUrlin interfacePaymentMethod
-
getPayerId
public String getPayerId()
-
getToken
public String getToken()
- Specified by:
getTokenin interfacePaymentMethod
-
getRevokedAt
public Calendar getRevokedAt()
-
getSubscriptions
public List<Subscription> getSubscriptions()
- Specified by:
getSubscriptionsin interfacePaymentMethod
-
getUpdatedAt
public Calendar getUpdatedAt()
-
isDefault
public boolean isDefault()
- Specified by:
isDefaultin interfacePaymentMethod
-
-