Utility.Commercials.V0.Model.Offer
Templates
template CommercialAgreementOffer
An offer to create a commercial agreement for the Utility, including the fee per credential billing.
Signatory: operator
Field
Type
Description
operator
Utility operator.
user
Utility user.
feeReceiver
The party that will receive the fee for using the Utility services.
utilityFees
The fee that the user will pay for using the Utility services.
dso
DSO (Decentralized Synchronizer Operations) party.
Choice Archive
Controller: operator
Returns: ()
(no fields)
Choice CommercialAgreementOffer_Accept
Accepts a commercial agreement offer.
Controller: user
Returns: CommercialAgreementOffer_Accept_Result
(no fields)
Choice CommercialAgreementOffer_Cancel
Cancels a commercial agreement offer.
Controller: operator
Returns: CommercialAgreementOffer_Cancel_Result
(no fields)
Choice CommercialAgreementOffer_Reject
Rejects a commercial agreement offer.
Controller: user
Returns: CommercialAgreementOffer_Reject_Result
Field
Type
Description
reason
Rejection reason.
Data Types
data CommercialAgreementOffer_Accept_Result
Result of accepting a commercial agreement.
CommercialAgreementOffer_Accept_Result
Field
Type
Description
commercialAgreementCid
The commercial agreement.
data CommercialAgreementOffer_Cancel_Result
Result of canceling a commercial agreement offer.
CommercialAgreementOffer_Cancel_Result
(no fields)
data CommercialAgreementOffer_Reject_Result
Result of rejecting a commercial agreement offer.
CommercialAgreementOffer_Reject_Result
Field
Type
Description
reason
The reason for rejection.