code: def tender_id(self, tender_id):
          
  
          if tender_id is None:
              raise ValueError("Invalid value for `tender_id`, must not be `None`")
          if len(tender_id) > 192:
              raise ValueError("Invalid value for `tender_id`, length must be less than `192`")
          if len(tender_id) < 1:
              raise ValueError("Invalid value for `tender_id`, length must be greater than or equal to `1`")
  
          self._tender_id = tender_id
docs: Sets the tender_id of this CreateRefundRequest.
          The ID of the tender to refund.  A [`Transaction`](#type-transaction) has one or more `tenders` (i.e., methods of payment) associated with it, and you refund each tender separately with the Connect API.
  
          :param tender_id: The tender_id of this CreateRefundRequest.
          :type: str