Skip to content

Commit

Permalink
Merge pull request #79 from reactioncommerce/payment-schema-update
Browse files Browse the repository at this point in the history
Payment schema update
  • Loading branch information
Aaron Judd committed Jan 23, 2015
2 parents 6241d69 + d7c0e15 commit c8fe44d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/reaction-core/common/schemas/orders.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ ReactionCore.Schemas.PaymentMethod = new SimpleSchema
type: String
status:
type: String
allowedValues: ["created", "approved", "failed", "canceled", "expired", "pending", "voided", "settled"]
mode:
type: String
allowedValues: ["authorize", 'capture','refund','void']
createdAt:
type: Date
optional: true
Expand All @@ -28,6 +30,10 @@ ReactionCore.Schemas.PaymentMethod = new SimpleSchema
amount:
type: Number
decimal: true
transactions:
type: [Object]
optional: true
blackbox: true

ReactionCore.Schemas.Payment = new SimpleSchema
address:
Expand Down

0 comments on commit c8fe44d

Please sign in to comment.