extra

package
v3.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	// contains filtered or unexported fields
}

Data represents extra pieces information on the receipt. Initialize with NewExtraData or DefaultExtraData

func DefaultExtraData

func DefaultExtraData() (extraData *Data)

DefaultExtraData initialises the ExtraData struct

func NewExtraData

func NewExtraData(extraDataBytes []byte) (*Data, error)

NewExtraData takes a base64 encoded string and parses it into ExtraData

func (Data) AttributeIssuanceDetails

func (e Data) AttributeIssuanceDetails() (issuanceDetails *attribute.IssuanceDetails)

AttributeIssuanceDetails represents the details of attribute(s) to be issued by a third party. Will be nil if not provided by Yoti.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL