# coding: utf-8

"""
    Coinbase Developer Platform APIs

    The Coinbase Developer Platform APIs - leading the world's transition onchain.

    The version of the OpenAPI document: 2.0.0
    Contact: cdp@coinbase.com
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""  # noqa: E501


import unittest

from cdp.openapi_client.models.create_onramp_session201_response import CreateOnrampSession201Response

class TestCreateOnrampSession201Response(unittest.TestCase):
    """CreateOnrampSession201Response unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> CreateOnrampSession201Response:
        """Test CreateOnrampSession201Response
            include_optional is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # uncomment below to create an instance of `CreateOnrampSession201Response`
        """
        model = CreateOnrampSession201Response()
        if include_optional:
            return CreateOnrampSession201Response(
                session = {"onrampUrl":"https://pay.coinbase.com/buy?sessionToken=abc123F"},
                quote = {"paymentTotal":"100.75","paymentSubtotal":"100.00","paymentCurrency":"USD","purchaseAmount":"100.000000","purchaseCurrency":"USDC","destinationNetwork":"base","fees":[{"type":"FEE_TYPE_EXCHANGE","amount":"0.5","currency":"USD"},{"type":"FEE_TYPE_NETWORK","amount":"0.25","currency":"USD"}],"exchangeRate":"1"}
            )
        else:
            return CreateOnrampSession201Response(
                session = {"onrampUrl":"https://pay.coinbase.com/buy?sessionToken=abc123F"},
        )
        """

    def testCreateOnrampSession201Response(self):
        """Test CreateOnrampSession201Response"""
        # inst_req_only = self.make_instance(include_optional=False)
        # inst_req_and_optional = self.make_instance(include_optional=True)

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