public class XPFOrderShipment extends XPFEntity
Constructor and Description |
---|
XPFOrderShipment(@NonNull String shipmentNumber,
@NonNull XPFShipmentTypeEnum shipmentType,
@NonNull XPFShipmentStatusEnum status,
XPFShippingInfo shippingInfo,
@NonNull List<XPFOrderItem> lineItems,
BigDecimal itemSubtotal,
BigDecimal subtotalDiscount,
BigDecimal itemTax,
@NonNull XPFTaxCalculationMethodEnum taxCalculationMethod,
String taxDocumentId,
List<XPFTotalTaxLine> totalTaxLines) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
BigDecimal |
getItemSubtotal()
The item subtotal.
|
BigDecimal |
getItemTax()
The item tax.
|
@NonNull List<XPFOrderItem> |
getLineItems()
The order items.
|
@NonNull String |
getShipmentNumber()
The shipment number.
|
@NonNull XPFShipmentTypeEnum |
getShipmentType()
The shipment type.
|
XPFShippingInfo |
getShippingInfo()
The shipping info.
|
@NonNull XPFShipmentStatusEnum |
getStatus()
The shipment status.
|
BigDecimal |
getSubtotalDiscount()
The subtotal discount.
|
@NonNull XPFTaxCalculationMethodEnum |
getTaxCalculationMethod()
The tax calculation method.
|
String |
getTaxDocumentId()
The tax document id.
|
List<XPFTotalTaxLine> |
getTotalTaxLines()
The total tax lines.
|
int |
hashCode() |
String |
toString() |
getCustomData
public XPFOrderShipment(@NonNull @NonNull String shipmentNumber, @NonNull @NonNull XPFShipmentTypeEnum shipmentType, @NonNull @NonNull XPFShipmentStatusEnum status, XPFShippingInfo shippingInfo, @NonNull @NonNull List<XPFOrderItem> lineItems, BigDecimal itemSubtotal, BigDecimal subtotalDiscount, BigDecimal itemTax, @NonNull @NonNull XPFTaxCalculationMethodEnum taxCalculationMethod, String taxDocumentId, List<XPFTotalTaxLine> totalTaxLines)
@NonNull public @NonNull String getShipmentNumber()
@NonNull public @NonNull XPFShipmentTypeEnum getShipmentType()
@NonNull public @NonNull XPFShipmentStatusEnum getStatus()
public XPFShippingInfo getShippingInfo()
@NonNull public @NonNull List<XPFOrderItem> getLineItems()
public BigDecimal getItemSubtotal()
public BigDecimal getSubtotalDiscount()
public BigDecimal getItemTax()
@NonNull public @NonNull XPFTaxCalculationMethodEnum getTaxCalculationMethod()
public String getTaxDocumentId()
public List<XPFTotalTaxLine> getTotalTaxLines()
Copyright © 2024. All rights reserved.