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",
"buyer": "resource:org.accordproject.party.Party#Dave",
"seller": "resource:org.accordproject.party.Party#Dan",
"amount": {
"$class": "org.accordproject.money.MonetaryAmount",
"doubleValue": 50,
"currencyCode": "USD"
},
"contractId": "70337ffb-e822-4f38-a4dd-9b7667b03fec",
"$identifier": "70337ffb-e822-4f38-a4dd-9b7667b03fec"
}
namespace org.accordproject.payment.uponsignature
import org.accordproject.contract.* from https://models.accordproject.org/accordproject/contract.cto
import org.accordproject.party.* from https://models.accordproject.org/accordproject/party.cto
import org.accordproject.runtime.* from https://models.accordproject.org/accordproject/runtime.cto
import org.accordproject.obligation.* from https://models.accordproject.org/accordproject/obligation.cto
import org.accordproject.money.MonetaryAmount from https://models.accordproject.org/money@0.2.0.cto
import org.accordproject.signature.ContractSigned from https://models.accordproject.org/signature/signature@0.2.0.cto
import org.accordproject.payment.PaymentReceived from https://models.accordproject.org/payment/payment@0.2.0.cto
asset PaymentUponSignatureState extends State {
o ContractLifecycleStatus status
}
enum ContractLifecycleStatus {
o INITIALIZED
o OBLIGATION_EMITTED
o COMPLETED
}
/**
* The template model
*/
asset PaymentUponSignatureContract extends Contract {
--> Party buyer
--> Party 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.runtime.Response |
|
Type | Sample JSON |
---|---|
concerto.Event |
|
org.accordproject.obligation.PaymentObligation |
|
Please refer to the Accord Project documentation for how to use a template or integrate it within your application.
View the Latest code for this template on GitHub.