""" Options: Date: 2024-12-29 04:06:31 Version: 8.22 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://data.regent-college.edu #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: FinanceAdjustmentRequest.* #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 InvoiceItemBalanceResponse: response_status: Optional[ResponseStatus] = None rate_id: int = 0 rate_code: Optional[str] = None rate_description: Optional[str] = None balance_amount: Decimal = decimal.Decimal(0) charge_amount: Decimal = decimal.Decimal(0) credit_amount: Decimal = decimal.Decimal(0) @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class InvoiceItemAdminResponse: response_status: Optional[ResponseStatus] = None invoice_item_u_u_i_d: Optional[str] = None rate_id: int = 0 rate_code: Optional[str] = None rate_description: Optional[str] = None is_required: bool = False is_optional: bool = False charge: Optional[Decimal] = None credit: Optional[Decimal] = None @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class FinanceAdjustmentResponse: response_status: Optional[ResponseStatus] = None regent_id: int = 0 uuid: Optional[str] = None reporting_term: Optional[str] = None open_fiscal_date: Optional[datetime.datetime] = None invoice_item_balances: Optional[List[InvoiceItemBalanceResponse]] = None available_invoice_items: Optional[List[InvoiceItemAdminResponse]] = None # @Route("/Finance/{uuid}/Adjustment/{reporting_term}", "POST") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class FinanceAdjustmentRequest(IReturn[FinanceAdjustmentResponse]): uuid: Optional[str] = None reporting_term: Optional[str] = None is_financial_aid: bool = False authorizing_uuid: Optional[str] = None