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