@Generated(value="OracleSDKGenerator", comments="API Version: 20191001") public final class InvoiceLineSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Product items of the invoice
Note: Objects should always be created or deserialized using the InvoiceLineSummary.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the InvoiceLineSummary.Builder
, which maintain a
set of all explicitly set fields called InvoiceLineSummary.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
InvoiceLineSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
InvoiceLineSummary(String product,
String orderNo,
String partNumber,
Date timeStart,
Date timeEnd,
BigDecimal quantity,
BigDecimal netUnitPrice,
BigDecimal totalPrice,
Currency currency)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static InvoiceLineSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Currency |
getCurrency() |
BigDecimal |
getNetUnitPrice()
Unit price of the ordered product
|
String |
getOrderNo()
Product of the item
|
String |
getPartNumber()
Part number
|
String |
getProduct()
Product of the item
|
BigDecimal |
getQuantity()
Quantity of the ordered product
|
Date |
getTimeEnd()
End date
|
Date |
getTimeStart()
Start date
|
BigDecimal |
getTotalPrice()
Total price of the ordered product (Net unit price x quantity)
|
int |
hashCode() |
InvoiceLineSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"product","orderNo","partNumber","timeStart","timeEnd","quantity","netUnitPrice","totalPrice","currency"}) public InvoiceLineSummary(String product, String orderNo, String partNumber, Date timeStart, Date timeEnd, BigDecimal quantity, BigDecimal netUnitPrice, BigDecimal totalPrice, Currency currency)
public static InvoiceLineSummary.Builder builder()
Create a new builder.
public InvoiceLineSummary.Builder toBuilder()
public String getProduct()
Product of the item
public String getOrderNo()
Product of the item
public String getPartNumber()
Part number
public Date getTimeStart()
Start date
public Date getTimeEnd()
End date
public BigDecimal getQuantity()
Quantity of the ordered product
public BigDecimal getNetUnitPrice()
Unit price of the ordered product
public BigDecimal getTotalPrice()
Total price of the ordered product (Net unit price x quantity)
public Currency getCurrency()
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.