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