""" Options: Date: 2024-12-29 04:23:15 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: DropRegistrationsSubmitRequest.* #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 DropRegistrationSubmitRequest: student_section_uuid: Optional[str] = None tuition_refund_amount: Decimal = decimal.Decimal(0) description: Optional[str] = None additional_rate_id: Optional[int] = None additional_rate_amount: Optional[Decimal] = None benefit_rate_id: Optional[int] = None second_benefit_rate_id: Optional[int] = None benefit_charge_amount: Optional[Decimal] = None second_benefit_charge_amount: Optional[Decimal] = None # @Route("/Registration/{uuid}/Drop/{reporting_term}/Submit", "POST") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class DropRegistrationsSubmitRequest(IReturn[ResponseStatus]): transaction_uuid: Optional[str] = None uuid: Optional[str] = None reporting_term: Optional[str] = None registrations: Optional[List[DropRegistrationSubmitRequest]] = None description: Optional[str] = None drop_fee: Optional[Decimal] = None drop_description: Optional[str] = None refund_student_fees: bool = False authorizing_uuid: Optional[str] = None