Package org.killbill.billing.account.api
Interface Account
-
- All Superinterfaces:
AccountData,Blockable,Entity,ImmutableAccountData
public interface Account extends AccountData, ImmutableAccountData, Blockable, Entity
The interfaceAccountrepresents an account within Killbill. AnAccounthas a unique UUID and also an externalKey that it set when it is created. The billCycleDay can be specified when creating the account, or it will be set automatically by the system.- See Also:
AccountData
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccountmergeWithDelegate(Account delegate)The current account object will have its fields updated with those of the deleted account.MutableAccountDatatoMutableAccountData()-
Methods inherited from interface org.killbill.billing.account.api.AccountData
getAddress1, getAddress2, getBillCycleDayLocal, getCity, getCompanyName, getCountry, getCurrency, getEmail, getExternalKey, getFirstNameLength, getLocale, getName, getNotes, getParentAccountId, getPaymentMethodId, getPhone, getPostalCode, getReferenceTime, getStateOrProvince, getTimeZone, isMigrated, isPaymentDelegatedToParent
-
Methods inherited from interface org.killbill.billing.util.entity.Entity
getCreatedDate, getId, getUpdatedDate
-
Methods inherited from interface org.killbill.billing.account.api.ImmutableAccountData
getCurrency, getExternalKey, getFixedOffsetTimeZone, getId, getReferenceTime, getTimeZone
-
-
-
-
Method Detail
-
toMutableAccountData
MutableAccountData toMutableAccountData()
- Returns:
- the mutable account data
-
mergeWithDelegate
Account mergeWithDelegate(Account delegate)
The current account object will have its fields updated with those of the deleted account. Some fields cannot be updated when they already have a value:- Parameters:
delegate- the input account used to update the fields- Returns:
- the new account
-
-