Sets the status of this StoreCreditPayment.


        :param status: The status of this StoreCreditPayment.
        :type: str

def status(self, status):
        """Sets the status of this StoreCreditPayment.


        :param status: The status of this StoreCreditPayment.
        :type: str
        """
        allowed_values = ["pending", "awaitingRetry", "successful", "failed"]
        if status is not None and status not in allowed_values:
            raise ValueError(
                "Invalid value for `status` ({0}), must be one of {1}"
                .format(status, allowed_values)
            )

        self._status = status