# coding: utf-8

"""
    Lotus API

    Lotus is an open-core pricing and billing engine. We enable API companies to automate and optimize their custom usage-based pricing for any metric.  # noqa: E501

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

import pprint
import re  # noqa: F401

import six

class CustomerStripeIntegration(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 = {
        'stripe_id': 'str',
        'has_payment_method': 'bool'
    }

    attribute_map = {
        'stripe_id': 'stripe_id',
        'has_payment_method': 'has_payment_method'
    }

    def __init__(self, stripe_id=None, has_payment_method=None):  # noqa: E501
        """CustomerStripeIntegration - a model defined in Swagger"""  # noqa: E501
        self._stripe_id = None
        self._has_payment_method = None
        self.discriminator = None
        self.stripe_id = stripe_id
        self.has_payment_method = has_payment_method

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


        :return: The stripe_id of this CustomerStripeIntegration.  # noqa: E501
        :rtype: str
        """
        return self._stripe_id

    @stripe_id.setter
    def stripe_id(self, stripe_id):
        """Sets the stripe_id of this CustomerStripeIntegration.


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

        self._stripe_id = stripe_id

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


        :return: The has_payment_method of this CustomerStripeIntegration.  # noqa: E501
        :rtype: bool
        """
        return self._has_payment_method

    @has_payment_method.setter
    def has_payment_method(self, has_payment_method):
        """Sets the has_payment_method of this CustomerStripeIntegration.


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

        self._has_payment_method = has_payment_method

    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(CustomerStripeIntegration, 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, CustomerStripeIntegration):
            return False

        return self.__dict__ == other.__dict__

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