Transactable
Transactable. Deprecated, use Record instead
type Transactable implements RelationOnDemandInterface {
created_at: JSONDate
creator: User
creator_id: ID
custom_address(name: String!): CustomAddrress
custom_image(name: String!): [ListingImage]
customizations(id: ID, name: String, user_id: ID): [Customization!]
external_id: ID
id: ID!
is_deleted: Boolean
model(
foreign_property: String = "id"
join_on_property: String
model_name: String
): ListingsCustomization
models(
foreign_property: String!
join_on_property: String!
model_name: [String]
): [ListingsCustomization!]
name: String
property(name: String!): String
property_array(name: String!): [String!]!
related_model(
foreign_property: String = "id"
join_on_property: String
model_schema_name: String
): ListingsCustomization
related_models(
foreign_property: String!
join_on_property: String!
model_schema_name: [String]
): [ListingsCustomization!]
related_user(
foreign_property: String = "id"
join_on_property: String = "user_id"
): User
slug: String!
updated_at: JSONDate
user(
foreign_property: String = "id"
join_on_property: String = "user_id"
): User
}
Fields
created_at (JSONDate)
Timestamp of when the object was created, set automatically by the system
creator (User)
User who created the transactable
creator_id (ID)
Id of the user who created the transactable
custom_address (CustomAddrress)
Address with the given name
-
name(String)
Name of the address property
custom_image (ListingImage)
Image with the given name
-
name(String)
Name of the image property
customizations (Customization)
Customizations attached to the transactable, optionally narrowed by id, model schema name or owner
-
id(ID)
Only the customization with this id
-
name(String)
Only customizations of this model schema
-
user_id(ID)
Only customizations owned by this user
external_id (ID)
Identifier of the object in an external system. Used mainly for import/export,
when a third party service is the source of truth
id (ID)
Unique identifier of the object
is_deleted (Boolean)
Whether the transactable is soft deleted
model (ListingsCustomization)
Returns the related model. Deprecated, use related_model
-
foreign_property(String)
Name of the property of the related object that must equal the value of join_on_property
-
join_on_property(String)
Name of the property of this object whose value is matched against foreign_property
-
model_name(String)
Name of the model schema (table) of the related models
models (ListingsCustomization)
Returns related models. Deprecated, use related_models
-
foreign_property(String)
Name of the property of the related object that must equal the value of join_on_property
-
join_on_property(String)
Name of the property of this object whose value is matched against foreign_property
-
model_name(String)
Name of the model schema (table) of the related models
name (String)
Name of the transactable
property (String)
Value of the property with the given name; e.g. hair_color: property(name: "hair_color")
-
name(String)
Name of the property
property_array (String)
Value of the Array property with the given name
-
name(String)
Name of the property
related_model (ListingsCustomization)
Returns the model whose foreign_property equals the value of join_on_property
of this object (belongs-to relation). Legacy relation, use related_record of Record instead
-
foreign_property(String)
Name of the property of the related object that must equal the value of join_on_property
-
join_on_property(String)
Name of the property of this object whose value is matched against foreign_property
-
model_schema_name(String)
Name of the model schema (table) of the related models
related_models (ListingsCustomization)
Returns models whose foreign_property equals the value of join_on_property of
this object (has-many relation), at most 10000 at once. Legacy relation, use
related_records of Record instead
-
foreign_property(String)
Name of the property of the related object that must equal the value of join_on_property
-
join_on_property(String)
Name of the property of this object whose value is matched against foreign_property
-
model_schema_name(String)
Name of the model schema (table) of the related models
related_user (User)
Returns the user whose foreign_property equals the value of join_on_property
of this object; by default the user whose id is in user_id
-
foreign_property(String)
Name of the user attribute that must equal the value of join_on_property
-
join_on_property(String)
Name of the property of this object holding the user id
slug (String)
URL-friendly identifier of the transactable
updated_at (JSONDate)
Timestamp of when the object was last updated, set automatically by the system
user (User)
Returns the related user. Deprecated, use related_user
-
foreign_property(String)
Name of the user attribute that must equal the value of join_on_property
-
join_on_property(String)
Name of the property of this object holding the user id
Interfaces
RelationOnDemandInterface
Deprecated relations of legacy objects to models and users