Loan
A loan, aka a checkout from a license.
type Loan implements Node {
borrowerId: ID!
entityId: ID!
events(
after: String
first: Int
): LoanEventConnection!
expires: DateTime
id: ID!
license: License
notify: URI
status: LoanStatus!
transactionId: ID!
updatedAt: DateTime
}
Fields
Loan.borrowerId ● ID! non-null scalar
The client-supplied borrower identifier.
Loan.entityId ● ID! non-null scalar
The id of the entity which the loan was linked to at creation. Comes from a fulfillment of the license's target.
Loan.events ● LoanEventConnection! non-null object
The list of events that have occurred for this loan that might have changed its status.
Loan.events.after●StringscalarReturns the elements in the list that come after the specified cursor.
Loan.events.first ● Int scalar
Returns the first n elements from the list.
Loan.expires ● DateTime scalar
The date and time at which the loan expires.
Loan.id ● ID! non-null scalar
The unique identifier for that loan. Should be an URI.
Loan.license ● License object
Reference to the parent license.
Loan.notify ● URI scalar
The URI on which the consumer wants to be notified of loan state changes.
Loan.status ● LoanStatus! non-null enum
The current status of the loan.
Loan.transactionId ● ID! non-null scalar
The client-supplied transaction identifier.
Loan.updatedAt ● DateTime scalar
The date and time at which the loan was last modified.
Interfaces
Node interface
An object with an ID.
Returned by
loan query ● loanByTransactionId query
Member of
Activation object ● EndLoanPayload object ● LoanEdge object ● RegisterDeviceInLoanPayload object