mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
feat: integrate Stripe payment to invoices
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { Model } from 'objection';
|
||||
import TenantModel from 'models/TenantModel';
|
||||
|
||||
export class PaymentIntegration extends Model {
|
||||
export class PaymentIntegration extends TenantModel {
|
||||
static get tableName() {
|
||||
return 'payment_integrations';
|
||||
}
|
||||
@@ -12,7 +13,7 @@ export class PaymentIntegration extends Model {
|
||||
static get jsonSchema() {
|
||||
return {
|
||||
type: 'object',
|
||||
required: ['service', 'enable'],
|
||||
required: ['name', 'service', 'enable'],
|
||||
properties: {
|
||||
id: { type: 'integer' },
|
||||
service: { type: 'string' },
|
||||
|
||||
Reference in New Issue
Block a user