Przejdź do głównej zawartości

CartLineConnection

Paginated list of cart lines (Relay Connection).

type CartLineConnection {
edges: [CartLineEdge!]!
nodes: [CartLine!]!
pageInfo: PageInfo!
totalCount: Int!
}

Fields

CartLineConnection.edges ● [CartLineEdge!]! non-null object

Edges with the line and its cursor — use for cursor-based pagination.

CartLineConnection.nodes ● [CartLine!]! non-null object

Cart line nodes — convenience shortcut for edges.map(e => e.node).

CartLineConnection.pageInfo ● PageInfo! non-null object

Cursor pagination info (hasNextPage, endCursor, etc.).

CartLineConnection.totalCount ● Int! non-null scalar

Total number of lines in the cart across all pages.

Member Of

Cart object