Package org.killbill.billing.account.api
Interface MutableAccountData
-
- All Superinterfaces:
AccountData
public interface MutableAccountData extends AccountData
The interfaceMutableAccountDatais used to set theAccountDatafields individually and pass them as the whole to theAccountUserApi.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetAddress1(String address1)Sets the account address (first line)voidsetAddress2(String address2)Sets the account address (second line)voidsetBillCycleDayLocal(int billCycleDayLocal)Sets the account billCycleDayLocalvoidsetCity(String city)Sets the account cityvoidsetCompanyName(String companyName)Sets the account company namevoidsetCountry(String country)Sets the account countryvoidsetCurrency(Currency currency)Sets the account currencyvoidsetEmail(String email)Sets the default account emailvoidsetExternalKey(String externalKey)Sets the account external KeyvoidsetFirstNameLength(int firstNameLength)Sets the length for the first name-- if applicablevoidsetIsMigrated(boolean isMigrated)Sets whether the account has been migrated or notvoidsetIsPaymentDelegatedToParent(boolean isPaymentDelegatedToParent)Sets whether or not the child account payment is delegated to ParentvoidsetLocale(String locale)Sets the account localevoidsetName(String name)Sets the account namevoidsetNotes(String notes)Sets the account notesvoidsetParentAccountId(UUID parentAccountId)Sets the UUID of the default parentAccountIdvoidsetPaymentMethodId(UUID paymentMethodId)Sets the UUID of the default paymentMethodvoidsetPhone(String phone)Sets the account phone numbervoidsetPostalCode(String postalCode)Sets the account postalCodevoidsetReferenceTime(org.joda.time.DateTime referenceTime)Sets the account referenceTimevoidsetStateOrProvince(String stateOrProvince)Sets the account state or provincevoidsetTimeZone(org.joda.time.DateTimeZone timeZone)Sets the account timezone-
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
-
-
-
-
Method Detail
-
setExternalKey
void setExternalKey(String externalKey)
Sets the account external Key- Parameters:
externalKey-
-
setEmail
void setEmail(String email)
Sets the default account email- Parameters:
email-
-
setName
void setName(String name)
Sets the account name- Parameters:
name-
-
setFirstNameLength
void setFirstNameLength(int firstNameLength)
Sets the length for the first name-- if applicable- Parameters:
firstNameLength-
-
setCurrency
void setCurrency(Currency currency)
Sets the account currency- Parameters:
currency-
-
setBillCycleDayLocal
void setBillCycleDayLocal(int billCycleDayLocal)
Sets the account billCycleDayLocal- Parameters:
billCycleDayLocal-
-
setPaymentMethodId
void setPaymentMethodId(UUID paymentMethodId)
Sets the UUID of the default paymentMethod- Parameters:
paymentMethodId-
-
setReferenceTime
void setReferenceTime(org.joda.time.DateTime referenceTime)
Sets the account referenceTime- Parameters:
referenceTime-
-
setTimeZone
void setTimeZone(org.joda.time.DateTimeZone timeZone)
Sets the account timezone- Parameters:
timeZone-
-
setLocale
void setLocale(String locale)
Sets the account locale- Parameters:
locale-
-
setAddress1
void setAddress1(String address1)
Sets the account address (first line)- Parameters:
address1-
-
setAddress2
void setAddress2(String address2)
Sets the account address (second line)- Parameters:
address2-
-
setCompanyName
void setCompanyName(String companyName)
Sets the account company name- Parameters:
companyName-
-
setCity
void setCity(String city)
Sets the account city- Parameters:
city-
-
setStateOrProvince
void setStateOrProvince(String stateOrProvince)
Sets the account state or province- Parameters:
stateOrProvince-
-
setCountry
void setCountry(String country)
Sets the account country- Parameters:
country-
-
setPostalCode
void setPostalCode(String postalCode)
Sets the account postalCode- Parameters:
postalCode-
-
setPhone
void setPhone(String phone)
Sets the account phone number- Parameters:
phone-
-
setNotes
void setNotes(String notes)
Sets the account notes- Parameters:
notes-
-
setIsMigrated
void setIsMigrated(boolean isMigrated)
Sets whether the account has been migrated or not- Parameters:
isMigrated-
-
setParentAccountId
void setParentAccountId(UUID parentAccountId)
Sets the UUID of the default parentAccountId- Parameters:
parentAccountId-
-
setIsPaymentDelegatedToParent
void setIsPaymentDelegatedToParent(boolean isPaymentDelegatedToParent)
Sets whether or not the child account payment is delegated to Parent- Parameters:
isPaymentDelegatedToParent-
-
-