docs: def payment_mode(self, payment_mode):
          """Sets the payment_mode of this CreditCardPayment.
  
  
          :param payment_mode: The payment_mode of this CreditCardPayment.
          :type: str
          """
          allowed_values = ["authorize", "capture"]
          if payment_mode is not None and payment_mode not in allowed_values:
              raise ValueError(
                  "Invalid value for `payment_mode` ({0}), must be one of {1}"
                  .format(payment_mode, allowed_values)
              )
  
          self._payment_mode = payment_mode