W3C home > Mailing lists > Public > public-webpayments@w3.org > October 2011

Re: First Draft of Payment Links spec published

From: Renato Iannella <ri@semanticidentity.com>
Date: Thu, 13 Oct 2011 09:27:43 +1000
Message-Id: <AA83573B-845C-4BB8-9F30-B847D11A6860@semanticidentity.com>
To: Web Payments <public-webpayments@w3.org>

Just as an example, ODRL models the Payment value as an Asset.

We have a Duty (to pay):

       <o:duty uid="d1">
            <o:action name="o:pay"/>
            <o:asset uid="http://example.com/ubl:AUD0.50"/>
        </o:duty>

And then refer to the Asset:

<!-- External Asset -->
<ubl:PriceAmount xml:id="http://example.com/ubl:AUD0.50"
    xmlns:ubl="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
    currencyID="AUD">0.50</ubl:PriceAmount>
<!-- External Asset -->


See full example in section 4.3 of [1]

Cheers...
Renato Iannella
Semantic Identity
http://semanticidentity.com
Mobile: +61 4 1313 2206

[1] http://odrl.net/2.0/WD-ODRL-XML.html
Received on Wednesday, 12 October 2011 23:28:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 12 October 2011 23:28:17 GMT