Package org.killbill.billing.jaxrs.json
Class InvoiceJson
- java.lang.Object
-
- org.killbill.billing.jaxrs.json.JsonBase
-
- org.killbill.billing.jaxrs.json.InvoiceJson
-
public class InvoiceJson extends JsonBase
-
-
Constructor Summary
Constructors Constructor Description InvoiceJson(BigDecimal amount, Currency currency, InvoiceStatus status, BigDecimal creditAdj, BigDecimal refundAdj, UUID invoiceId, org.joda.time.LocalDate invoiceDate, org.joda.time.LocalDate targetDate, String invoiceNumber, BigDecimal balance, UUID accountId, String bundleKeys, List<InvoiceItemJson> credits, List<InvoiceItemJson> items, List<String> trackingIds, Boolean isParentInvoice, UUID parentInvoiceId, UUID parentAccountId, List<AuditLogJson> auditLogs)InvoiceJson(Invoice input)InvoiceJson(Invoice input, String bundleKeys, List<InvoiceItemJson> credits, List<AuditLog> auditLogs)InvoiceJson(Invoice input, List<InvoiceItem> childItems, AccountAuditLogs accountAuditLogs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)UUIDgetAccountId()BigDecimalgetAmount()BigDecimalgetBalance()StringgetBundleKeys()BigDecimalgetCreditAdj()List<InvoiceItemJson>getCredits()CurrencygetCurrency()org.joda.time.LocalDategetInvoiceDate()UUIDgetInvoiceId()StringgetInvoiceNumber()BooleangetIsParentInvoice()List<InvoiceItemJson>getItems()UUIDgetParentAccountId()UUIDgetParentInvoiceId()BigDecimalgetRefundAdj()InvoiceStatusgetStatus()org.joda.time.LocalDategetTargetDate()List<String>getTrackingIds()inthashCode()StringtoString()-
Methods inherited from class org.killbill.billing.jaxrs.json.JsonBase
getAuditLogs, propertiesToList, propertiesToMap, toAuditLogJson, toPluginPropertyJson, toString
-
-
-
-
Constructor Detail
-
InvoiceJson
public InvoiceJson(BigDecimal amount, Currency currency, InvoiceStatus status, BigDecimal creditAdj, BigDecimal refundAdj, UUID invoiceId, org.joda.time.LocalDate invoiceDate, org.joda.time.LocalDate targetDate, String invoiceNumber, BigDecimal balance, UUID accountId, String bundleKeys, List<InvoiceItemJson> credits, List<InvoiceItemJson> items, List<String> trackingIds, Boolean isParentInvoice, UUID parentInvoiceId, UUID parentAccountId, @Nullable List<AuditLogJson> auditLogs)
-
InvoiceJson
public InvoiceJson(Invoice input)
-
InvoiceJson
public InvoiceJson(Invoice input, String bundleKeys, List<InvoiceItemJson> credits, List<AuditLog> auditLogs)
-
InvoiceJson
public InvoiceJson(Invoice input, List<InvoiceItem> childItems, @Nullable AccountAuditLogs accountAuditLogs)
-
-
Method Detail
-
getAmount
public BigDecimal getAmount()
-
getCurrency
public Currency getCurrency()
-
getInvoiceId
public UUID getInvoiceId()
-
getInvoiceDate
public org.joda.time.LocalDate getInvoiceDate()
-
getTargetDate
public org.joda.time.LocalDate getTargetDate()
-
getInvoiceNumber
public String getInvoiceNumber()
-
getBalance
public BigDecimal getBalance()
-
getCreditAdj
public BigDecimal getCreditAdj()
-
getRefundAdj
public BigDecimal getRefundAdj()
-
getAccountId
public UUID getAccountId()
-
getItems
public List<InvoiceItemJson> getItems()
-
getBundleKeys
public String getBundleKeys()
-
getCredits
public List<InvoiceItemJson> getCredits()
-
getStatus
public InvoiceStatus getStatus()
-
getIsParentInvoice
public Boolean getIsParentInvoice()
-
getParentInvoiceId
public UUID getParentInvoiceId()
-
getParentAccountId
public UUID getParentAccountId()
-
-