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

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


@JsonMap({"promo_code": "PromoCode", "promo_alias_code": "PromoAliasCode"})
class ShipmentPromotionalDiscountInformation(BaseModel):
    """PromotionalDiscountInformation container. This container contains discount information that the customer wants to request each time while placing a shipment.

    :param promo_code: Promotion Code. A discount that is applied to the user.  Required if PromotionalDiscountInformation container is present.
    :type promo_code: str
    :param promo_alias_code: Promotion Alias code  Required if PromotionalDiscountInformation container is present.
    :type promo_alias_code: str
    """

    def __init__(self, promo_code: str, promo_alias_code: str):
        self.promo_code = promo_code
        self.promo_alias_code = promo_alias_code
