OBJECT

Order

Order model

link GraphQL Schema definition

  • type Order {
  • id: String!
  • legacyId: Int!
  • description: String
  • amount: Amount!
  • quantity: Int
  • status: OrderStatus
  • frequency: ContributionFrequency
  • tier: Tier
  • fromAccount: Account
  • toAccount: Account
  • # Transactions for this order ordered by createdAt ASC
  • transactions: [Transaction]!
  • createdAt: DateTime
  • updatedAt: DateTime
  • # WARNING: Total amount donated between collectives, though there will be edge
  • # cases especially when looking on the Order level, as the order id is not used in
  • # calculating this.
  • totalDonations: Amount!
  • paymentMethod: PaymentMethod
  • platformFee: Amount @deprecated( reason: "2020-07-31: Please use platformContributionAmount" )
  • # Platform contribution attached to the Order.
  • platformContributionAmount: Amount
  • taxes: [OrderTax]!
  • # This represents a MemberOf relationship (ie: Collective backed by an Individual)
  • # attached to the Order.
  • membership: MemberOf
  • # The permissions given to current logged in user for this order
  • permissions: OrderPermissions!
  • }