# This file was generated by liblab | https://liblab.com/

from .utils.json_map import JsonMap
from .base import BaseModel


@JsonMap(
    {
        "modifier_type": "ModifierType",
        "modifier_desc": "ModifierDesc",
        "amount": "Amount",
    }
)
class RatedPackageRateModifier(BaseModel):
    """RatedPackageRateModifier

    :param modifier_type: Rate Modifier Type. Example: "ORM". Applies only if SubVersion is 2205 or greater.
    :type modifier_type: str
    :param modifier_desc: Rate Modifier Description. Example: "Origin Modifier". Applies only if SubVersion is 2205 or greater.
    :type modifier_desc: str
    :param amount: Amount. Example: "-1.00","0.25". It contains positive or negative values. Applies only if SubVersion is 2205 or greater.
    :type amount: str
    """

    def __init__(self, modifier_type: str, modifier_desc: str, amount: str):
        self.modifier_type = modifier_type
        self.modifier_desc = modifier_desc
        self.amount = amount
