AuthorizationText

data class AuthorizationText(val language: String, val content: String, val contentType: String, val hash: String, val hashAlgorithm: String) : Parcelable

Representation of text of an authorization to be presented to and agreed to by the user when adding a bank account funding source. The AuthorizationText presented must be submitted as part of the completion data on calling SudoVirtualCardsClient.completeFundingSource.

Constructors

Link copied to clipboard
constructor(language: String, content: String, contentType: String, hash: String, hashAlgorithm: String)

Properties

Link copied to clipboard

String The text of the authorization.

Link copied to clipboard

String The content type of the authorization (e.g. text/html, text/plain, ...).

Link copied to clipboard

String Hash of the content.

Link copied to clipboard

String Algorithm used to generate hash of the content. Only SHA-256 is currently used.

Link copied to clipboard

String RFC5646 language tag in which the text is written.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)