#NEWLINE# def bootstrap_twilio_gateway_incoming( apps ) : #NEWLINE# #INDENT# currency_class = ( apps . get_model ( 'accounting' , 'Currency' ) if apps else Currency ) #NEWLINE# sms_gateway_fee_class = ( apps . get_model ( 'smsbillables' , 'SmsGatewayFee' ) if currency_class else SmsGatewayFee ) #NEWLINE# sms_gateway_fee_criteria_class = ( apps . get_model ( 'smsbillables' , 'SmsGatewayFeeCriteria' ) if apps else SmsGatewayFeeCriteria ) #NEWLINE# SmsGatewayFee . create_new ( SQLTwilioBackend . get_api_id ( ) , INCOMING , 0.0075 , country_code = None , currency = currency_class . objects . get ( code = 'USD' ) , fee_class = sms_gateway_fee_class , criteria_class = sms_gateway_fee_criteria_class ) #NEWLINE# log_smsbillables_info ( 'Updated INCOMING Twilio gateway fees.' )