#NEWLINE# def credit( self , amount , credit_card , trans_id = None ) : #NEWLINE# #INDENT# '\n        Credits funds to card info provided\n\n        The optionally submitted `trans_id` overwrites the NEW Credit Transaction.\n        If not submitted one will be generated using a date/time string\n\n        - Credits are not associated with any prior authorization; a new orderID will be associated to each credit submitted.\n        - Credits can issued for any amount & can be used as often as needed.\n        - Use this mode for returning funds on transactions over 6 months old.\n        - Use this mode when returning funds to a different card, then what was originally used by the customer.\n        ' #NEWLINE# super ( PlugnPay , self ) . set ( self . REQUEST_FIELDS [ 'trans_mode' ] , 'newreturn' ) #NEWLINE# super ( PlugnPay , self ) . set ( self . REQUEST_FIELDS [ 'trans_id' ] , trans_id ) #NEWLINE# super ( PlugnPay , self ) . set ( self . REQUEST_FIELDS [ 'amount' ] , amount ) #NEWLINE# super ( PlugnPay , self ) . use_credit_card ( credit_card ) #NEWLINE# ( response , response_time ) = self . request ( ) #NEWLINE# return self . parse ( response , response_time )