public class CartInformation extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CartInformation.Builder
Class to build instances of
CartInformation. |
| Constructor and Description |
|---|
CartInformation()
Default constructor.
|
CartInformation(List<ItemDetails> itemDetails,
Boolean taxInclusive,
String paypalInvoiceId)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<ItemDetails> |
getItemDetails()
Getter for ItemDetails.
|
String |
getPaypalInvoiceId()
Getter for PaypalInvoiceId.
|
Boolean |
getTaxInclusive()
Getter for TaxInclusive.
|
void |
setItemDetails(List<ItemDetails> itemDetails)
Setter for ItemDetails.
|
void |
setPaypalInvoiceId(String paypalInvoiceId)
Setter for PaypalInvoiceId.
|
void |
setTaxInclusive(Boolean taxInclusive)
Setter for TaxInclusive.
|
CartInformation.Builder |
toBuilder()
Builds a new
CartInformation.Builder object. |
String |
toString()
Converts this CartInformation into string format.
|
public CartInformation()
public CartInformation(List<ItemDetails> itemDetails, Boolean taxInclusive, String paypalInvoiceId)
itemDetails - List of ItemDetails value for itemDetails.taxInclusive - Boolean value for taxInclusive.paypalInvoiceId - String value for paypalInvoiceId.public List<ItemDetails> getItemDetails()
public void setItemDetails(List<ItemDetails> itemDetails)
itemDetails - Value for List of ItemDetailspublic Boolean getTaxInclusive()
public void setTaxInclusive(Boolean taxInclusive)
taxInclusive - Value for Booleanpublic String getPaypalInvoiceId()
public void setPaypalInvoiceId(String paypalInvoiceId)
paypalInvoiceId - Value for Stringpublic String toString()
public CartInformation.Builder toBuilder()
CartInformation.Builder object.
Creates the instance with the state of the current model.CartInformation.Builder objectCopyright © 2026. All rights reserved.