'use strict';
import { WorkspaceResource } from '../../meta/core/resources/workspace/workspace-resource.js';
import { notAResource } from '../../meta/decorators/not-a-resource.js';
import { resourceMetaId } from '../../meta/decorators/resource-id.js';
import { resourceIds } from '../../../fd-toolbox/constants/resource-id-constants.js';
import { expandDescription } from '../../meta/decorators/expand-description-properties.js';
import { descriptionProperty } from '../../meta/decorators/description-property.js';
import { orderTransactionProps } from '../orders/order-transaction-props.js';

var __defProp=Object['defineProperty'],__getOwnPropDesc=Object['getOwnPropertyDescriptor'],__name=(_0x35a4a0,_0x58eeda)=>__defProp(_0x35a4a0,'name',{'value':_0x58eeda,'configurable':!![]}),__decorateClass=(_0x275324,_0x4c0c10,_0x2bd45f,_0x2bf0bf)=>{var _0x986a46=_0x2bf0bf>0x9b9+0x2647+0x45d*-0xb?void(-0x1985+-0x1981+0x3306):_0x2bf0bf?__getOwnPropDesc(_0x4c0c10,_0x2bd45f):_0x4c0c10;for(var _0x1dccff=_0x275324['length']-(0x357+0x1679+0x19cf*-0x1),_0x25646f;_0x1dccff>=0x6b7*0x3+-0x1eb6+0x1*0xa91;_0x1dccff--)if(_0x25646f=_0x275324[_0x1dccff])_0x986a46=(_0x2bf0bf?_0x25646f(_0x4c0c10,_0x2bd45f,_0x986a46):_0x25646f(_0x986a46))||_0x986a46;if(_0x2bf0bf&&_0x986a46)__defProp(_0x4c0c10,_0x2bd45f,_0x986a46);return _0x986a46;};let OrderTransaction=class extends WorkspaceResource{['name'];['orderId'];['order'];['paymentTransactionId'];['amount'];};__name(OrderTransaction,'OrderTransaction'),__decorateClass([expandDescription()],OrderTransaction['prototype'],'orderId',0x17*-0x13+0x11af+-0xff8),__decorateClass([notAResource()],OrderTransaction['prototype'],'paymentTransactionId',0x1*0x23dd+-0x1764+-0xc77),OrderTransaction=__decorateClass([descriptionProperty(orderTransactionProps['name']),resourceMetaId(resourceIds['orderTransaction'])],OrderTransaction);

export { OrderTransaction };
