Skip to main content

CheckoutInfo

The status and details of checkouts in a license.

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

Fields

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.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.activeLoans ● LoanConnection! non-null object

The list of currently active checkouts.

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.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.pastLoans ● LoanConnection! non-null object

The list of past checkouts.

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.

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.license ● License! non-null object

Reference to the current license.

Member of

License object