PHP Classes

File: doc/samples/config/definition-generator/definition/product.transfer.yml

Recommend this page to a friend!
  Classes of Sergii Pryz   Transfer Object   doc/samples/config/definition-generator/definition/product.transfer.yml   Download  
File: doc/samples/config/definition-generator/definition/product.transfer.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Transfer Object
Generate transfer objects using property hooks
Author: By
Last change: Removed duplicate empty lines at the end of generated definition files
Date: 27 days ago
Size: 1,010 bytes
 

Contents

Class file image Download
# $schema: https://raw.githubusercontent.com/picamator/transfer-object/refs/heads/main/schema/definition.schema.json # Product Product: sku: type: string name: type: string price: type: float currency: type: string stock: type: int isDiscounted: type: bool deliveryOptions: collectionType: DeliveryOptions details: type: Details stores: type: array labels: type: Labels availabilities: collectionType: Availabilities measurementUnit: type: MeasurementUnit # DeliveryOptions DeliveryOptions: name: type: string # Details Details: description: type: string isRegional: type: bool # Labels Labels: sale: type: string # Availabilities Availabilities: total: type: int buffer: type: int # MeasurementUnit MeasurementUnit: palette: type: Palette box: type: Box # Palette Palette: type: type: string items: type: int # Box Box: type: type: string items: type: int