Package com.braintreegateway
Class VenmoAccount
- java.lang.Object
-
- com.braintreegateway.VenmoAccount
-
- All Implemented Interfaces:
PaymentMethod
public class VenmoAccount extends Object implements PaymentMethod
-
-
Field Summary
Fields Modifier and Type Field Description private CalendarcreatedAtprivate StringcustomerIdprivate StringimageUrlprivate BooleanisDefaultprivate StringsourceDescriptionprivate List<Subscription>subscriptionsprivate Stringtokenprivate CalendarupdatedAtprivate Stringusernameprivate StringvenmoUserId
-
Constructor Summary
Constructors Constructor Description VenmoAccount(NodeWrapper node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CalendargetCreatedAt()StringgetCustomerId()StringgetImageUrl()StringgetSourceDescription()List<Subscription>getSubscriptions()StringgetToken()CalendargetUpdatedAt()StringgetUsername()StringgetVenmoUserId()booleanisDefault()
-
-
-
Field Detail
-
token
private String token
-
username
private String username
-
venmoUserId
private String venmoUserId
-
sourceDescription
private String sourceDescription
-
imageUrl
private String imageUrl
-
createdAt
private Calendar createdAt
-
updatedAt
private Calendar updatedAt
-
subscriptions
private List<Subscription> subscriptions
-
customerId
private String customerId
-
isDefault
private Boolean isDefault
-
-
Constructor Detail
-
VenmoAccount
public VenmoAccount(NodeWrapper node)
-
-
Method Detail
-
getToken
public String getToken()
- Specified by:
getTokenin interfacePaymentMethod
-
getUsername
public String getUsername()
-
getVenmoUserId
public String getVenmoUserId()
-
getSourceDescription
public String getSourceDescription()
-
getImageUrl
public String getImageUrl()
- Specified by:
getImageUrlin interfacePaymentMethod
-
getCreatedAt
public Calendar getCreatedAt()
-
getUpdatedAt
public Calendar getUpdatedAt()
-
getSubscriptions
public List<Subscription> getSubscriptions()
- Specified by:
getSubscriptionsin interfacePaymentMethod
-
getCustomerId
public String getCustomerId()
- Specified by:
getCustomerIdin interfacePaymentMethod
-
isDefault
public boolean isDefault()
- Specified by:
isDefaultin interfacePaymentMethod
-
-