public class Account extends MutableEntity<Account>
| Modifier and Type | Field and Description |
|---|---|
protected String |
changedBy |
protected Date |
created |
protected boolean |
deleted |
protected String |
id |
protected String |
organizationID |
protected PaymentMethod[] |
paymentMethods |
protected Profile |
profile |
protected static ResourcePath |
resourcePath |
protected int |
successfulSubscriptions |
protected Date |
updated |
protected String |
userID |
m_client, PRETTY_PRINT_GSON| Constructor and Description |
|---|
Account() |
Account(BillForwardClient client_) |
| Modifier and Type | Method and Description |
|---|---|
static Account |
create(Account account) |
static Account[] |
getAll() |
static Account |
getByID(String ID) |
String |
getChangedBy() |
Date |
getCreated() |
String |
getID() |
String |
getOrganizationID() |
PaymentMethod[] |
getPaymentMethods() |
Profile |
getProfile() |
protected ResourcePath |
getResourcePath() |
int |
getSuccessfulSubscriptions()
Number of distinct, paid subscriptions associated with this account.
|
Date |
getUpdated() |
String |
getUserID()
User associated with the account.
|
boolean |
isDeleted()
Indicates if an account has been retired.
|
protected static ResourcePath |
ResourcePath() |
void |
setDeleted(boolean deleted) |
void |
setProfile(Profile profile_) |
void |
setUserID(String userID)
Associated a user with account
|
savecreate, create, retiregetAll, getByID, getByID, getByIDPostPath, getClient, setClient, toStringprotected String id
protected String organizationID
protected String userID
protected int successfulSubscriptions
protected boolean deleted
protected Date created
protected Date updated
protected String changedBy
protected Profile profile
protected PaymentMethod[] paymentMethods
protected static ResourcePath resourcePath
public Account(BillForwardClient client_)
public Account()
public String getID()
public String getOrganizationID()
public String getUserID()
public void setUserID(String userID)
User - associated with the account.public int getSuccessfulSubscriptions()
public boolean isDeleted()
public void setDeleted(boolean deleted)
public Date getCreated()
public Date getUpdated()
public String getChangedBy()
public Profile getProfile()
public void setProfile(Profile profile_)
public PaymentMethod[] getPaymentMethods()
public static Account create(Account account) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Account getByID(String ID) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Account[] getAll() throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
protected ResourcePath getResourcePath()
getResourcePath in class BillingEntityprotected static ResourcePath ResourcePath()
Copyright © 2014 BillForward. All rights reserved.