src/Amulen/NpsBundle/Utils/PaymentMethod.php
public static function getOptions()
    {
        $options = [];

        $options[] = [
            'id' => Operation::PRODUCT_VISA,
            'label' => "Visa",
        ];
        $options[] = [
            'id' => Operation::PRODUCT_MASTERCARD,
            'label' => "Mastercard",
        ];
        $options[] = [
            'id' => Operation::PRODUCT_AMERICAN_EXPRESS,
            'label' => "American Express",
        ];
        $options[] = [
            'id' => Operation::PRODUCT_DINERS,
            'label' => "Diners",
        ];


        return $options;
    }
public static function getOptions()
    {
        $options = [];

        $options[] = [
            'id' => Operation::PRODUCT_VISA,
            'label' => "Visa",
        ];
        $options[] = [
            'id' => Operation::PRODUCT_MASTERCARD,
            'label' => "Mastercard",
        ];
        $options[] = [
            'id' => Operation::PRODUCT_AMERICAN_EXPRESS,
            'label' => "American Express",
        ];
        $options[] = [
            'id' => Operation::PRODUCT_DINERS,
            'label' => "Diners",
        ];


        return $options;
    }
public static function getOptions ( ) { $ options = [ ] ; $ options [ ] = [ 'id' => Operation :: PRODUCT_VISA , 'label' => "Visa" , ] ; $ options [ ] = [ 'id' => Operation :: PRODUCT_MASTERCARD , 'label' => "Mastercard" , ] ; $ options [ ] = [ 'id' => Operation :: PRODUCT_AMERICAN_EXPRESS , 'label' => "American Express" , ] ; $ options [ ] = [ 'id' => Operation :: PRODUCT_DINERS , 'label' => "Diners" , ] ; return $ options ; }
Payment options.
@return array
Payment options .