public class DefaultAccount extends EntityBase implements Account
| Modifier and Type | Field and Description |
|---|---|
static Currency |
DEFAULT_CURRENCY_VALUE |
static Integer |
DEFAULT_INTEGER_VALUE |
static Boolean |
DEFAULT_MIGRATED_VALUE |
static Boolean |
DEFAULT_NOTIFIED_FOR_INVOICES_VALUE |
static String |
DEFAULT_STRING_VALUE |
static org.joda.time.DateTimeZone |
DEFAULT_TIMEZONE_VALUE |
createdDate, id, updatedDate| Constructor and Description |
|---|
DefaultAccount(AccountModelDao accountModelDao) |
DefaultAccount(UUID id,
AccountData data)
This call is used to update an existing account
|
DefaultAccount(UUID id,
org.joda.time.DateTime createdDate,
org.joda.time.DateTime updatedDate,
String externalKey,
String email,
String name,
Integer firstNameLength,
Currency currency,
Integer billCycleDayLocal,
UUID paymentMethodId,
org.joda.time.DateTimeZone timeZone,
String locale,
String address1,
String address2,
String companyName,
String city,
String stateOrProvince,
String country,
String postalCode,
String phone,
Boolean isMigrated,
Boolean isNotifiedForInvoices) |
DefaultAccount(UUID id,
String externalKey,
String email,
String name,
Integer firstNameLength,
Currency currency,
Integer billCycleDayLocal,
UUID paymentMethodId,
org.joda.time.DateTimeZone timeZone,
String locale,
String address1,
String address2,
String companyName,
String city,
String stateOrProvince,
String country,
String postalCode,
String phone,
Boolean isMigrated,
Boolean isNotifiedForInvoices) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAddress1() |
String |
getAddress2() |
Integer |
getBillCycleDayLocal() |
String |
getCity() |
String |
getCompanyName() |
String |
getCountry() |
Currency |
getCurrency() |
String |
getEmail() |
String |
getExternalKey() |
Integer |
getFirstNameLength() |
String |
getLocale() |
String |
getName() |
UUID |
getPaymentMethodId() |
String |
getPhone() |
String |
getPostalCode() |
String |
getStateOrProvince() |
org.joda.time.DateTimeZone |
getTimeZone() |
int |
hashCode() |
Boolean |
isMigrated() |
Boolean |
isNotifiedForInvoices() |
Account |
mergeWithDelegate(Account currentAccount) |
MutableAccountData |
toMutableAccountData() |
String |
toString() |
getCreatedDate, getId, getUpdatedDate, safeCompareTo, setCreatedDate, setId, setUpdatedDateclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCreatedDate, getId, getUpdatedDatepublic static final String DEFAULT_STRING_VALUE
public static final Integer DEFAULT_INTEGER_VALUE
public static final Currency DEFAULT_CURRENCY_VALUE
public static final org.joda.time.DateTimeZone DEFAULT_TIMEZONE_VALUE
public static final Boolean DEFAULT_MIGRATED_VALUE
public static final Boolean DEFAULT_NOTIFIED_FOR_INVOICES_VALUE
public DefaultAccount(UUID id, AccountData data)
id - UUID id of the existing account to updatedata - AccountData new data for the existing accountpublic DefaultAccount(UUID id, String externalKey, String email, String name, Integer firstNameLength, Currency currency, Integer billCycleDayLocal, UUID paymentMethodId, org.joda.time.DateTimeZone timeZone, String locale, String address1, String address2, String companyName, String city, String stateOrProvince, String country, String postalCode, String phone, Boolean isMigrated, Boolean isNotifiedForInvoices)
public DefaultAccount(UUID id, @Nullable org.joda.time.DateTime createdDate, @Nullable org.joda.time.DateTime updatedDate, String externalKey, String email, String name, Integer firstNameLength, Currency currency, Integer billCycleDayLocal, UUID paymentMethodId, org.joda.time.DateTimeZone timeZone, String locale, String address1, String address2, String companyName, String city, String stateOrProvince, String country, String postalCode, String phone, Boolean isMigrated, Boolean isNotifiedForInvoices)
public DefaultAccount(AccountModelDao accountModelDao)
public String getExternalKey()
getExternalKey in interface AccountDatapublic String getName()
getName in interface AccountDatapublic String getEmail()
getEmail in interface AccountDatapublic Integer getFirstNameLength()
getFirstNameLength in interface AccountDatapublic Currency getCurrency()
getCurrency in interface AccountDatapublic Integer getBillCycleDayLocal()
getBillCycleDayLocal in interface AccountDatapublic UUID getPaymentMethodId()
getPaymentMethodId in interface AccountDatapublic org.joda.time.DateTimeZone getTimeZone()
getTimeZone in interface AccountDatapublic String getLocale()
getLocale in interface AccountDatapublic String getAddress1()
getAddress1 in interface AccountDatapublic String getAddress2()
getAddress2 in interface AccountDatapublic String getCompanyName()
getCompanyName in interface AccountDatapublic String getCity()
getCity in interface AccountDatapublic String getStateOrProvince()
getStateOrProvince in interface AccountDatapublic String getPostalCode()
getPostalCode in interface AccountDatapublic String getCountry()
getCountry in interface AccountDatapublic Boolean isMigrated()
isMigrated in interface AccountDatapublic Boolean isNotifiedForInvoices()
isNotifiedForInvoices in interface AccountDatapublic String getPhone()
getPhone in interface AccountDatapublic MutableAccountData toMutableAccountData()
toMutableAccountData in interface Accountpublic Account mergeWithDelegate(Account currentAccount)
mergeWithDelegate in interface AccountcurrentAccount - existing account datapublic boolean equals(Object o)
equals in class EntityBasepublic int hashCode()
hashCode in class EntityBaseCopyright © 2010-2015. All Rights Reserved.