.Net SDK
Tokenio.TokenRequest Class Reference

Classes

class  AccessBuilder
 
class  Builder
 
class  TransferBuilder
 

Public Member Functions

TokenRequestOptions GetTokenRequestOptions ()
 
TokenRequestPayload GetTokenRequestPayload ()
 

Static Public Member Functions

static AccessBuilder AccessTokenRequestBuilder (params TokenRequestPayload.Types.AccessBody.Types.ResourceType[] resources)
 Create a new Builder instance for an access token request. More...
 
static TransferBuilder TransferTokenRequestBuilder (double amount, string currency)
 Create a new Builder instance for an transfer token request. More...
 
static TokenRequest fromProtos (TokenRequestPayload tokenRequestPayload, TokenRequestOptions tokenRequestOptions)
 Creates an instance from TokenRequestPayload and TokenRequestOptions protos. More...
 

Member Function Documentation

◆ AccessTokenRequestBuilder()

static AccessBuilder Tokenio.TokenRequest.AccessTokenRequestBuilder ( params TokenRequestPayload.Types.AccessBody.Types.ResourceType []  resources)
inlinestatic

Create a new Builder instance for an access token request.

Parameters
resourcesaccess token resources
Returns
Builder instance

◆ fromProtos()

static TokenRequest Tokenio.TokenRequest.fromProtos ( TokenRequestPayload  tokenRequestPayload,
TokenRequestOptions  tokenRequestOptions 
)
inlinestatic

Creates an instance from TokenRequestPayload and TokenRequestOptions protos.

Parameters
tokenRequestPayloadTokenRequestPayload
tokenRequestOptionsTokenRequestOptions
Returns

◆ TransferTokenRequestBuilder()

static TransferBuilder Tokenio.TokenRequest.TransferTokenRequestBuilder ( double  amount,
string  currency 
)
inlinestatic

Create a new Builder instance for an transfer token request.

Parameters
amountlifetime amount of the token request
currencycurrency of the token request
Returns
Builder instance

The documentation for this class was generated from the following file: