This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
assetCid <- create Asset with .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template Asset | |
with | |
owner : Party | |
amount : Decimal | |
where | |
signatory owner |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template AcceptedQuote | |
with | |
cargoCarrier: Party | |
insuranceCarrier: Party | |
customer: Party | |
cargoInfo: Text | |
quoteDetails: Text | |
where | |
signatory customer | |
observer insuranceCarrier, cargoCarrier |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template InsuranceQuoteRequest | |
with | |
cargoCarrier: Party | |
insuranceCarrier: Party | |
customer: Party | |
cargoInfo: Text | |
where | |
signatory cargoCarrier | |
observer customer, insuranceCarrier | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template CustomerCargo | |
with | |
cargoCarrier: Party | |
customer: Party | |
cargoInfo: Text | |
where | |
signatory cargoCarrier | |
observer customer | |
choice RetrieveInsuranceQuote: ContractId InsuranceQuoteRequest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template CargoCarrierInvitation | |
with | |
cargoCarrier: Party | |
insuranceCarrier: Party | |
where | |
signatory insuranceCarrier | |
observer cargoCarrier | |
choice AcceptInvitation: ContractId CargoCarrierRole | |
controller cargoCarrier |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template Ecosystem | |
with | |
insuranceCarrier: Party | |
where | |
signatory insuranceCarrier | |
choice InviteCargoCarrier: ContractId CargoCarrierInvitation | |
with | |
cargoCarrier: Party | |
controller insuranceCarrier |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template ApprovedTransaction | |
with | |
customer: Party | |
balance: Decimal | |
creditLimit: Decimal | |
company: Party | |
amount: Decimal | |
date: Date | |
authorizationSystem: Party | |
fraudSystem : Party |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template TransactionRequest | |
with | |
customer: Party | |
balance: Decimal | |
creditLimit: Decimal | |
company: Party | |
amount: Decimal | |
date: Date | |
authorizationSystem: Party | |
where |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template EnterprisePlatform | |
with | |
company: Party | |
where | |
signatory company | |
nonconsuming choice CreateCustomerRelationship : ContractId CustomerRelationship | |
with | |
customer: Party | |
balance: Decimal |
NewerOlder