Skip to main content

CheckoutInfo

The status and details of checkouts in a license.

type CheckoutInfo {
activeLoans(
after: String
before: String
first: Int
last: Int
): LoanConnection!
available: Int
left: Int
license: License!
pastLoans(
after: String
before: String
first: Int
last: Int
): LoanConnection!
}

Fields

CheckoutInfo.activeLoans ● LoanConnection! non-null object

The list of currently active checkouts.

CheckoutInfo.activeLoans.after ● String scalar

Returns the elements in the list that come after the specified cursor.

CheckoutInfo.activeLoans.before ● String scalar

Returns the elements in the list that come before the specified cursor.

CheckoutInfo.activeLoans.first ● Int scalar

Returns the first n elements from the list.

CheckoutInfo.activeLoans.last ● Int scalar

Returns the last n elements from the list.

CheckoutInfo.available ● Int scalar

The amount of checkouts that can be done at this point in time. If null, there are no limits on the number of active checkouts. If zero, users will need to wait until checkouts are again available.

CheckoutInfo.left ● Int scalar

The amount of checkouts left on a license. If null, there is a unlimited number of checkouts left. If zero, the license can not be borrowed again.

CheckoutInfo.license ● License! non-null object

Reference to the current license.

CheckoutInfo.pastLoans ● LoanConnection! non-null object

The list of past checkouts.

CheckoutInfo.pastLoans.after ● String scalar

Returns the elements in the list that come after the specified cursor.

CheckoutInfo.pastLoans.before ● String scalar

Returns the elements in the list that come before the specified cursor.

CheckoutInfo.pastLoans.first ● Int scalar

Returns the first n elements from the list.

CheckoutInfo.pastLoans.last ● Int scalar

Returns the last n elements from the list.

Member of

License object