public class ItemDetails extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ItemDetails.Builder
Class to build instances of
ItemDetails. |
| Constructor and Description |
|---|
ItemDetails()
Default constructor.
|
ItemDetails(String itemCode,
String itemName,
String itemDescription,
String itemOptions,
String itemQuantity,
Money itemUnitPrice,
Money itemAmount,
Money discountAmount,
Money adjustmentAmount,
Money giftWrapAmount,
String taxPercentage,
List<TaxAmount> taxAmounts,
Money basicShippingAmount,
Money extraShippingAmount,
Money handlingAmount,
Money insuranceAmount,
Money totalItemAmount,
String invoiceNumber,
List<CheckoutOption> checkoutOptions)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Money |
getAdjustmentAmount()
Getter for AdjustmentAmount.
|
Money |
getBasicShippingAmount()
Getter for BasicShippingAmount.
|
List<CheckoutOption> |
getCheckoutOptions()
Getter for CheckoutOptions.
|
Money |
getDiscountAmount()
Getter for DiscountAmount.
|
Money |
getExtraShippingAmount()
Getter for ExtraShippingAmount.
|
Money |
getGiftWrapAmount()
Getter for GiftWrapAmount.
|
Money |
getHandlingAmount()
Getter for HandlingAmount.
|
Money |
getInsuranceAmount()
Getter for InsuranceAmount.
|
String |
getInvoiceNumber()
Getter for InvoiceNumber.
|
Money |
getItemAmount()
Getter for ItemAmount.
|
String |
getItemCode()
Getter for ItemCode.
|
String |
getItemDescription()
Getter for ItemDescription.
|
String |
getItemName()
Getter for ItemName.
|
String |
getItemOptions()
Getter for ItemOptions.
|
String |
getItemQuantity()
Getter for ItemQuantity.
|
Money |
getItemUnitPrice()
Getter for ItemUnitPrice.
|
List<TaxAmount> |
getTaxAmounts()
Getter for TaxAmounts.
|
String |
getTaxPercentage()
Getter for TaxPercentage.
|
Money |
getTotalItemAmount()
Getter for TotalItemAmount.
|
void |
setAdjustmentAmount(Money adjustmentAmount)
Setter for AdjustmentAmount.
|
void |
setBasicShippingAmount(Money basicShippingAmount)
Setter for BasicShippingAmount.
|
void |
setCheckoutOptions(List<CheckoutOption> checkoutOptions)
Setter for CheckoutOptions.
|
void |
setDiscountAmount(Money discountAmount)
Setter for DiscountAmount.
|
void |
setExtraShippingAmount(Money extraShippingAmount)
Setter for ExtraShippingAmount.
|
void |
setGiftWrapAmount(Money giftWrapAmount)
Setter for GiftWrapAmount.
|
void |
setHandlingAmount(Money handlingAmount)
Setter for HandlingAmount.
|
void |
setInsuranceAmount(Money insuranceAmount)
Setter for InsuranceAmount.
|
void |
setInvoiceNumber(String invoiceNumber)
Setter for InvoiceNumber.
|
void |
setItemAmount(Money itemAmount)
Setter for ItemAmount.
|
void |
setItemCode(String itemCode)
Setter for ItemCode.
|
void |
setItemDescription(String itemDescription)
Setter for ItemDescription.
|
void |
setItemName(String itemName)
Setter for ItemName.
|
void |
setItemOptions(String itemOptions)
Setter for ItemOptions.
|
void |
setItemQuantity(String itemQuantity)
Setter for ItemQuantity.
|
void |
setItemUnitPrice(Money itemUnitPrice)
Setter for ItemUnitPrice.
|
void |
setTaxAmounts(List<TaxAmount> taxAmounts)
Setter for TaxAmounts.
|
void |
setTaxPercentage(String taxPercentage)
Setter for TaxPercentage.
|
void |
setTotalItemAmount(Money totalItemAmount)
Setter for TotalItemAmount.
|
ItemDetails.Builder |
toBuilder()
Builds a new
ItemDetails.Builder object. |
String |
toString()
Converts this ItemDetails into string format.
|
public ItemDetails()
public ItemDetails(String itemCode, String itemName, String itemDescription, String itemOptions, String itemQuantity, Money itemUnitPrice, Money itemAmount, Money discountAmount, Money adjustmentAmount, Money giftWrapAmount, String taxPercentage, List<TaxAmount> taxAmounts, Money basicShippingAmount, Money extraShippingAmount, Money handlingAmount, Money insuranceAmount, Money totalItemAmount, String invoiceNumber, List<CheckoutOption> checkoutOptions)
itemCode - String value for itemCode.itemName - String value for itemName.itemDescription - String value for itemDescription.itemOptions - String value for itemOptions.itemQuantity - String value for itemQuantity.itemUnitPrice - Money value for itemUnitPrice.itemAmount - Money value for itemAmount.discountAmount - Money value for discountAmount.adjustmentAmount - Money value for adjustmentAmount.giftWrapAmount - Money value for giftWrapAmount.taxPercentage - String value for taxPercentage.taxAmounts - List of TaxAmount value for taxAmounts.basicShippingAmount - Money value for basicShippingAmount.extraShippingAmount - Money value for extraShippingAmount.handlingAmount - Money value for handlingAmount.insuranceAmount - Money value for insuranceAmount.totalItemAmount - Money value for totalItemAmount.invoiceNumber - String value for invoiceNumber.checkoutOptions - List of CheckoutOption value for checkoutOptions.public String getItemCode()
public void setItemCode(String itemCode)
itemCode - Value for Stringpublic String getItemName()
public void setItemName(String itemName)
itemName - Value for Stringpublic String getItemDescription()
public void setItemDescription(String itemDescription)
itemDescription - Value for Stringpublic String getItemOptions()
public void setItemOptions(String itemOptions)
itemOptions - Value for Stringpublic String getItemQuantity()
public void setItemQuantity(String itemQuantity)
itemQuantity - Value for Stringpublic Money getItemUnitPrice()
public void setItemUnitPrice(Money itemUnitPrice)
itemUnitPrice - Value for Moneypublic Money getItemAmount()
public void setItemAmount(Money itemAmount)
itemAmount - Value for Moneypublic Money getDiscountAmount()
public void setDiscountAmount(Money discountAmount)
discountAmount - Value for Moneypublic Money getAdjustmentAmount()
public void setAdjustmentAmount(Money adjustmentAmount)
adjustmentAmount - Value for Moneypublic Money getGiftWrapAmount()
public void setGiftWrapAmount(Money giftWrapAmount)
giftWrapAmount - Value for Moneypublic String getTaxPercentage()
public void setTaxPercentage(String taxPercentage)
taxPercentage - Value for Stringpublic List<TaxAmount> getTaxAmounts()
public void setTaxAmounts(List<TaxAmount> taxAmounts)
taxAmounts - Value for List of TaxAmountpublic Money getBasicShippingAmount()
public void setBasicShippingAmount(Money basicShippingAmount)
basicShippingAmount - Value for Moneypublic Money getExtraShippingAmount()
public void setExtraShippingAmount(Money extraShippingAmount)
extraShippingAmount - Value for Moneypublic Money getHandlingAmount()
public void setHandlingAmount(Money handlingAmount)
handlingAmount - Value for Moneypublic Money getInsuranceAmount()
public void setInsuranceAmount(Money insuranceAmount)
insuranceAmount - Value for Moneypublic Money getTotalItemAmount()
public void setTotalItemAmount(Money totalItemAmount)
totalItemAmount - Value for Moneypublic String getInvoiceNumber()
public void setInvoiceNumber(String invoiceNumber)
invoiceNumber - Value for Stringpublic List<CheckoutOption> getCheckoutOptions()
public void setCheckoutOptions(List<CheckoutOption> checkoutOptions)
checkoutOptions - Value for List of CheckoutOptionpublic String toString()
public ItemDetails.Builder toBuilder()
ItemDetails.Builder object.
Creates the instance with the state of the current model.ItemDetails.Builder objectCopyright © 2026. All rights reserved.