(src > payments.php) Inside the autoship_add_general_payment_method function. Type is the QPilot payment method type and this also can be used to filter the payment method data sent to QPilot. Takes the 1. array of current payment method data, the 2. QPilot Method Type, and the 3. WC Token Object.