Service - Customer Payment

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

Overview

A single customer payment.

Repository

...

Object Schemas

Additional Information
Per Service Schemas

customerPayment

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

RelationshipSchemas

madeCustomerPayment

{
	madeCustomerPayment: {
		storageResources: {
			myGraph: {
				storageType: "graph",
				graphServerTag: "GraphHandler"			
			}
		},
		links: [
			{
				storageResourceTags: ["myGraph"],
				from: {
					objType: {
						serviceTag: "Customer",
						objectType: "customer"
					},
					linkType: "one",
				},
				to: {
					objType: {
						serviceTag: "CustomerPayment",
						objectType: "customerPayment"
					},
					linkType: "many"
				}
			},
		]
	}
}

Working documents

Customer Payment