# coding: utf-8

"""
    DUPR Backend APIs

    Internal RESTful APIs to access DUPR ratings, users and provide matches.

    The version of the OpenAPI document: v1.0.0
    Generated by OpenAPI Generator (https://openapi-generator.tech)

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


import unittest

from dupr_backend.models.page_player_payment_response import PagePlayerPaymentResponse

class TestPagePlayerPaymentResponse(unittest.TestCase):
    """PagePlayerPaymentResponse unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional) -> PagePlayerPaymentResponse:
        """Test PagePlayerPaymentResponse
            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 `PagePlayerPaymentResponse`
        """
        model = PagePlayerPaymentResponse()
        if include_optional:
            return PagePlayerPaymentResponse(
                offset = 90,
                limit = 10,
                total = 100,
                hits = [
                    dupr_backend.models.player_payment_response.PlayerPaymentResponse(
                        id = 26518181881, 
                        full_name = 'John Doe', 
                        first_name = 'John', 
                        last_name = 'Doe', 
                        username = 'X AE A-XII', 
                        display_username = True, 
                        short_address = 'Los Angels, CA', 
                        formatted_address = '5800', 
                        latitude = 72.34654645455, 
                        longitude = 19.55151584984, 
                        gender = 'MALE', 
                        age = 55, 
                        hand = 'RIGHT', 
                        image_url = 'https://dupr-dev.s3.amazonaws.com/profile/image.png', 
                        ratings = dupr_backend.models.player_rating_response.PlayerRatingResponse(
                            singles = '4.125', 
                            singles_verified = '4.1', 
                            singles_provisional = True, 
                            singles_reliability_score = 10, 
                            doubles = '2.864', 
                            doubles_verified = '2.75', 
                            doubles_provisional = True, 
                            doubles_reliability_score = 10, 
                            default_rating = 'DOUBLES', 
                            provisional_ratings = dupr_backend.models.provisional_rating.ProvisionalRating(
                                singles_rating = 3.5, 
                                doubles_rating = 3.5, 
                                coach = { id: 12345, metadata: { name: example }}, ), ), 
                        invited = True, 
                        distance = 'Nearby', 
                        enable_privacy = False, 
                        distance_in_miles = 15.4, 
                        is_logged_in_user = True, 
                        partner_status = 'INVITED/CONFIRMED/NOT_CONFIRMED/CANCELLED', 
                        team_status = 'ACTIVE/INACTIVE', 
                        is_player1 = True, 
                        phone = '+14445785789', 
                        email = 'user@exmaple.com', 
                        verified_email = True, 
                        registration_type = 'INVITATION/UNCLAIMED', 
                        registered = True, 
                        dupr_id = '8M2YEL', 
                        event_fee = 8M2YEL, 
                        event_refunded_amount = 8M2YEL, 
                        brackets = [
                            dupr_backend.models.bracket_response.BracketResponse(
                                bracket_id = 4684651981, 
                                league_id = 4684651981, 
                                name = 'Stillwater Pickleball', 
                                custom_code = 'BRACKET123', 
                                duration = ['yyyy-mm-dd','yyyy-mm-dd'], 
                                format = 'SINGLES/DOUBLES', 
                                elimination = 'SINGLE/DOUBLE/DOUBLE_PREVENTED/ROUND_ROBIN', 
                                player_group = 'MEN/WOMEN/MIXED/COED', 
                                rating_bracket = [3.1, 4.5], 
                                age_bracket = [27, 35], 
                                description = dupr_backend.models.league_content_response.LeagueContentResponse(
                                    content_id = 45785789, 
                                    header = '<h1>header</h1>', 
                                    header_type = 'text/html', 
                                    content = '<h1>content</h1>', 
                                    content_type = 'text/html', 
                                    footer = '<h1>footer</h1>', 
                                    footer_type = 'text/html', ), 
                                match_bonus_points = 8, 
                                registration_date = ['yyyy-mm-dd','yyyy-mm-dd'], 
                                score_format = '1', 
                                member_fee = 500, 
                                non_member_fee = 500, 
                                max_team = 500, 
                                wait_list = 500, 
                                status = 'ACTIVE/IN_PROGRESS/COMPLETE/CANCELLED', 
                                score_format_id = 4684651981, 
                                registration_status = 'OPEN/CLOSED', 
                                duration_status = 'IN_PROGRESS/UPCOMING', 
                                registration_details = dupr_backend.models.registration_response.RegistrationResponse(
                                    registration_id = 4684651981, 
                                    player1 = dupr_backend.models.participant.Participant(
                                        id = 26518181881, 
                                        full_name = 'Brian Lara', 
                                        username = 'X AE A-XII', 
                                        display_username = True, 
                                        partner_status = 'NOT_ADDED/CONFIRMED/NOT_CONFIRMED/PAYMENT_DUE', 
                                        status = 'NOT_ADDED/CONFIRMED/NOT_CONFIRMED/PAYMENT_DUE', 
                                        payment_due = '2021-12-01', 
                                        payment_status = 'PENDING/COMPLETE', 
                                        is_registered = False, 
                                        is_wait_listed = True, 
                                        is_c_lub_member = True, 
                                        payment_refunded = True, 
                                        refund_amount = true, 
                                        is_substitute = True, 
                                        substitute = True, 
                                        registered = True, 
                                        wait_listed = True, 
                                        club_member = True, ), 
                                    player2 = dupr_backend.models.participant.Participant(
                                        id = 26518181881, 
                                        full_name = 'Brian Lara', 
                                        username = 'X AE A-XII', 
                                        display_username = True, 
                                        partner_status = 'NOT_ADDED/CONFIRMED/NOT_CONFIRMED/PAYMENT_DUE', 
                                        status = 'NOT_ADDED/CONFIRMED/NOT_CONFIRMED/PAYMENT_DUE', 
                                        payment_due = '2021-12-01', 
                                        payment_status = 'PENDING/COMPLETE', 
                                        is_registered = False, 
                                        is_wait_listed = True, 
                                        is_c_lub_member = True, 
                                        payment_refunded = True, 
                                        refund_amount = true, 
                                        is_substitute = True, 
                                        substitute = True, 
                                        registered = True, 
                                        wait_listed = True, 
                                        club_member = True, ), 
                                    is_participant1 = True, 
                                    is_wait_listed = True, 
                                    event_refunded_amount = true, 
                                    wait_listed = True, 
                                    participant1 = True, ), 
                                league_name = 'Stillwater Pickleball', 
                                league_address = dupr_backend.models.address_response.AddressResponse(
                                    id = 12385789, 
                                    address_line = 'Apartment, Room, PO Box numbers (optional)', 
                                    short_address = 'Center Valley, PA, US', 
                                    formatted_address = '5800', 
                                    latitude = 33.194791, 
                                    longitude = -117.048582, 
                                    place_id = '', 
                                    precision = '', 
                                    status = '', 
                                    types = '', 
                                    create = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), 
                                media_url = 'www.url.com/image.jpg', 
                                total_rounds = 1, 
                                contact_details = [
                                    dupr_backend.models.league_contact_detail_response.LeagueContactDetailResponse(
                                        name = 'Dreamland pickalball', 
                                        email = 'hisenberg@yopmail.com', 
                                        phone = '18022214966', 
                                        address = 'PA 18034, United States', 
                                        type = 'person/club', 
                                        priority = 1, )
                                    ], 
                                is_registered = True, 
                                club_name = 'Stillwater Pickleball', 
                                registered_members = 56, 
                                is_match_seeded = True, 
                                club_id = 45785789, 
                                is_wait_list_full = True, 
                                display_status = 'Draft/Upcoming/Open/Ongoing', 
                                has_confirm_match = False, 
                                has_queue = True, 
                                is_queue_complete = True, 
                                can_show_standings = True, 
                                courts = 5, 
                                registration_date_time = ['yyyy-mm-ddTHH:mm:ss','yyyy-mm-ddTHH:mm:ss'], 
                                duration_date_time = ['yyyy-mm-ddTHH:mm:ss','yyyy-mm-ddTHH:mm:ss'], 
                                time_zone = 'IST', 
                                zone_name = 'IST', 
                                is_player_eligible = True, 
                                draw_impacted = True, 
                                payment_details = dupr_backend.models.payment_details_response.PaymentDetailsResponse(
                                    payment_status = 'ACTIVE', 
                                    is_club_member = True, 
                                    is_wait_listed = True, 
                                    refunded_amount = 10, 
                                    amount_paid = 100, 
                                    payment_capture = True, 
                                    player_status = 'ACTIVE', 
                                    is_registered = True, 
                                    event_fee = 1.337, ), 
                                reg_user_id = 56, 
                                payment_status = 'ACTIVE', 
                                currency_details = dupr_backend.models.currency_details_response.CurrencyDetailsResponse(
                                    currency_code = 'USD', 
                                    currency_symbol = '$', 
                                    currency_name = 'US Dollar', 
                                    min_limit = 100, ), 
                                match_seeded = True, 
                                registered = True, 
                                wait_list_full = True, 
                                queue_complete = True, 
                                player_eligible = True, )
                            ], 
                        is_substitute = True, 
                        substitute = True, )
                    ],
                total_value_relation = 'GREATER_THAN_OR_EQUAL_TO',
                empty = False,
                has_previous = True,
                has_more = False
            )
        else:
            return PagePlayerPaymentResponse(
                offset = 90,
                limit = 10,
                total = 100,
                total_value_relation = 'GREATER_THAN_OR_EQUAL_TO',
                empty = False,
                has_previous = True,
                has_more = False,
        )
        """

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

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