# coding: utf-8

"""
    CyberSource Merged Spec

    All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html

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


from pprint import pformat
from six import iteritems
import re


class ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails(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 = {
        'processor_merchant_id': 'str',
        'merchant_name': 'str',
        'transaction_reference_number': 'str',
        'merchant_reference_number': 'str',
        'nature_of_dispute': 'str',
        'alert_type': 'str',
        'amount': 'str',
        'sign': 'str',
        'action': 'str',
        'card_type': 'str',
        'original_settlement_time': 'datetime',
        'tracking_number': 'str',
        'currency_code': 'str',
        'request_id': 'str',
        'response_due_time': 'datetime',
        'time': 'datetime',
        'action_description': 'str',
        'customer_id': 'str',
        'reason_code': 'str',
        'representment_cp_time': 'datetime',
        'applications': 'str',
        'event_requested_time': 'datetime'
    }

    attribute_map = {
        'processor_merchant_id': 'processorMerchantId',
        'merchant_name': 'merchantName',
        'transaction_reference_number': 'transactionReferenceNumber',
        'merchant_reference_number': 'merchantReferenceNumber',
        'nature_of_dispute': 'natureOfDispute',
        'alert_type': 'alertType',
        'amount': 'amount',
        'sign': 'sign',
        'action': 'action',
        'card_type': 'cardType',
        'original_settlement_time': 'originalSettlementTime',
        'tracking_number': 'trackingNumber',
        'currency_code': 'currencyCode',
        'request_id': 'requestId',
        'response_due_time': 'responseDueTime',
        'time': 'time',
        'action_description': 'actionDescription',
        'customer_id': 'customerId',
        'reason_code': 'reasonCode',
        'representment_cp_time': 'representmentCPTime',
        'applications': 'applications',
        'event_requested_time': 'eventRequestedTime'
    }

    def __init__(self, processor_merchant_id=None, merchant_name=None, transaction_reference_number=None, merchant_reference_number=None, nature_of_dispute=None, alert_type=None, amount=None, sign=None, action=None, card_type=None, original_settlement_time=None, tracking_number=None, currency_code=None, request_id=None, response_due_time=None, time=None, action_description=None, customer_id=None, reason_code=None, representment_cp_time=None, applications=None, event_requested_time=None):
        """
        ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails - a model defined in Swagger
        """

        self._processor_merchant_id = None
        self._merchant_name = None
        self._transaction_reference_number = None
        self._merchant_reference_number = None
        self._nature_of_dispute = None
        self._alert_type = None
        self._amount = None
        self._sign = None
        self._action = None
        self._card_type = None
        self._original_settlement_time = None
        self._tracking_number = None
        self._currency_code = None
        self._request_id = None
        self._response_due_time = None
        self._time = None
        self._action_description = None
        self._customer_id = None
        self._reason_code = None
        self._representment_cp_time = None
        self._applications = None
        self._event_requested_time = None

        if processor_merchant_id is not None:
          self.processor_merchant_id = processor_merchant_id
        if merchant_name is not None:
          self.merchant_name = merchant_name
        if transaction_reference_number is not None:
          self.transaction_reference_number = transaction_reference_number
        if merchant_reference_number is not None:
          self.merchant_reference_number = merchant_reference_number
        if nature_of_dispute is not None:
          self.nature_of_dispute = nature_of_dispute
        if alert_type is not None:
          self.alert_type = alert_type
        if amount is not None:
          self.amount = amount
        if sign is not None:
          self.sign = sign
        if action is not None:
          self.action = action
        if card_type is not None:
          self.card_type = card_type
        if original_settlement_time is not None:
          self.original_settlement_time = original_settlement_time
        if tracking_number is not None:
          self.tracking_number = tracking_number
        if currency_code is not None:
          self.currency_code = currency_code
        if request_id is not None:
          self.request_id = request_id
        if response_due_time is not None:
          self.response_due_time = response_due_time
        if time is not None:
          self.time = time
        if action_description is not None:
          self.action_description = action_description
        if customer_id is not None:
          self.customer_id = customer_id
        if reason_code is not None:
          self.reason_code = reason_code
        if representment_cp_time is not None:
          self.representment_cp_time = representment_cp_time
        if applications is not None:
          self.applications = applications
        if event_requested_time is not None:
          self.event_requested_time = event_requested_time

    @property
    def processor_merchant_id(self):
        """
        Gets the processor_merchant_id of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Processor Merchant Id

        :return: The processor_merchant_id of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :rtype: str
        """
        return self._processor_merchant_id

    @processor_merchant_id.setter
    def processor_merchant_id(self, processor_merchant_id):
        """
        Sets the processor_merchant_id of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Processor Merchant Id

        :param processor_merchant_id: The processor_merchant_id of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :type: str
        """

        self._processor_merchant_id = processor_merchant_id

    @property
    def merchant_name(self):
        """
        Gets the merchant_name of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Merchant Name

        :return: The merchant_name of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :rtype: str
        """
        return self._merchant_name

    @merchant_name.setter
    def merchant_name(self, merchant_name):
        """
        Sets the merchant_name of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Merchant Name

        :param merchant_name: The merchant_name of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :type: str
        """

        self._merchant_name = merchant_name

    @property
    def transaction_reference_number(self):
        """
        Gets the transaction_reference_number of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Transaction Reference Number

        :return: The transaction_reference_number of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :rtype: str
        """
        return self._transaction_reference_number

    @transaction_reference_number.setter
    def transaction_reference_number(self, transaction_reference_number):
        """
        Sets the transaction_reference_number of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Transaction Reference Number

        :param transaction_reference_number: The transaction_reference_number of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :type: str
        """

        self._transaction_reference_number = transaction_reference_number

    @property
    def merchant_reference_number(self):
        """
        Gets the merchant_reference_number of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Merchant Reference Number

        :return: The merchant_reference_number of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :rtype: str
        """
        return self._merchant_reference_number

    @merchant_reference_number.setter
    def merchant_reference_number(self, merchant_reference_number):
        """
        Sets the merchant_reference_number of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Merchant Reference Number

        :param merchant_reference_number: The merchant_reference_number of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :type: str
        """

        self._merchant_reference_number = merchant_reference_number

    @property
    def nature_of_dispute(self):
        """
        Gets the nature_of_dispute of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Nature of Dispute

        :return: The nature_of_dispute of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :rtype: str
        """
        return self._nature_of_dispute

    @nature_of_dispute.setter
    def nature_of_dispute(self, nature_of_dispute):
        """
        Sets the nature_of_dispute of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Nature of Dispute

        :param nature_of_dispute: The nature_of_dispute of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :type: str
        """

        self._nature_of_dispute = nature_of_dispute

    @property
    def alert_type(self):
        """
        Gets the alert_type of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Retrieval Alert Type

        :return: The alert_type of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :rtype: str
        """
        return self._alert_type

    @alert_type.setter
    def alert_type(self, alert_type):
        """
        Sets the alert_type of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Retrieval Alert Type

        :param alert_type: The alert_type of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :type: str
        """

        self._alert_type = alert_type

    @property
    def amount(self):
        """
        Gets the amount of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Retrieval Amount

        :return: The amount of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :rtype: str
        """
        return self._amount

    @amount.setter
    def amount(self, amount):
        """
        Sets the amount of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Retrieval Amount

        :param amount: The amount of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :type: str
        """

        self._amount = amount

    @property
    def sign(self):
        """
        Gets the sign of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Retrieval Sign

        :return: The sign of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :rtype: str
        """
        return self._sign

    @sign.setter
    def sign(self, sign):
        """
        Sets the sign of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Retrieval Sign

        :param sign: The sign of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :type: str
        """

        self._sign = sign

    @property
    def action(self):
        """
        Gets the action of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Retrieval Action

        :return: The action of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :rtype: str
        """
        return self._action

    @action.setter
    def action(self, action):
        """
        Sets the action of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Retrieval Action

        :param action: The action of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :type: str
        """

        self._action = action

    @property
    def card_type(self):
        """
        Gets the card_type of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Card Type

        :return: The card_type of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :rtype: str
        """
        return self._card_type

    @card_type.setter
    def card_type(self, card_type):
        """
        Sets the card_type of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Card Type

        :param card_type: The card_type of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :type: str
        """

        self._card_type = card_type

    @property
    def original_settlement_time(self):
        """
        Gets the original_settlement_time of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Original Settlement Date

        :return: The original_settlement_time of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :rtype: datetime
        """
        return self._original_settlement_time

    @original_settlement_time.setter
    def original_settlement_time(self, original_settlement_time):
        """
        Sets the original_settlement_time of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Original Settlement Date

        :param original_settlement_time: The original_settlement_time of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :type: datetime
        """

        self._original_settlement_time = original_settlement_time

    @property
    def tracking_number(self):
        """
        Gets the tracking_number of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Tracking Number

        :return: The tracking_number of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :rtype: str
        """
        return self._tracking_number

    @tracking_number.setter
    def tracking_number(self, tracking_number):
        """
        Sets the tracking_number of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Tracking Number

        :param tracking_number: The tracking_number of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :type: str
        """

        self._tracking_number = tracking_number

    @property
    def currency_code(self):
        """
        Gets the currency_code of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Valid ISO 4217 ALPHA-3 currency code

        :return: The currency_code of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :rtype: str
        """
        return self._currency_code

    @currency_code.setter
    def currency_code(self, currency_code):
        """
        Sets the currency_code of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Valid ISO 4217 ALPHA-3 currency code

        :param currency_code: The currency_code of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :type: str
        """

        self._currency_code = currency_code

    @property
    def request_id(self):
        """
        Gets the request_id of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Request Id

        :return: The request_id of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :rtype: str
        """
        return self._request_id

    @request_id.setter
    def request_id(self, request_id):
        """
        Sets the request_id of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Request Id

        :param request_id: The request_id of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :type: str
        """

        self._request_id = request_id

    @property
    def response_due_time(self):
        """
        Gets the response_due_time of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Response Due Date

        :return: The response_due_time of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :rtype: datetime
        """
        return self._response_due_time

    @response_due_time.setter
    def response_due_time(self, response_due_time):
        """
        Sets the response_due_time of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Response Due Date

        :param response_due_time: The response_due_time of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :type: datetime
        """

        self._response_due_time = response_due_time

    @property
    def time(self):
        """
        Gets the time of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Retrieval Date

        :return: The time of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :rtype: datetime
        """
        return self._time

    @time.setter
    def time(self, time):
        """
        Sets the time of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Retrieval Date

        :param time: The time of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :type: datetime
        """

        self._time = time

    @property
    def action_description(self):
        """
        Gets the action_description of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Retrieval Action Description

        :return: The action_description of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :rtype: str
        """
        return self._action_description

    @action_description.setter
    def action_description(self, action_description):
        """
        Sets the action_description of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Retrieval Action Description

        :param action_description: The action_description of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :type: str
        """

        self._action_description = action_description

    @property
    def customer_id(self):
        """
        Gets the customer_id of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Customer Id

        :return: The customer_id of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :rtype: str
        """
        return self._customer_id

    @customer_id.setter
    def customer_id(self, customer_id):
        """
        Sets the customer_id of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Customer Id

        :param customer_id: The customer_id of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :type: str
        """

        self._customer_id = customer_id

    @property
    def reason_code(self):
        """
        Gets the reason_code of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Retrieval Reason Code

        :return: The reason_code of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :rtype: str
        """
        return self._reason_code

    @reason_code.setter
    def reason_code(self, reason_code):
        """
        Sets the reason_code of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Retrieval Reason Code

        :param reason_code: The reason_code of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :type: str
        """

        self._reason_code = reason_code

    @property
    def representment_cp_time(self):
        """
        Gets the representment_cp_time of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Representment CP Date

        :return: The representment_cp_time of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :rtype: datetime
        """
        return self._representment_cp_time

    @representment_cp_time.setter
    def representment_cp_time(self, representment_cp_time):
        """
        Sets the representment_cp_time of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Representment CP Date

        :param representment_cp_time: The representment_cp_time of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :type: datetime
        """

        self._representment_cp_time = representment_cp_time

    @property
    def applications(self):
        """
        Gets the applications of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        ICS Request Applications

        :return: The applications of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :rtype: str
        """
        return self._applications

    @applications.setter
    def applications(self, applications):
        """
        Sets the applications of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        ICS Request Applications

        :param applications: The applications of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :type: str
        """

        self._applications = applications

    @property
    def event_requested_time(self):
        """
        Gets the event_requested_time of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Event Request Date

        :return: The event_requested_time of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :rtype: datetime
        """
        return self._event_requested_time

    @event_requested_time.setter
    def event_requested_time(self, event_requested_time):
        """
        Sets the event_requested_time of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        Event Request Date

        :param event_requested_time: The event_requested_time of this ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails.
        :type: datetime
        """

        self._event_requested_time = event_requested_time

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

        for attr, _ in 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

        return result

    def to_str(self):
        """
        Returns the string representation of the model
        """
        return 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, ReportingV3RetrievalDetailsGet200ResponseRetrievalDetails):
            return False

        return self.__dict__ == other.__dict__

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