Service - Vendor Payment

From Izara Wiki
Revision as of 14:39, 23 January 2026 by Sven the Barbarian (talk | contribs) (Created page with "= Overview = A single vendor payment. = Repository = ... = Object Schemas = ; Additional Information: Per Service Schemas == vendorPayment == <syntaxhighlight lang="JavaScript"> { objectType: "vendorPayment", canDelete: false, belongTo: { serviceTag: "Business", objectType: "business" }, addOnDataStructure: [], storageResources: { myGraph: { storageType: "graph", graphServerTag: "GraphHandler" } }, fieldNames: { vendorPaymentId: {...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

A single vendor payment.

Repository

...

Object Schemas

Additional Information
Per Service Schemas

vendorPayment

{
	objectType: "vendorPayment",
	canDelete: false,
	belongTo: {
		serviceTag: "Business",
		objectType: "business"
	},
	addOnDataStructure: [],
	storageResources: {
		myGraph: {
			storageType: "graph",
			graphServerTag: "GraphHandler"
		}
    },
    fieldNames: {
		vendorPaymentId: {
			type: "string",
			randomOnCreate: true,
			storageResourceTags: ['myGraph']
		},
		amount: {
			type: "numeric",
			storageResourceTags: ['myGraph']
		},
    },
    identifiers: [
		{
			type: "identifier",
			fieldName: "vendorPaymentId"
		}
    ]
}

RelationshipSchemas

paymentToVendor

{
	paymentToVendor: {
		storageResources: {
			myGraph: {
				storageType: "graph",
				graphServerTag: "GraphHandler"			
			}
		},
		links: [
			{
				storageResourceTags: ["myGraph"],
				from: {
					objType: {
						serviceTag: "VendorPayment",
						objectType: "vendorPayment"
					},
					linkType: "many",
				},
				to: {
					objType: {
						serviceTag: "Vendor",
						objectType: "vendor"
					},
					linkType: "one"
				}
			},
		]
	}
}

Working documents

Vendor Payment