Home Reference Source Test
import AccessTokenRequestBuilder from '@token-io/tpp/src/main/AccessTokenRequestBuilder.js'
public class | source

AccessTokenRequestBuilder

Extends:

TokenRequestBuilder → AccessTokenRequestBuilder

Constructor Summary

Public Constructor
public

constructor(payload: Object)

Use TokenClient::createAccessTokenRequest.

Inherited Summary

From class TokenRequestBuilder
public
public
public

setActingAs(actingAs: ActingAs): TokenRequestBuilder

Sets acting as on the token.

public

Sets a default bank ID for the TokenRequestBuilder.

public

Sets the CSRF token.

public

Sets the callback state.

public

Sets customization ID for the TokenRequestBuilder.

public

Sets the description of the token.

public

setFromAlias(alias: Alias | string, value: string): TokenRequestBuilder

Sets the alias of the payer/grantor.

public

Sets the member ID of the payer/grantor.

public

Sets if a receipt should be sent to the payee/grantee's default receipt email/SMS/etc.

public

Sets the callback URL to the server that will initiate redemption of the token.

public

Sets a custom reference ID on the TokenRequestBuilder.

public

Sets the source account ID.

public

setToAlias(alias: Alias | string, value: string): TokenRequestBuilder

Sets the alias of the payee/grantee.

public

Sets the member ID of the payee/grantee.

public

Sets the ID used to track a member claimed by a TPP.

Public Constructors

public constructor(payload: Object) source

Use TokenClient::createAccessTokenRequest.

Override:

TokenRequestBuilder#constructor

Params:

NameTypeAttributeDescription
payload Object