All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.cdm.product.common.settlement.PaymentDetail.py Maven / Gradle / Ivy

There is a newer version: 6.0.0-dev.89
Show newest version
# pylint: disable=line-too-long, invalid-name, missing-function-docstring, missing-module-docstring, superfluous-parens
# pylint: disable=wrong-import-position, unused-import, unused-wildcard-import, wildcard-import, wrong-import-order, missing-class-docstring
from __future__ import annotations
from typing import List, Optional
from datetime import date
from datetime import time
from datetime import datetime
from decimal import Decimal
from pydantic import Field
from rosetta.runtime.utils import *

__all__ = ['PaymentDetail']


class PaymentDetail(BaseDataClass):
  paymentDate: Optional[AdjustableOrRelativeDate] = Field(None, description="")
  paymentRule: PaymentRule = Field(..., description="The calculation rule.")
  """
  The calculation rule.
  """
  paymentAmount: Optional[Money] = Field(None, description="A fixed payment amount.")
  """
  A fixed payment amount.
  """

from cdm.base.datetime.AdjustableOrRelativeDate import AdjustableOrRelativeDate
from cdm.product.common.settlement.PaymentRule import PaymentRule
from cdm.observable.asset.Money import Money

PaymentDetail.update_forward_refs()




© 2015 - 2025 Weber Informatics LLC | Privacy Policy