Simple Late Delivery and Penalty

simplelatedeliveryandpenalty@0.7.1 Contract ^0.13.0 6cb05ba0190a4fef7a2cce098af3fc66eabef010cebe4ef46f6fcdb009c0d06a

A Late Delivery And Penalty clause (simple).

Download Archive Open in Template Studio Open in VSCode Web

A Late Delivery And Penalty (Simple)

A Late Delivery And Penalty clause (simple).

Sample

            Late Delivery and Penalty. In case of delayed delivery of Goods, "Betty Buyer" shall pay to "Steve Seller" a penalty amounting to 10.5% of the total value of the Goods for every 2 days of delay. The total amount of penalty shall not, however, exceed 55% of the total value of the delayed goods. If the delay is more than 15 days, the Buyer is entitled to terminate this Contract.

          

Model Dependencies

Technical Integration

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.

Sample Instance

{
    "$class": "org.accordproject.simplelatedeliveryandpenalty.SimpleLateDeliveryAndPenaltyContract",
    "contractId": "c686b34c-fe9c-4506-9ae8-9dacaece9201",
    "buyer": {
        "$class": "org.accordproject.cicero.contract.AccordParty",
        "partyId": "Betty Buyer"
    },
    "seller": {
        "$class": "org.accordproject.cicero.contract.AccordParty",
        "partyId": "Steve Seller"
    },
    "penaltyDuration": {
        "$class": "org.accordproject.time.Duration",
        "amount": 2,
        "unit": "days"
    },
    "penaltyPercentage": 10.5,
    "capPercentage": 55,
    "maximumDelay": {
        "$class": "org.accordproject.time.Duration",
        "amount": 15,
        "unit": "days"
    }
}

State Types

Type Sample JSON
org.accordproject.cicero.contract.AccordContractState
{
    "$class": "org.accordproject.cicero.contract.AccordContractState",
    "stateId": "31804992-b399-11e9-a415-2f2abeed0243"
}

Request Types

Type Sample JSON
org.accordproject.simplelatedeliveryandpenalty.SimpleLateDeliveryAndPenaltyRequest
{
    "$class": "org.accordproject.simplelatedeliveryandpenalty.SimpleLateDeliveryAndPenaltyRequest",
    "agreedDelivery": "2019-07-31T09:43:35.337-04:00",
    "deliveredAt": "2019-07-31T09:43:35.337-04:00",
    "goodsValue": 101.37,
    "transactionId": "31804990-b399-11e9-a415-2f2abeed0243",
    "timestamp": "2019-07-31T09:43:35.337-04:00"
}

Response Types

Type Sample JSON
org.accordproject.simplelatedeliveryandpenalty.SimpleLateDeliveryAndPenaltyResponse
{
    "$class": "org.accordproject.simplelatedeliveryandpenalty.SimpleLateDeliveryAndPenaltyResponse",
    "penalty": 87.653,
    "buyerMayTerminate": true,
    "transactionId": "31804991-b399-11e9-a415-2f2abeed0243",
    "timestamp": "2019-07-31T09:43:35.337-04:00"
}

Events Types

Type Sample JSON
org.accordproject.cicero.runtime.PaymentObligation
{
    "$class": "org.accordproject.cicero.runtime.PaymentObligation",
    "amount": {
        "$class": "org.accordproject.money.MonetaryAmount",
        "doubleValue": 18.066,
        "currencyCode": "SHP"
    },
    "description": "Ut tempor irure Lorem non.",
    "contract": "resource:org.accordproject.simplelatedeliveryandpenalty.SimpleLateDeliveryAndPenaltyContract#4155",
    "promisor": "resource:org.accordproject.cicero.contract.AccordParty#4440",
    "promisee": "resource:org.accordproject.cicero.contract.AccordParty#9317",
    "deadline": "2019-07-31T09:43:35.338-04:00",
    "eventId": "318070a0-b399-11e9-a415-2f2abeed0243",
    "timestamp": "2019-07-31T09:43:35.338-04:00"
}