original_docstring: 
          Sends transaction for capture (same day settlement) based on amount.
          
docstring: Sends transaction for capture (same day settlement) based on amount.
docstring_tokens: Sends transaction for capture ( same day settlement ) based on amount .
code: def capture(self, amount, credit_card=None, billing_info=None, shipping_info=None):
          """
          Sends transaction for capture (same day settlement) based on amount.
          """
          #set up transaction
          self.charge_setup() # considering turning this into a decorator?
  
          #setting transaction data
          super(InnovativeGW, self).set(self.REQUEST_FIELDS['amount'], amount)
          super(InnovativeGW, self).set(self.REQUEST_FIELDS['trans_type'], 'sale')
  
          # validating or building up request
          if not credit_card:
              logger.debug("paython.gateways.innovative_gw.capture()  -- No CreditCard object present. You passed in %s " % (credit_card))
  
              raise MissingDataError('You did not pass a CreditCard object into the auth method')
          else:
              super(InnovativeGW, self).use_credit_card(credit_card)
  
          if billing_info:
              super(InnovativeGW, self).set_billing_info(**billing_info)
  
          if shipping_info:
              super(InnovativeGW, self).set_shipping_info(**shipping_info)
  
          # send transaction to gateway!
          response, response_time = self.request()
          return self.parse(response, response_time)
code_tokens: def capture ( self , amount , credit_card = None , billing_info = None , shipping_info = None ) : self . charge_setup ( ) super ( InnovativeGW , self ) . set ( self . REQUEST_FIELDS [ 'amount' ] , amount ) super ( InnovativeGW , self ) . set ( self . REQUEST_FIELDS [ 'trans_type' ] , 'sale' ) if not credit_card : logger . debug ( "paython.gateways.innovative_gw.capture()  -- No CreditCard object present. You passed in %s " % ( credit_card ) ) raise MissingDataError ( 'You did not pass a CreditCard object into the auth method' ) else : super ( InnovativeGW , self ) . use_credit_card ( credit_card ) if billing_info : super ( InnovativeGW , self ) . set_billing_info ( ** billing_info ) if shipping_info : super ( InnovativeGW , self ) . set_shipping_info ( ** shipping_info ) response , response_time = self . request ( ) return self . parse ( response , response_time )
short_docstring: Sends transaction for capture (same day settlement) based on amount.
short_docstring_tokens: Sends transaction for capture ( same day settlement ) based on amount .
comment: """
          Sends transaction for capture (same day settlement) based on amount.
          """$SEP$#set up transaction$SEP$# considering turning this into a decorator?$SEP$#setting transaction data$SEP$# validating or building up request$SEP$# send transaction to gateway!