#NEWLINE# def add_creditcard( self , post , credit_card ) : #NEWLINE# #INDENT# 'add credit card details to the request parameters' #NEWLINE# post [ 'card_num' ] = credit_card . number #NEWLINE# post [ 'card_code' ] = credit_card . verification_value #NEWLINE# post [ 'exp_date' ] = credit_card . expire_date #NEWLINE# post [ 'first_name' ] = credit_card . first_name #NEWLINE# post [ 'last_name' ] = credit_card . last_name