create

fun create(from: String, data: OfferingData, protocol: String = "1.0"): Offering

Creates a new Offering resource, autopopulating the id, creation/updated time, and resource kind.

Return

Offering instance.

Parameters

from

DID of the PFI.

data

Specific parameters relevant to an Offering.

protocol

version of the tbdex protocol.