public static class Storefront.ComponentizableCartLine extends AbstractResponse<Storefront.ComponentizableCartLine> implements Storefront.BaseCartLine, Storefront.Node
optimisticData, responseData| Constructor and Description |
|---|
ComponentizableCartLine() |
ComponentizableCartLine(JsonObject fields) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic ComponentizableCartLine()
public ComponentizableCartLine(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
getGraphQlTypeName in interface Storefront.BaseCartLinegetGraphQlTypeName in interface Storefront.NodegetGraphQlTypeName in interface Nodepublic Storefront.Attribute getAttribute()
getAttribute in interface Storefront.BaseCartLinepublic Storefront.ComponentizableCartLine setAttribute(Storefront.Attribute arg)
public java.util.List<Storefront.Attribute> getAttributes()
getAttributes in interface Storefront.BaseCartLinepublic Storefront.ComponentizableCartLine setAttributes(java.util.List<Storefront.Attribute> arg)
public Storefront.CartLineCost getCost()
getCost in interface Storefront.BaseCartLinepublic Storefront.ComponentizableCartLine setCost(Storefront.CartLineCost arg)
public java.util.List<Storefront.CartDiscountAllocation> getDiscountAllocations()
getDiscountAllocations in interface Storefront.BaseCartLinepublic Storefront.ComponentizableCartLine setDiscountAllocations(java.util.List<Storefront.CartDiscountAllocation> arg)
public Storefront.CartLineEstimatedCost getEstimatedCost()
getEstimatedCost in interface Storefront.BaseCartLinepublic Storefront.ComponentizableCartLine setEstimatedCost(Storefront.CartLineEstimatedCost arg)
public ID getId()
getId in interface Storefront.BaseCartLinegetId in interface Storefront.NodegetId in interface Nodepublic java.util.List<Storefront.CartLine> getLineComponents()
public Storefront.ComponentizableCartLine setLineComponents(java.util.List<Storefront.CartLine> arg)
public Storefront.Merchandise getMerchandise()
getMerchandise in interface Storefront.BaseCartLinepublic Storefront.ComponentizableCartLine setMerchandise(Storefront.Merchandise arg)
public java.lang.Integer getQuantity()
getQuantity in interface Storefront.BaseCartLinepublic Storefront.ComponentizableCartLine setQuantity(java.lang.Integer arg)
public Storefront.SellingPlanAllocation getSellingPlanAllocation()
getSellingPlanAllocation in interface Storefront.BaseCartLinepublic Storefront.ComponentizableCartLine setSellingPlanAllocation(Storefront.SellingPlanAllocation arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.ComponentizableCartLine>