@dbbs/strapi-stripe-payment
Version:
Strapi integration plugin for Stripe payment system
54 lines (53 loc) • 1.17 kB
JSON
{
"kind": "collectionType",
"collectionName": "organizations",
"info": {
"singularName": "organization",
"pluralName": "organizations",
"displayName": "Organization"
},
"options": {
"draftAndPublish": false,
"comment": ""
},
"attributes": {
"name": {
"type": "string"
},
"customer_id": {
"type": "string"
},
"payment_method_id": {
"type": "string"
},
"owner_id": {
"type": "string"
},
"users": {
"type": "relation",
"relation": "oneToMany",
"target": "plugin::users-permissions.user"
},
"subscription": {
"type": "relation",
"relation": "oneToOne",
"target": "plugin::stripe-payment.subscription",
"mappedBy": "organization"
},
"purchases": {
"type": "relation",
"relation": "oneToMany",
"target": "plugin::stripe-payment.purchase",
"mappedBy": "organization"
},
"quantity": {
"type": "integer"
},
"transactions": {
"type": "relation",
"relation": "oneToMany",
"target": "plugin::stripe-payment.transaction",
"mappedBy": "organization"
}
}
}