Payment upon delivery
This is a one time payment contract upon acceptance of delivery.
This is a one time payment contract upon acceptance of delivery.
This is a one time payment contract upon acceptance of delivery.
Upon delivery and acceptance, "Michael" shall pay to "Diana" the cost of goods (9.99 USD) and the delivery fee (1.99 USD).
Please refer to the Cicero documentation for details and examples of how to integrate a call to a Cicero template into your application.
View the Latest code for this template on on GitHub.
{
"$class": "org.accordproject.payment.upondelivery.PaymentUponDeliveryContract",
"contractId": "2538e649-4875-4f6d-b1ca-c2cb0777c2ea",
"buyer": {
"$class": "org.accordproject.cicero.contract.AccordParty",
"partyId": "Michael"
},
"seller": {
"$class": "org.accordproject.cicero.contract.AccordParty",
"partyId": "Diana"
},
"costOfGoods": {
"$class": "org.accordproject.money.MonetaryAmount",
"doubleValue": 9.99,
"currencyCode": "USD"
},
"deliveryFee": {
"$class": "org.accordproject.money.MonetaryAmount",
"doubleValue": 1.99,
"currencyCode": "USD"
}
}
Type | Sample JSON |
---|---|
org.accordproject.cicero.contract.AccordContractState |
|
Type | Sample JSON |
---|---|
org.accordproject.payment.upondelivery.DeliveryAcceptedRequest |
|
Type | Sample JSON |
---|---|
org.accordproject.payment.upondelivery.DeliveryAcceptedResponse |
|
Type | Sample JSON |
---|---|
org.accordproject.cicero.runtime.PaymentObligation |
|