#NEWLINE# def all( self ) : #NEWLINE# #INDENT# response = self . config . http ( ) . get ( ( self . config . base_merchant_path ( ) + '/add_ons/' ) ) #NEWLINE# add_ons = { #NEWLINE# #INDENT# 'add_on' : self [ 'add_ons' ] , #NEWLINE# #UNINDENT# } #NEWLINE# return [ AddOn ( self . gateway , item ) for item in ResourceCollection . _extract_as_array ( add_ons , 'add_on' ) ]