Skip to main content
Jump to: navigation, search

Difference between revisions of "Payment vocabulary"

(UML Overview)
(Classes)
 
Line 11: Line 11:
  
 
== Classes ==
 
== Classes ==
=== <code>PaymentMethod</code> ===
+
=== PaymentMethod ===
  
 
Method of payment including credit cards, paypal, etc.
 
Method of payment including credit cards, paypal, etc.
  
=== <code>ByBankTransferInAdvance</code>, <code>Cash</code>, <code>CheckInAdvance</code>, <code>COD</code> ===
+
=== ByBankTransferInAdvance, Cash, CheckInAdvance, COD ===
* subclassOf: <code>PaymentMethod</code>
+
* subclassOf: PaymentMethod
  
=== <code>CreditCard</code> ===
+
=== CreditCard ===
* subclassOf: <code>PaymentMethod</code>
+
* subclassOf: PaymentMethod
*1..1 <code>ccCid</code>
+
*1..1 ccCid
*1..1 <code>ccExpiration</code>
+
*1..1 ccExpiration  
*1..1 <code>ccNumber</code>
+
*1..1 ccNumber
  
===<code>AMEX</code>, <code>DinersClub</code>, <code>Discover</code>, <code>MasterCard</code>, <code>VISA</code>, <code>DirectDebit</code>, <code>PayPal</code>===
+
===AMEX, DinersClub, Discover, MasterCard, <code>VISA, DirectDebit, PayPal===
* subclassOf: <code>CreditCard</code>
+
* subclassOf: CreditCard
  
===<code>DirectDebit</code>===
+
===DirectDebit===
* subclassOf: <code>CreditCard</code>
+
* subclassOf: <code>CreditCard
* 0..1 <code>bankSortCode</code>
+
* 0..1 bankSortCode
* 0..1 <code>bankAccountNumber</code>
+
* 0..1 bankAccountNumber
 +
 
 +
===PurchasedProduct===
 +
* subClassOf: schema:Product
 +
* 0..1 expiration
 +
* 0..1 dateOfPurchase
 +
* 0..1 giftFor
  
 
== Attributes  ==
 
== Attributes  ==

Latest revision as of 17:13, 28 October 2011

{{#eclipseproject:technology.higgins|eclipse_custom_style.css}}
Higgins logo 76Wx100H.jpg

Vocabulary to describe payment methods.

Files

UML Overview

Payment 2.0.104.png

Classes

PaymentMethod

Method of payment including credit cards, paypal, etc.

ByBankTransferInAdvance, Cash, CheckInAdvance, COD

  • subclassOf: PaymentMethod

CreditCard

  • subclassOf: PaymentMethod
  • 1..1 ccCid
  • 1..1 ccExpiration
  • 1..1 ccNumber

AMEX, DinersClub, Discover, MasterCard, VISA, DirectDebit, PayPal

  • subclassOf: CreditCard

DirectDebit

  • subclassOf: <code>CreditCard
  • 0..1 bankSortCode
  • 0..1 bankAccountNumber

PurchasedProduct

  • subClassOf: schema:Product
  • 0..1 expiration
  • 0..1 dateOfPurchase
  • 0..1 giftFor

Attributes

<code>bankSortCode

  • domain: DirectDebit
  • value: xsd:string

bankAccountNumber

  • domain: DirectDebit
  • value: xsd:string

ccCid

  • domain: CreditCard
  • value: xsd:string

ccExpiration

  • domain: CreditCard
  • value: xsd:date

ccNumber

  • domain: CreditCard
  • value: xsd:string

nameOnCard

  • domain: CreditCard
  • value: xsd:string

paymentMethod

  • domain: Person
  • value: PaymentMethod

Links

Back to the top