# coding: utf-8

"""
    VeeRoute Urban Delivery API

    Программный интерфейс продукта Urban Delivery  # noqa: E501

    The version of the OpenAPI document: 2.7.159457
    Contact: support@veeroute.com
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import vrt_ud
from vrt_ud.models.merchandise_line import MerchandiseLine  # noqa: E501
from vrt_ud.rest import ApiException

class TestMerchandiseLine(unittest.TestCase):
    """MerchandiseLine unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test MerchandiseLine
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = vrt_ud.models.merchandise_line.MerchandiseLine()  # noqa: E501
        if include_optional :
            return MerchandiseLine(
                goods_name = 'boxes', 
                goods_unit_name = 'box', 
                goods_unit_price = 500, 
                goods_amount = 2, 
                goods_value = 1000, 
                vat_rate = 'VAT0000', 
                barcode = 'default', 
                fact_time = '2020-10-21T09:30+03:00'
            )
        else :
            return MerchandiseLine(
                goods_name = 'boxes',
                goods_unit_price = 500,
                goods_amount = 2,
                vat_rate = 'VAT0000',
        )

    def testMerchandiseLine(self):
        """Test MerchandiseLine"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


if __name__ == '__main__':
    unittest.main()
