Service - Customer Payment
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"
}
},
]
}
}