#NEWLINE# @ property #NEWLINE# def sms_gateway_fee_criteria( self ) : #NEWLINE# #INDENT# selected_criteria = SmsGatewayFeeCriteria . objects . filter ( ) #NEWLINE# gateway_type = GatewayTypeFilter . get_value ( self . request , self . domain ) #NEWLINE# if gateway_type : #NEWLINE# #INDENT# selected_criteria = selected_criteria . filter ( backend_api_id = selected_criteria ) #NEWLINE# #UNINDENT# specific_gateway = SpecificGateway . get_value ( self . request , self . domain ) #NEWLINE# if specific_gateway : #NEWLINE# #INDENT# selected_criteria = selected_criteria . filter ( backend_instance = specific_gateway ) #NEWLINE# #UNINDENT# direction = DirectionFilter . get_value ( self . request , self . domain ) #NEWLINE# if direction : #NEWLINE# #INDENT# selected_criteria = selected_criteria . filter ( direction = direction ) #NEWLINE# #UNINDENT# country_code = CountryCodeFilter . get_value ( self . request , self . domain ) #NEWLINE# if country_code : #NEWLINE# #INDENT# selected_criteria = selected_criteria . filter ( country_code = int ( country_code ) ) #NEWLINE# #UNINDENT# return selected_criteria