@onzag/itemize / Modules / base/Root/Module/ItemDefinition/PropertyDefinition/sql/payment
Contains the sql and server side specific functions for the payment type
- paymentElastic
- paymentElasticSearch
- paymentSQL
- paymentSQLBtreeIndexable
- paymentSQLElasticIn
- paymentSQLEqual
- paymentSQLHiddenMetadataRow
- paymentSQLIn
- paymentSQLOut
- paymentSQLPreSideEffect
- paymentSQLSSCacheEqual
- paymentSQLSearch
- paymentSQLSelect
- paymentSQLSideEffect
▸ paymentElastic(arg): Object
| Name | Type |
|---|---|
arg |
ISQLArgInfo |
Object
| Name | Type |
|---|---|
properties |
{} |
base/Root/Module/ItemDefinition/PropertyDefinition/sql/payment.ts:42
▸ paymentElasticSearch(arg): Object
Searching for payment values
| Name | Type | Description |
|---|---|---|
arg |
IElasticSearchInfo |
the argument search info |
Object
a boolean on whether it's searched by it or not
base/Root/Module/ItemDefinition/PropertyDefinition/sql/payment.ts:320
▸ paymentSQL(arg): Object
the sql function that setups the fields for the payment element
| Name | Type | Description |
|---|---|---|
arg |
ISQLArgInfo |
the sql argumnent |
Object
a partial row definition
base/Root/Module/ItemDefinition/PropertyDefinition/sql/payment.ts:30
▸ paymentSQLBtreeIndexable(arg): string[]
The btree indexable used in searches
| Name | Type | Description |
|---|---|---|
arg |
ISQLBtreeIndexableInfo |
the arg for the btree indexable options |
string[]
the columns to index
base/Root/Module/ItemDefinition/PropertyDefinition/sql/payment.ts:474
▸ paymentSQLElasticIn(arg): Object
| Name | Type |
|---|---|
arg |
ISQLOutInfo |
Object
base/Root/Module/ItemDefinition/PropertyDefinition/sql/payment.ts:236
▸ paymentSQLEqual(arg): void
How to consider equality with a value
| Name | Type | Description |
|---|---|---|
arg |
ISQLEqualInfo |
the argument to check equality against |
void
base/Root/Module/ItemDefinition/PropertyDefinition/sql/payment.ts:483
paymentSQLHiddenMetadataRow
▸ paymentSQLHiddenMetadataRow(prefix, id): string
The selection for the payment hidden metadata, only truly used by the provider
| Name | Type | Description |
|---|---|---|
prefix |
string |
|
id |
string |
property id |
string
base/Root/Module/ItemDefinition/PropertyDefinition/sql/payment.ts:97
▸ paymentSQLIn(arg): Object
The sql in function for the payment
| Name | Type | Description |
|---|---|---|
arg |
ISQLInInfo |
the sql in info argument |
Object
a partial row
base/Root/Module/ItemDefinition/PropertyDefinition/sql/payment.ts:106
▸ paymentSQLOut(arg): any
The sql out function
| Name | Type | Description |
|---|---|---|
arg |
ISQLOutInfo |
the argument out info |
any
a property definition supported payment type (or null)
base/Root/Module/ItemDefinition/PropertyDefinition/sql/payment.ts:195
▸ paymentSQLPreSideEffect(arg): "Setting up read only metadata is not allowed" | "Modifying read only metadata is not allowed"
Provides a side effect that triggers once a payment status changes, it's created, destroyed or comes into existance, this is the standard type server side effect that occurs when rq does things to it, and this will trigger what is necessary to it
| Name | Type |
|---|---|
arg |
ISQLSideEffectType<IPropertyDefinitionSupportedPaymentType> |
"Setting up read only metadata is not allowed" | "Modifying read only metadata is not allowed"
base/Root/Module/ItemDefinition/PropertyDefinition/sql/payment.ts:600
▸ paymentSQLSSCacheEqual(arg): boolean
How to check equality with a value using the cache
| Name | Type | Description |
|---|---|---|
arg |
ISQLSSCacheEqualInfo |
the argument to check against |
boolean
a boolean
base/Root/Module/ItemDefinition/PropertyDefinition/sql/payment.ts:498
▸ paymentSQLSearch(arg): boolean
Searching for payment values
| Name | Type | Description |
|---|---|---|
arg |
ISQLSearchInfo |
the argument search info |
boolean
a boolean on whether it's searched by it or not
base/Root/Module/ItemDefinition/PropertyDefinition/sql/payment.ts:252
▸ paymentSQLSelect(arg): string[]
The selection for the payment in searches
| Name | Type |
|---|---|
arg |
IArgInfo |
string[]
base/Root/Module/ItemDefinition/PropertyDefinition/sql/payment.ts:80
▸ paymentSQLSideEffect(arg): void
Provides a side effect that triggers once a payment status changes, it's created, destroyed or comes into existance, this is the standard type server side effect that occurs when rq does things to it, and this will trigger what is necessary to it
| Name | Type |
|---|---|
arg |
ISQLSideEffectType<IPropertyDefinitionSupportedPaymentType> |
void
base/Root/Module/ItemDefinition/PropertyDefinition/sql/payment.ts:511