Full Payment Upon Signature

full-payment-upon-signature@0.9.0 Contract ^0.20.0 64607c6d111269a1389e52b9cb0d5e85111c19bfc7c8312766f10a2815f18879

This is a one-time full payment clause applicable at the signature of the contract.

Download Archive Open in Template Studio

Full Payment Upon Signature

This is a one-time full payment clause applicable at the signature of the contract.

Template Text

Grammar

Upon the signing of this Agreement, {{buyer}} shall pay the total purchase price to {{seller}} in the amount of {{amount}}.

Sample

Upon the signing of this Agreement, "Dan" shall pay the total purchase price to "Steve" in the amount of 0.01 USD.

Sample Data

{
    "$class": "org.accordproject.payment.fulluponsignature.FullPaymentUponSignatureContract",
    "contractId": "e50d55c7-3d92-46dd-9e87-93df29fddffd",
    "buyer": {
        "$class": "org.accordproject.cicero.contract.AccordParty",
        "partyId": "Dan"
    },
    "seller": {
        "$class": "org.accordproject.cicero.contract.AccordParty",
        "partyId": "Steve"
    },
    "amount": {
        "$class": "org.accordproject.money.MonetaryAmount",
        "doubleValue": 0.01,
        "currencyCode": "USD"
    }
}

Template Model

Model Dependencies

Template Logic

Find the full logic for this template on on GitHub.

State Types

Type Sample JSON
org.accordproject.payment.fulluponsignature.FullPaymentUponSignatureState
{
    "$class": "org.accordproject.payment.fulluponsignature.FullPaymentUponSignatureState",
    "status": "OBLIGATION_EMITTED",
    "stateId": "f0070d43-ff3e-11e9-b361-efc0ae54bdd6"
}

Request Types

Type Sample JSON
org.accordproject.payment.PaymentReceived
{
    "$class": "org.accordproject.payment.PaymentReceived",
    "transactionId": "f006e631-ff3e-11e9-b361-efc0ae54bdd6",
    "timestamp": "2019-11-04T15:08:59.155-05:00"
}
org.accordproject.signature.ContractSigned
{
    "$class": "org.accordproject.signature.ContractSigned",
    "contract": "resource:org.accordproject.payment.fulluponsignature.FullPaymentUponSignatureContract#5625",
    "transactionId": "f006e630-ff3e-11e9-b361-efc0ae54bdd6",
    "timestamp": "2019-11-04T15:08:59.155-05:00"
}

Response Types

Type Sample JSON
org.accordproject.cicero.runtime.Response
{
    "$class": "org.accordproject.cicero.runtime.Response",
    "transactionId": "f0070d41-ff3e-11e9-b361-efc0ae54bdd6",
    "timestamp": "2019-11-04T15:08:59.156-05:00"
}

Events Types

Type Sample JSON
org.accordproject.base.Event
{
    "abstract": "this is an abstract type"
}
org.accordproject.cicero.runtime.PaymentObligation
{
    "$class": "org.accordproject.cicero.runtime.PaymentObligation",
    "amount": {
        "$class": "org.accordproject.money.MonetaryAmount",
        "doubleValue": 141.24,
        "currencyCode": "KRW"
    },
    "description": "Non cupidatat.",
    "contract": "resource:org.accordproject.payment.fulluponsignature.FullPaymentUponSignatureContract#0220",
    "promisor": "resource:org.accordproject.cicero.contract.AccordParty#6750",
    "promisee": "resource:org.accordproject.cicero.contract.AccordParty#0355",
    "deadline": "2019-11-04T15:08:59.156-05:00",
    "eventId": "f0070d44-ff3e-11e9-b361-efc0ae54bdd6",
    "timestamp": "2019-11-04T15:08:59.156-05:00"
}

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 GitHub.