# coding: utf-8

"""
    splitit-web-api-public-sdk

    No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)  # noqa: E501

    OpenAPI spec version: 1.0.0
    
    Generated by: https://github.com/swagger-api/swagger-codegen.git
"""


import pprint
import re  # noqa: F401

import six


class GetFraudStatusDisplayResponse(object):
    """NOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    """

    """
    Attributes:
      swagger_types (dict): The key is attribute name
                            and the value is attribute type.
      attribute_map (dict): The key is attribute name
                            and the value is json key in definition.
    """
    swagger_types = {
        'response_header': 'ResponseHeader',
        'provider': 'str',
        'full_log': 'str',
        'provider_result_description': 'str',
        'installment_plan_id': 'int',
        'provider_result_code': 'str'
    }

    attribute_map = {
        'response_header': 'ResponseHeader',
        'provider': 'Provider',
        'full_log': 'FullLog',
        'provider_result_description': 'ProviderResultDescription',
        'installment_plan_id': 'InstallmentPlanId',
        'provider_result_code': 'ProviderResultCode'
    }

    def __init__(self, response_header=None, provider=None, full_log=None, provider_result_description=None, installment_plan_id=None, provider_result_code=None):  # noqa: E501
        """GetFraudStatusDisplayResponse - a model defined in Swagger"""  # noqa: E501

        self._response_header = None
        self._provider = None
        self._full_log = None
        self._provider_result_description = None
        self._installment_plan_id = None
        self._provider_result_code = None
        self.discriminator = None

        if response_header is not None:
            self._response_header = response_header
        if provider is not None:
            self._provider = provider
        if full_log is not None:
            self._full_log = full_log
        if provider_result_description is not None:
            self._provider_result_description = provider_result_description
        self._installment_plan_id = installment_plan_id
        if provider_result_code is not None:
            self._provider_result_code = provider_result_code

    @property
    def response_header(self):
        """Gets the response_header of this GetFraudStatusDisplayResponse.  # noqa: E501


        :return: The response_header of this GetFraudStatusDisplayResponse.  # noqa: E501
        :rtype: ResponseHeader
        """
        return self._response_header

    @response_header.setter
    def response_header(self, response_header):
        """Sets the response_header of this GetFraudStatusDisplayResponse.


        :param response_header: The response_header of this GetFraudStatusDisplayResponse.  # noqa: E501
        :type: ResponseHeader
        """

        self._response_header = response_header

    @property
    def provider(self):
        """Gets the provider of this GetFraudStatusDisplayResponse.  # noqa: E501


        :return: The provider of this GetFraudStatusDisplayResponse.  # noqa: E501
        :rtype: str
        """
        return self._provider

    @provider.setter
    def provider(self, provider):
        """Sets the provider of this GetFraudStatusDisplayResponse.


        :param provider: The provider of this GetFraudStatusDisplayResponse.  # noqa: E501
        :type: str
        """

        self._provider = provider

    @property
    def full_log(self):
        """Gets the full_log of this GetFraudStatusDisplayResponse.  # noqa: E501


        :return: The full_log of this GetFraudStatusDisplayResponse.  # noqa: E501
        :rtype: str
        """
        return self._full_log

    @full_log.setter
    def full_log(self, full_log):
        """Sets the full_log of this GetFraudStatusDisplayResponse.


        :param full_log: The full_log of this GetFraudStatusDisplayResponse.  # noqa: E501
        :type: str
        """

        self._full_log = full_log

    @property
    def provider_result_description(self):
        """Gets the provider_result_description of this GetFraudStatusDisplayResponse.  # noqa: E501


        :return: The provider_result_description of this GetFraudStatusDisplayResponse.  # noqa: E501
        :rtype: str
        """
        return self._provider_result_description

    @provider_result_description.setter
    def provider_result_description(self, provider_result_description):
        """Sets the provider_result_description of this GetFraudStatusDisplayResponse.


        :param provider_result_description: The provider_result_description of this GetFraudStatusDisplayResponse.  # noqa: E501
        :type: str
        """

        self._provider_result_description = provider_result_description

    @property
    def installment_plan_id(self):
        """Gets the installment_plan_id of this GetFraudStatusDisplayResponse.  # noqa: E501


        :return: The installment_plan_id of this GetFraudStatusDisplayResponse.  # noqa: E501
        :rtype: int
        """
        return self._installment_plan_id

    @installment_plan_id.setter
    def installment_plan_id(self, installment_plan_id):
        """Sets the installment_plan_id of this GetFraudStatusDisplayResponse.


        :param installment_plan_id: The installment_plan_id of this GetFraudStatusDisplayResponse.  # noqa: E501
        :type: int
        """
        
        if installment_plan_id is None:
            raise ValueError("Invalid value for `installment_plan_id`, must not be `None`")  # noqa: E501

        self._installment_plan_id = installment_plan_id

    @property
    def provider_result_code(self):
        """Gets the provider_result_code of this GetFraudStatusDisplayResponse.  # noqa: E501


        :return: The provider_result_code of this GetFraudStatusDisplayResponse.  # noqa: E501
        :rtype: str
        """
        return self._provider_result_code

    @provider_result_code.setter
    def provider_result_code(self, provider_result_code):
        """Sets the provider_result_code of this GetFraudStatusDisplayResponse.


        :param provider_result_code: The provider_result_code of this GetFraudStatusDisplayResponse.  # noqa: E501
        :type: str
        """

        self._provider_result_code = provider_result_code

    def to_dict(self):
        """Returns the model properties as a dict"""
        result = {}

        for attr, _ in six.iteritems(self.swagger_types):
            value = getattr(self, attr)
            if isinstance(value, list):
                result[attr] = list(map(
                    lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
                    value
                ))
            elif hasattr(value, "to_dict"):
                result[attr] = value.to_dict()
            elif isinstance(value, dict):
                result[attr] = dict(map(
                    lambda item: (item[0], item[1].to_dict())
                    if hasattr(item[1], "to_dict") else item,
                    value.items()
                ))
            else:
                result[attr] = value
        if issubclass(GetFraudStatusDisplayResponse, dict):
            for key, value in self.items():
                result[key] = value

        return result

    def to_str(self):
        """Returns the string representation of the model"""
        return pprint.pformat(self.to_dict())

    def __repr__(self):
        """For `print` and `pprint`"""
        return self.to_str()

    def __eq__(self, other):
        """Returns true if both objects are equal"""
        if not isinstance(other, GetFraudStatusDisplayResponse):
            return False

        return self.__dict__ == other.__dict__

    def __ne__(self, other):
        """Returns true if both objects are not equal"""
        return not self == other
