(string)$this->encodePrimaryKey($company_gateway->id), 'gateway_key' => (string)$company_gateway->gateway_key ?: '', 'accepted_credit_cards' => (int)$company_gateway->accepted_credit_cards, 'require_cvv' => (bool)$company_gateway->require_cvv, 'show_address' => (bool)$company_gateway->show_address, 'show_shipping_address' => (bool)$company_gateway->show_shipping_address, 'update_details' => (bool)$company_gateway->update_details, 'config' => (string) $company_gateway->getConfigTransformed(), 'priority_id' => (int)$company_gateway->priority_id, 'min_limit' => (float)$company_gateway->min_limit, 'max_limit' => (float)$company_gateway->max_limit, 'fee_amount' => (float) $company_gateway->fee_amount, 'fee_percent' => (float)$company_gateway->fee_percent ?: '', 'fee_tax_name1' => (string)$company_gateway->fee_tax_name1 ?: '', 'fee_tax_name2' => (string) $company_gateway->fee_tax_name2 ?: '', 'fee_tax_rate1' => (float) $company_gateway->fee_tax_rate1, 'fee_tax_rate2' => (float)$company_gateway->fee_tax_rate2, 'fee_cap' => (float)$company_gateway->fee_cap, 'adjust_fee_percent' => (bool)$company_gateway->adjust_fee_percent, 'updated_at' => $company_gateway->updated_at, 'deleted_at' => $company_gateway->deleted_at, ]; } }