- 
                    
                    
- All Implemented Interfaces:
 
public class CartItem.Builder 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description CartItem.BuildersetName(@Nullable() String name)Sets the name of the item in the shopping cart. CartItem.BuildersetQuantity(@Nullable() String quantity)Sets the number of items in the shopping cart. CartItem.BuildersetPrice(@Nullable() String price)Sets the price of the item in the shopping cart. CartItem.BuildersetSku(@Nullable() String sku)Sets the sku of the item in the shopping cart. CartItem.BuildersetProductUrl(@Nullable() String productUrl)Sets the product URL of the item in the shopping cart. CartItem.BuildersetImageUrl(@Nullable() String imageUrl)Sets the image URL of the item in the shopping cart. CartItem.BuildersetTotalDiscountAmount(@Nullable() String totalDiscountAmount)Sets the total discount amount of the item in the shopping cart. CartItembuild()Creates a new CartItem . - 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
setName
@NonNull() CartItem.Builder setName(@Nullable() String name)
Sets the name of the item in the shopping cart.
- Parameters:
 name- the name.
 
- 
                                        
setQuantity
@NonNull() CartItem.Builder setQuantity(@Nullable() String quantity)
Sets the number of items in the shopping cart.
- Parameters:
 quantity- the quantity.
 
- 
                                        
setPrice
@NonNull() CartItem.Builder setPrice(@Nullable() String price)
Sets the price of the item in the shopping cart.
- Parameters:
 price- the price.
 
- 
                                        
setSku
@NonNull() CartItem.Builder setSku(@Nullable() String sku)
Sets the sku of the item in the shopping cart.
- Parameters:
 sku- the sku.
 
- 
                                        
setProductUrl
@NonNull() CartItem.Builder setProductUrl(@Nullable() String productUrl)
Sets the product URL of the item in the shopping cart.
- Parameters:
 productUrl- the product URL.
 
- 
                                        
setImageUrl
@NonNull() CartItem.Builder setImageUrl(@Nullable() String imageUrl)
Sets the image URL of the item in the shopping cart.
- Parameters:
 imageUrl- the image URL.
 
- 
                                        
setTotalDiscountAmount
@NonNull() CartItem.Builder setTotalDiscountAmount(@Nullable() String totalDiscountAmount)
Sets the total discount amount of the item in the shopping cart.
- Parameters:
 totalDiscountAmount- the total discount amount.
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -