share

package
v2.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 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 ExtraData

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

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

func DefaultExtraData

func DefaultExtraData() (extraData *ExtraData)

DefaultExtraData initialises the ExtraData struct

func NewExtraData

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

NewExtraData takes a base64 encoded string and parses it into ExtraData

func (ExtraData) AttributeIssuanceDetails

func (e ExtraData) 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