Full Payment Upon Signature
This is a one-time full payment clause applicable at the signature of the contract.
This is a one-time full payment clause applicable at the signature of the contract.
This is a one-time full payment clause applicable at the signature of the contract.
Upon the signing of this Agreement, "Dan" shall pay the total purchase price to "Steve" in the amount of 0.01 USD.
Upon the signing of this Agreement, "Dan" shall pay the total purchase price to "Steve" in the amount of 0.01 USD.
Upon the signing of this Agreement, {{buyer}} shall pay the total purchase price to {{seller}} in the amount of {{amount}}.
{
"$class": "org.accordproject.payment.fulluponsignature.FullPaymentUponSignatureContract",
"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"
},
"contractId": "4c2b1849-063a-455e-b411-745b54faf889"
}
namespace org.accordproject.payment.fulluponsignature
import org.accordproject.cicero.contract.* from https://models.accordproject.org/cicero/contract.cto
import org.accordproject.cicero.runtime.* from https://models.accordproject.org/cicero/runtime.cto
import org.accordproject.money.MonetaryAmount from https://models.accordproject.org/money.cto
import org.accordproject.signature.ContractSigned from https://models.accordproject.org/signature/signature.cto
import org.accordproject.payment.PaymentReceived from https://models.accordproject.org/payment/payment.cto
asset FullPaymentUponSignatureState extends AccordContractState {
o ContractLifecycleStatus status
}
enum ContractLifecycleStatus {
o INITIALIZED
o OBLIGATION_EMITTED
o COMPLETED
}
/**
* The template model
*/
asset FullPaymentUponSignatureContract extends AccordContract {
o AccordParty buyer
o AccordParty seller
o MonetaryAmount amount
}
Find the full logic for this template on on GitHub.
Type | Sample JSON |
---|---|
org.accordproject.payment.fulluponsignature.FullPaymentUponSignatureState |
|
Type | Sample JSON |
---|---|
org.accordproject.payment.PaymentReceived |
|
org.accordproject.signature.ContractSigned |
|
Type | Sample JSON |
---|---|
org.accordproject.cicero.runtime.Response |
|
Type | Sample JSON |
---|---|
org.accordproject.base.Event |
|
org.accordproject.cicero.runtime.PaymentObligation |
|
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.