""" Options: Date: 2024-11-21 11:36:27 Version: 6.40 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://cip-reporting-staging.chargeitpro.com #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: DuplicateTransactionEditRequest.* #ExcludeTypes: #DefaultImports: datetime,decimal,marshmallow.fields:*,servicestack:*,typing:*,dataclasses:dataclass/field,dataclasses_json:dataclass_json/LetterCase/Undefined/config,enum:Enum/IntEnum #DataClass: #DataClassJson: """ import datetime import decimal from marshmallow.fields import * from servicestack import * from typing import * from dataclasses import dataclass, field from dataclasses_json import dataclass_json, LetterCase, Undefined, config from enum import Enum, IntEnum @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class DuplicateTransactionDetail: object_id: Optional[str] = None created_on: datetime.datetime = datetime.datetime(1, 1, 1) route: Optional[str] = None serial_number: Optional[str] = None transaction_type: Optional[str] = None amount_processed: Optional[Decimal] = None location_name: Optional[str] = None location_id: Optional[str] = None computer_name: Optional[str] = None amex: Optional[Decimal] = None no_amex: Optional[Decimal] = None unique_trans_id_num: Optional[int] = None unique_trans_id: Optional[str] = None transaction_id: Optional[str] = None device_batch_number: Optional[str] = None developer_name: Optional[str] = None device_name: Optional[str] = None version: Optional[str] = None computer_date_time: Optional[datetime.datetime] = None terminal_date_time: Optional[datetime.datetime] = None company_name: Optional[str] = None masked_account: Optional[str] = None approval_number_result: Optional[str] = None merchant_id: Optional[str] = None company_id: Optional[str] = None missing_transactions: bool = False number_missing: int = 0 start_date_filter: Optional[str] = None end_date_filter: Optional[str] = None adjustment_type_id: Optional[str] = None from_log_file: Optional[str] = None result_status: Optional[str] = None mins_term_off_by: Optional[int] = None source: Optional[str] = None duplicate_flag: Optional[str] = None comment: Optional[str] = None dup_created_on: Optional[datetime.datetime] = None dup_created_by: Optional[str] = None dup_count: Optional[int] = None processor_transaction_id: Optional[str] = None transaction_reference: Optional[str] = None billing_name: Optional[str] = None result_message: Optional[str] = None transref_diff: Optional[bool] = None cashier: Optional[str] = None account_card_type: Optional[str] = None # @Route("/Transactions/Duplicate") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class DuplicateTransactionEditRequest: duplicate_trans: Optional[List[DuplicateTransactionDetail]] = None