Exemplo n.º 1
0
    def total_money(self, total_money_dict: dict):
        """setter for Sales Transaction Itemization Total Money

        :param total_money_dict: json dict for total money
        :return: None
        """
        self._total_money = None
        if total_money_dict:
            self._total_money = LocationInitialMoneyModel(**total_money_dict)
Exemplo n.º 2
0
    def net_sales_money(self, net_sales_money_dict: dict):
        """setter for Sales Transaction Itemization Net Sales Money

        :param net_sales_money_dict: json dict for net sales money
        :return: None
        """
        self._net_sales_money = None
        if net_sales_money_dict:
            self._net_sales_money = LocationInitialMoneyModel(
                **net_sales_money_dict)
Exemplo n.º 3
0
    def discount_money(self, discount_money_dict: dict):
        """setter for Sales Transaction Discount Money

        :param discount_money_dict: json dict for discount money
        :return: None
        """
        self._discount_money = None
        if discount_money_dict:
            self._discount_money = LocationInitialMoneyModel(
                **discount_money_dict)
Exemplo n.º 4
0
    def gross_sales_money(self, gross_sales_money_dict: dict):
        """setter for Sales Transaction Itemization Gross Sales Money

        :param gross_sales_money_dict: json dict for gross sales money
        :return: None
        """
        self._gross_sales_money = None
        if gross_sales_money_dict:
            self._gross_sales_money = LocationInitialMoneyModel(
                **gross_sales_money_dict)
Exemplo n.º 5
0
    def single_quantity_money(self, single_quantity_money_dict: dict):
        """setter for Sales Transaction Itemization Single Quantity Money

        :param single_quantity_money_dict: json dict for discount money
        :return: None
        """
        self._single_quantity_money = None
        if single_quantity_money_dict:
            self._single_quantity_money = LocationInitialMoneyModel(
                **single_quantity_money_dict)
Exemplo n.º 6
0
    def actual_money(self, json_actual_money: dict):
        """setter for Drawer actual Money

        :param json_actual_money: json dict for actual Money
        :return: None
        """
        if json_actual_money:
            self._actual_money = LocationInitialMoneyModel(**json_actual_money)
        else:
            self._actual_money = None
Exemplo n.º 7
0
    def sales_money(self, json_sales_money: dict):
        """setter for Drawer sales Money

        :param json_sales_money: json dict for sales Money
        :return: None
        """
        if json_sales_money:
            self._sales_money = LocationInitialMoneyModel(**json_sales_money)
        else:
            self._sales_money = None
Exemplo n.º 8
0
    def difference_money(self, json_difference_money: dict):
        """setter for Drawer difference Money

        :param json_difference_money: json dict for difference Money
        :return: None
        """
        if json_difference_money:
            self._difference_money = LocationInitialMoneyModel(
                **json_difference_money)
        else:
            self._difference_money = None
Exemplo n.º 9
0
    def expected_money(self, json_expected_money: dict):
        """setter for Drawer expected Money

        :param json_expected_money: json dict for expected Money
        :return: None
        """
        if json_expected_money:
            self._expected_money = LocationInitialMoneyModel(
                **json_expected_money)
        else:
            self._expected_money = None
Exemplo n.º 10
0
    def paid_in_out_money(self, json_paid_in_out_money: dict):
        """setter for Drawer paid in out Money

        :param json_paid_in_out_money: json dict for paid in out Money
        :return: None
        """
        if json_paid_in_out_money:
            self._paid_in_out_money = LocationInitialMoneyModel(
                **json_paid_in_out_money)
        else:
            self._paid_in_out_money = None
Exemplo n.º 11
0
    def other_refunds_money(self, json_other_refunds_money: dict):
        """setter for Drawer other refunds Money

        :param json_other_refunds_money: json dict for other refunds Money
        :return: None
        """
        if json_other_refunds_money:
            self._other_refunds_money = LocationInitialMoneyModel(
                **json_other_refunds_money)
        else:
            self._other_refunds_money = None