Payment Upon Signature
This is a generic payment clause applicable to any type of contract that requires some payment at the time of signature.
This is a generic payment clause applicable to any type of contract that requires some payment at the time of signature.
This is a generic payment clause applicable to any type of contract that requires some payment at the time of signature.
Upon the signing of this Agreement, "Dave" shall pay 50 USD to "Dan".
Upon the signing of this Agreement, "Dave" shall pay 50 USD to "Dan".
Upon the signing of this Agreement, {{buyer}} shall pay {{amount}} to {{seller}}.
{
"$class": "org.accordproject.payment.uponsignature.PaymentUponSignatureContract",
"contractId": "c773379a-f56d-4a1b-90c9-3016dc7b3b27",
"buyer": {
"$class": "org.accordproject.cicero.contract.AccordParty",
"partyId": "Dave"
},
"seller": {
"$class": "org.accordproject.cicero.contract.AccordParty",
"partyId": "Dan"
},
"amount": {
"$class": "org.accordproject.money.MonetaryAmount",
"doubleValue": 50,
"currencyCode": "USD"
}
}
namespace org.accordproject.payment.uponsignature
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 PaymentUponSignatureState extends AccordContractState {
o ContractLifecycleStatus status
}
enum ContractLifecycleStatus {
o INITIALIZED
o OBLIGATION_EMITTED
o COMPLETED
}
/**
* The template model
*/
asset PaymentUponSignatureContract 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.uponsignature.PaymentUponSignatureState |
|
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.