Package org.killbill.billing.jaxrs.json
Class AccountJson
- java.lang.Object
-
- org.killbill.billing.jaxrs.json.JsonBase
-
- org.killbill.billing.jaxrs.json.AccountJson
-
public class AccountJson extends JsonBase
-
-
Constructor Summary
Constructors Constructor Description AccountJson(UUID accountId, String name, Integer firstNameLength, String externalKey, String email, Integer billCycleDayLocal, Currency currency, UUID parentAccountId, Boolean isPaymentDelegatedToParent, UUID paymentMethodId, org.joda.time.DateTime referenceTime, String timeZone, String address1, String address2, String postalCode, String company, String city, String state, String country, String locale, String phone, String notes, Boolean isMigrated, BigDecimal accountBalance, BigDecimal accountCBA, List<AuditLogJson> auditLogs)AccountJson(Account account, BigDecimal accountBalance, BigDecimal accountCBA, AccountAuditLogs accountAuditLogs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)BigDecimalgetAccountBalance()BigDecimalgetAccountCBA()UUIDgetAccountId()StringgetAddress1()StringgetAddress2()IntegergetBillCycleDayLocal()StringgetCity()StringgetCompany()StringgetCountry()CurrencygetCurrency()StringgetEmail()StringgetExternalKey()IntegergetFirstNameLength()StringgetLocale()StringgetName()StringgetNotes()UUIDgetParentAccountId()UUIDgetPaymentMethodId()StringgetPhone()StringgetPostalCode()org.joda.time.DateTimegetReferenceTime()StringgetState()StringgetTimeZone()inthashCode()BooleanisMigrated()BooleanisPaymentDelegatedToParent()AccounttoAccount(UUID accountId)StringtoString()-
Methods inherited from class org.killbill.billing.jaxrs.json.JsonBase
getAuditLogs, propertiesToList, propertiesToMap, toAuditLogJson, toPluginPropertyJson, toString
-
-
-
-
Constructor Detail
-
AccountJson
public AccountJson(Account account, BigDecimal accountBalance, BigDecimal accountCBA, @Nullable AccountAuditLogs accountAuditLogs)
-
AccountJson
public AccountJson(UUID accountId, String name, Integer firstNameLength, String externalKey, String email, Integer billCycleDayLocal, Currency currency, UUID parentAccountId, Boolean isPaymentDelegatedToParent, UUID paymentMethodId, org.joda.time.DateTime referenceTime, String timeZone, String address1, String address2, String postalCode, String company, String city, String state, String country, String locale, String phone, String notes, Boolean isMigrated, BigDecimal accountBalance, BigDecimal accountCBA, @Nullable List<AuditLogJson> auditLogs)
-
-
Method Detail
-
getAccountBalance
public BigDecimal getAccountBalance()
-
getAccountId
public UUID getAccountId()
-
getExternalKey
public String getExternalKey()
-
getAccountCBA
public BigDecimal getAccountCBA()
-
getName
public String getName()
-
getFirstNameLength
public Integer getFirstNameLength()
-
getEmail
public String getEmail()
-
getBillCycleDayLocal
public Integer getBillCycleDayLocal()
-
getCurrency
public Currency getCurrency()
-
getParentAccountId
public UUID getParentAccountId()
-
isPaymentDelegatedToParent
public Boolean isPaymentDelegatedToParent()
-
getPaymentMethodId
public UUID getPaymentMethodId()
-
getReferenceTime
public org.joda.time.DateTime getReferenceTime()
-
getTimeZone
public String getTimeZone()
-
getAddress1
public String getAddress1()
-
getAddress2
public String getAddress2()
-
getPostalCode
public String getPostalCode()
-
getCompany
public String getCompany()
-
getCity
public String getCity()
-
getState
public String getState()
-
getCountry
public String getCountry()
-
getLocale
public String getLocale()
-
getPhone
public String getPhone()
-
getNotes
public String getNotes()
-
isMigrated
public Boolean isMigrated()
-
-